Class BoundedIntrusiveMappingCache<KEY_TYPE,MAPPING_TYPE extends io.deephaven.util.datastructures.cache.BoundedIntrusiveMappingCache.Mapping<KEY_TYPE,MAPPING_TYPE>>
java.lang.Object
io.deephaven.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 io.deephaven.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
Modifier and TypeClassDescriptionstatic class
static class
static class
static class
Mapping cache forObject->int
mappings, with FIFO eviction.static class
static class
Mapping cache forObject->int
mappings, with LRU eviction.static class
static class
static class
static interface
static interface
static interface
static interface
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
getCacheDeclarationType
(Class<?> keyType, Class<?> valueType) static String
getCacheInitializer
(Class<?> valueType, String maximumCachedMappingsString)
-
Method Details
-
getCacheDeclarationType
-
getCacheInitializer
-