Interface IEvictionReplicationsMarkersRepository

All Known Implementing Classes:
EvictionReplicationsMarkersRepository

public interface IEvictionReplicationsMarkersRepository
repository for replication markers - used in order to prevent eviction of entries that did not reach the async replication target yet (currently mirror)
Since:
9.1
Author:
Yechiel Feffer
  • Method Details

    • insert

      void insert(String uid, IMarker marker, boolean alreadyLocked)
    • isEntryEvictable

      boolean isEntryEvictable(String uid, boolean alreadyLocked)
    • getLockObject

      Object getLockObject(String uid)
    • releaseLockObject

      void releaseLockObject(Object lockObject)
    • getMarker

      IMarker getMarker(String uid)
      Gets the marker associated to this uid, null of none exists.
    • reapUnused

      int reapUnused()
      reap markers reached
      Returns:
      # of reaped markers
    • size

      int size()
      # of uids inside.