| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CacheLIRS.Builder<K,V> |
averageWeight(int averageWeight) |
CacheLIRS<K,V> |
build() |
CacheLIRS<K,V> |
build(<any> cacheLoader) |
CacheLIRS.Builder<K,V> |
evictionCallback(CacheLIRS.EvictionCallback<K,V> evicted) |
CacheLIRS.Builder<K,V> |
maximumSize(long maxSize) |
CacheLIRS.Builder<K,V> |
maximumWeight(long maxWeight) |
CacheLIRS.Builder<K,V> |
module(java.lang.String module) |
CacheLIRS.Builder<K,V> |
recordStats() |
CacheLIRS.Builder<K,V> |
segmentCount(int segmentCount) |
CacheLIRS.Builder<K,V> |
stackMoveDistance(int stackMoveDistance) |
CacheLIRS.Builder<K,V> |
weigher(<any> weigher) |
public CacheLIRS.Builder<K,V> recordStats()
public CacheLIRS.Builder<K,V> module(java.lang.String module)
public CacheLIRS.Builder<K,V> weigher(<any> weigher)
public CacheLIRS.Builder<K,V> maximumWeight(long maxWeight)
public CacheLIRS.Builder<K,V> averageWeight(int averageWeight)
public CacheLIRS.Builder<K,V> maximumSize(long maxSize)
public CacheLIRS.Builder<K,V> segmentCount(int segmentCount)
public CacheLIRS.Builder<K,V> stackMoveDistance(int stackMoveDistance)
public CacheLIRS.Builder<K,V> evictionCallback(CacheLIRS.EvictionCallback<K,V> evicted)
"Copyright © 2010 - 2018 Adobe Systems Incorporated. All Rights Reserved"