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 Summary
Modifier and TypeMethodDescriptiongetLockObject(String uid) Gets the marker associated to this uid, null of none exists.voidbooleanisEntryEvictable(String uid, boolean alreadyLocked) intreap markers reachedvoidreleaseLockObject(Object lockObject) intsize()# of uids inside.
-
Method Details
-
insert
-
isEntryEvictable
-
getLockObject
-
releaseLockObject
-
getMarker
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.
-