java.lang.Object
org.apache.jackrabbit.oak.segment.CacheWeights.NodeCacheWeigher
- All Implemented Interfaces:
org.apache.jackrabbit.guava.common.cache.Weigher<String,RecordId>
- Enclosing class:
- CacheWeights
public static class CacheWeights.NodeCacheWeigher
extends Object
implements org.apache.jackrabbit.guava.common.cache.Weigher<String,RecordId>
-
Constructor Summary
Constructors
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
NodeCacheWeigher
public NodeCacheWeigher()
-
Method Details
-
weigh
public int weigh(@NotNull
@NotNull String key,
@NotNull
@NotNull RecordId value)
- Specified by:
weigh
in interface org.apache.jackrabbit.guava.common.cache.Weigher<String,RecordId>