Class EntryWrapper<K,​V>

    • Constructor Detail

      • EntryWrapper

        public EntryWrapper​(Cache<K,​V> cache,
                            CacheEntry<K,​V> entry)
        Creates a new entry wrapper given the cache and entry. If the entry is itself an EntryWrapper then the inner entry is instead wrapped to prevent double cache.put operations. Also we then we can use the cache given as this could have different flags etc.
        Parameters:
        cache - the cache to use on setValue
        entry - the actual entry