Package org.h2.mvstore.cache
Class CacheLongKeyLIRS.Config
java.lang.Object
org.h2.mvstore.cache.CacheLongKeyLIRS.Config
- Enclosing class:
CacheLongKeyLIRS<V>
The cache configuration.
-
Field Summary
FieldsModifier and TypeFieldDescriptionlong
The maximum memory to use (1 or larger).final int
Low water mark for the number of entries in the non-resident queue, as a factor of the number of all other entries in the map.final int
High watermark for the number of entries in the non-resident queue, as a factor of the number of all other entries in the mapint
The number of cache segments (must be a power of 2).int
How many other item are to be moved to the top of the stack before the current item is moved. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
maxMemory
public long maxMemoryThe maximum memory to use (1 or larger). -
segmentCount
public int segmentCountThe number of cache segments (must be a power of 2). -
stackMoveDistance
public int stackMoveDistanceHow many other item are to be moved to the top of the stack before the current item is moved. -
nonResidentQueueSize
public final int nonResidentQueueSizeLow water mark for the number of entries in the non-resident queue, as a factor of the number of all other entries in the map.- See Also:
-
nonResidentQueueSizeHigh
public final int nonResidentQueueSizeHighHigh watermark for the number of entries in the non-resident queue, as a factor of the number of all other entries in the map- See Also:
-
-
Constructor Details
-
Config
public Config()
-