public static class Maps.UnboundedCacheStrategy<K,V> extends Maps.CacheStrategy<K,V>
Maps.CacheStrategy,
Serialized FormCANONICAL, DEFAULT_INITIAL_CAPACITY, DEFAULT_LOAD_FACTOR, NOT_CANONICAL, SOFT, STRONG, WEAK| Constructor and Description |
|---|
UnboundedCacheStrategy()
Constructs an unbounded, non-canonical cache strategy of strongly-
referenced values.
|
UnboundedCacheStrategy(int initialCapacity,
float loadFactor,
Maps.CacheMap.Canonicity canonicity,
Maps.CacheMap.Strength strength)
Constructs an unbounded cache strategy.
|
UnboundedCacheStrategy(Maps.CacheMap.Canonicity canonicity,
Maps.CacheMap.Strength strength)
Constructs an unbounded cache strategy.
|
UnboundedCacheStrategy(Maps.CacheMap.Strength defaultStrength)
Constructs an unbounded, non-canonical cache strategy.
|
createDefaultEntry, createEntry, createEvictedEntry, createSoftEntry, createWeakEntry, entryAccessed, entryAdded, entryChanged, entryEvicted, entryPurged, entryRemoved, getCanonicity, getDefaultStrength, getInitialCapacity, getLoadFactor, mapChanged, mapConstructedpublic UnboundedCacheStrategy()
Maps.CacheStrategy.DEFAULT_INITIAL_CAPACITY and Maps.CacheStrategy.DEFAULT_LOAD_FACTOR,
respectively.public UnboundedCacheStrategy(Maps.CacheMap.Strength defaultStrength)
Maps.CacheStrategy.DEFAULT_INITIAL_CAPACITY
and Maps.CacheStrategy.DEFAULT_LOAD_FACTOR, respectively.defaultStrength - The default strength of value references.public UnboundedCacheStrategy(Maps.CacheMap.Canonicity canonicity, Maps.CacheMap.Strength strength)
Maps.CacheStrategy.DEFAULT_INITIAL_CAPACITY and
Maps.CacheStrategy.DEFAULT_LOAD_FACTOR, respectively.canonicity - Canonicity of this cache.strength - The strength of value references.public UnboundedCacheStrategy(int initialCapacity,
float loadFactor,
Maps.CacheMap.Canonicity canonicity,
Maps.CacheMap.Strength strength)
initialCapacity - The initial capacity (see Maps.CacheStrategy.DEFAULT_INITIAL_CAPACITY).loadFactor - The load factor (see Maps.CacheStrategy.DEFAULT_LOAD_FACTOR).canonicity - Canonicity of this cache.strength - The strength of value references.