Interface GridOffHeapEvictListener


  • public interface GridOffHeapEvictListener
    Callback for whenever entries get evicted from off-heap store.
    • Method Detail

      • onEvict

        void onEvict​(int part,
                     int hash,
                     byte[] keyBytes,
                     byte[] valBytes)
        Eviction callback.
        Parameters:
        part - Entry partition
        hash - Hash.
        keyBytes - Key bytes.
        valBytes - Value bytes.
      • removeEvicted

        boolean removeEvicted()
        Returns:
        True if entry selected for eviction should be immediately removed.