CacheLongKeyLIRS.Config

The cache configuration.


Fields
static long maxMemory
static int nonResidentQueueSize = 3
static int segmentCount
static int stackMoveDistance

nonResidentQueueSize = 3

The number of entries in the non-resident queue, as a factor of the number of all other entries in the map.

maxMemory

The maximum memory to use (1 or larger).

segmentCount

The number of cache segments (must be a power of 2).

stackMoveDistance

How many other item are to be moved to the top of the stack before the current item is moved.