Class EmpiricalWeigher

  • All Implemented Interfaces:
    org.apache.jackrabbit.guava.common.cache.Weigher<CacheValue,​CacheValue>

    public class EmpiricalWeigher
    extends java.lang.Object
    implements org.apache.jackrabbit.guava.common.cache.Weigher<CacheValue,​CacheValue>
    Determines the weight of object based on the memory taken by them. The memory estimates are based on empirical data and not exact
    • Constructor Detail

      • EmpiricalWeigher

        public EmpiricalWeigher()