Class CacheLongKeyLIRS.Config
- java.lang.Object
-
- org.dizitart.no2.mvstore.compat.v1.mvstore.cache.CacheLongKeyLIRS.Config
-
- Enclosing class:
- CacheLongKeyLIRS<V>
public static class CacheLongKeyLIRS.Config extends Object
The cache configuration.
-
-
Field Summary
Fields Modifier and Type Field Description long
maxMemory
The maximum memory to use (1 or larger).int
nonResidentQueueSize
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.int
nonResidentQueueSizeHigh
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
segmentCount
The number of cache segments (must be a power of 2).int
stackMoveDistance
How many other item are to be moved to the top of the stack before the current item is moved.
-
Constructor Summary
Constructors Constructor Description Config()
-
-
-
Field Detail
-
maxMemory
public long maxMemory
The maximum memory to use (1 or larger).
-
segmentCount
public int segmentCount
The number of cache segments (must be a power of 2).
-
stackMoveDistance
public int stackMoveDistance
How many other item are to be moved to the top of the stack before the current item is moved.
-
nonResidentQueueSize
public final int nonResidentQueueSize
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.- See Also:
- Constant Field Values
-
nonResidentQueueSizeHigh
public final int nonResidentQueueSizeHigh
High 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:
- Constant Field Values
-
-