Class CacheWeights.StringCacheWeigher

  • All Implemented Interfaces:
    org.apache.jackrabbit.guava.common.cache.Weigher<java.lang.String,​RecordId>
    Enclosing class:
    CacheWeights

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int weigh​(@NotNull java.lang.String key, @NotNull RecordId value)  
      • Methods inherited from class java.lang.Object

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

      • StringCacheWeigher

        public StringCacheWeigher()
    • Method Detail

      • weigh

        public int weigh​(@NotNull
                         @NotNull java.lang.String key,
                         @NotNull
                         @NotNull RecordId value)
        Specified by:
        weigh in interface org.apache.jackrabbit.guava.common.cache.Weigher<java.lang.String,​RecordId>