public static class CacheLongKeyLIRS.Config extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
long |
maxMemory
The maximum memory to use (1 or larger).
|
int |
nonResidentQueueSize
The number of entries in the non-resident queue, as a factor of the
number of all other entries in the map.
|
int |
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.
|
| 构造器和说明 |
|---|
Config() |
public long maxMemory
public int segmentCount
public int stackMoveDistance
public int nonResidentQueueSize
Copyright © 2017. All rights reserved.