Package org.apache.jackrabbit.oak.cache
Class EmpiricalWeigher
java.lang.Object
org.apache.jackrabbit.oak.cache.EmpiricalWeigher
- All Implemented Interfaces:
org.apache.jackrabbit.guava.common.cache.Weigher<CacheValue,CacheValue>
@Deprecated(since="2022-12-01")
public class EmpiricalWeigher
extends Object
implements org.apache.jackrabbit.guava.common.cache.Weigher<CacheValue,CacheValue>
Deprecated.
The Jackrabbit Oak Cache library is designed for Oak-internal use only and thus deprecated. It will not be part of the AEM SDK after April 2023.
Determines the weight of object based on the memory taken by them. The memory estimates
are based on empirical data and not exact
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
EmpiricalWeigher
public EmpiricalWeigher()Deprecated.
-
-
Method Details
-
weigh
Deprecated.- Specified by:
weighin interfaceorg.apache.jackrabbit.guava.common.cache.Weigher<CacheValue,CacheValue>
-