Uses of Class
org.apache.jackrabbit.oak.cache.CacheLIRS.Builder
-
Packages that use CacheLIRS.Builder Package Description org.apache.jackrabbit.oak.cache For Oak internal use only. -
-
Uses of CacheLIRS.Builder in org.apache.jackrabbit.oak.cache
Methods in org.apache.jackrabbit.oak.cache that return CacheLIRS.Builder Modifier and Type Method Description CacheLIRS.Builder<K,V>
CacheLIRS.Builder. averageWeight(int averageWeight)
Set the average weight of an entry.CacheLIRS.Builder<K,V>
CacheLIRS.Builder. evictionCallback(CacheLIRS.EvictionCallback<K,V> evicted)
CacheLIRS.Builder<K,V>
CacheLIRS.Builder. maximumSize(long maxSize)
Set the maximum size (in number of entries).CacheLIRS.Builder<K,V>
CacheLIRS.Builder. maximumWeight(long maxWeight)
Set the total maximum weight.CacheLIRS.Builder<K,V>
CacheLIRS.Builder. module(java.lang.String module)
static <K,V>
CacheLIRS.Builder<K,V>CacheLIRS. newBuilder()
Create a builder.CacheLIRS.Builder<K,V>
CacheLIRS.Builder. recordStats()
CacheLIRS.Builder<K,V>
CacheLIRS.Builder. segmentCount(int segmentCount)
CacheLIRS.Builder<K,V>
CacheLIRS.Builder. stackMoveDistance(int stackMoveDistance)
How many other item are to be moved to the top of the stack before the current item is moved.CacheLIRS.Builder<K,V>
CacheLIRS.Builder. weigher(org.apache.jackrabbit.guava.common.cache.Weigher<K,V> weigher)
Set the weigher which is used if memory usage of an entry is not explicitly set (when adding entries).
-