- Type Parameters:
K
- The type of the key
V
- The type of the value
- All Implemented Interfaces:
- org.infinispan.commons.util.concurrent.jdk8backported.EntrySizeCalculator<K,InternalCacheEntry<K,V>>
public class CacheEntrySizeCalculator<K,V>
extends org.infinispan.commons.util.concurrent.jdk8backported.AbstractEntrySizeCalculatorHelper<K,InternalCacheEntry<K,V>>
Implementation of a size calculator that calcultes only the size of the value assuming it is an InternalCacheEntry.
This delegates the calculation of the key and the value contained within the InternalCacheEntry to the provided
SizeCalculator.
- Since:
- 8.0
- Author:
- William Burns