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.
  • Method Details

    • getCacheDeclarationType

      public static String getCacheDeclarationType​(Class<?> keyType, Class<?> valueType)
    • getCacheInitializer

      public static String getCacheInitializer​(Class<?> valueType, String maximumCachedMappingsString)