Interface HybridCacheEntry<V>

  • All Superinterfaces:
    CacheEntry

    public interface HybridCacheEntry<V>
    extends CacheEntry
    Represents a single hybrid cache entry. The entry can avoid being cached, see dropMe() for details.
    Author:
    Jakub Podlesak (jakub.podlesak at oracle.com)
    • Method Detail

      • getValue

        V getValue()
        Getter for this cache entry internal value.
        Returns:
        Internal value.
      • dropMe

        boolean dropMe()
        Tell the cache if this entry should be dropped as opposed to being kept in the cache.
        Returns:
        true if the entry should not be cached.