K
- The key type for this entry size calculatorV
- The value type for this entry size calculator@FunctionalInterface public interface EntrySizeCalculator<K,V>
Modifier and Type | Method and Description |
---|---|
long |
calculateSize(K key,
V value)
Method used to calculate how much memory in size the key and value use.
|
long calculateSize(K key, V value)
key
- The key for this entry to be used in size calculationvalue
- The value for this entry to be used in size calculationCopyright © 2017 JBoss, a division of Red Hat. All rights reserved.