Class CacheWeights.SegmentCacheWeigher

  • All Implemented Interfaces:
    org.apache.jackrabbit.guava.common.cache.Weigher<SegmentId,​Segment>
    Enclosing class:
    CacheWeights

    public static class CacheWeights.SegmentCacheWeigher
    extends java.lang.Object
    implements org.apache.jackrabbit.guava.common.cache.Weigher<SegmentId,​Segment>
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int weigh​(@NotNull SegmentId id, @NotNull Segment segment)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SegmentCacheWeigher

        public SegmentCacheWeigher()
    • Method Detail

      • weigh

        public int weigh​(@NotNull
                         @NotNull SegmentId id,
                         @NotNull
                         @NotNull Segment segment)
        Specified by:
        weigh in interface org.apache.jackrabbit.guava.common.cache.Weigher<SegmentId,​Segment>