Interface GridOffHeapEvictListener
-
public interface GridOffHeapEvictListenerCallback for whenever entries get evicted from off-heap store.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonEvict(int part, int hash, byte[] keyBytes, byte[] valBytes)Eviction callback.booleanremoveEvicted()
-
-
-
Method Detail
-
onEvict
void onEvict(int part, int hash, byte[] keyBytes, byte[] valBytes)Eviction callback.- Parameters:
part- Entry partitionhash- Hash.keyBytes- Key bytes.valBytes- Value bytes.
-
removeEvicted
boolean removeEvicted()
- Returns:
Trueif entry selected for eviction should be immediately removed.
-
-