Class BoundedIntrusiveMappingCache<KEY_TYPE,MAPPING_TYPE extends com.illumon.util.datastructures.cache.BoundedIntrusiveMappingCache.Mapping<KEY_TYPE,MAPPING_TYPE>>
java.lang.Object
com.illumon.util.datastructures.cache.BoundedIntrusiveMappingCache<KEY_TYPE,MAPPING_TYPE>
- Direct Known Subclasses:
BoundedIntrusiveMappingCache.ByteImpl
,BoundedIntrusiveMappingCache.CharacterImpl
,BoundedIntrusiveMappingCache.DoubleImpl
,BoundedIntrusiveMappingCache.FifoIntegerImpl
,BoundedIntrusiveMappingCache.FloatImpl
,BoundedIntrusiveMappingCache.IntegerImpl
,BoundedIntrusiveMappingCache.LongImpl
,BoundedIntrusiveMappingCache.ObjectImpl
,BoundedIntrusiveMappingCache.ShortImpl
public abstract class BoundedIntrusiveMappingCache<KEY_TYPE,MAPPING_TYPE extends com.illumon.util.datastructures.cache.BoundedIntrusiveMappingCache.Mapping<KEY_TYPE,MAPPING_TYPE>> extends Object
An LRU mapping cache that relies on an queue of intrusively doubly-linked nodes for keeping track of
eviction policy details.
-
Nested Class Summary
-
Method Summary
Modifier and Type Method Description static String
getCacheDeclarationType(Class<?> keyType, Class<?> valueType)
static String
getCacheInitializer(Class<?> valueType, String maximumCachedMappingsString)