Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.infinispan.commons.util.concurrent.jdk8backported;

Parameters:
<K> The key type for this entry size calculator
<V> The value type for this entry size calculator
 
 public interface EntrySizeCalculator<K, V> {
   
Method used to calculate how much memory in size the key and value use.

Parameters:
key The key for this entry to be used in size calculation
value The value for this entry to be used in size calculation
Returns:
The size approximately in memory the key and value use
   long calculateSize(K key, V value);
New to GrepCode? Check out our FAQ X