Class CacheWeights.OneWeigher<K,​V>

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

    public static class CacheWeights.OneWeigher<K,​V>
    extends java.lang.Object
    implements org.apache.jackrabbit.guava.common.cache.Weigher<K,​V>
    • Constructor Summary

      Constructors 
      Constructor Description
      OneWeigher()  
    • Method Summary

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

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

      • OneWeigher

        public OneWeigher()
    • Method Detail

      • weigh

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