public class EvictionReplicationsMarkersRepository extends Object implements IEvictionReplicationsMarkersRepository
| Modifier and Type | Class and Description |
|---|---|
static class |
EvictionReplicationsMarkersRepository.EvictionReplicationsMarkersSegment |
| Modifier and Type | Field and Description |
|---|---|
static int |
NUM_OF_IMARKERS_REPOSITORY_SEGMENTS |
| Constructor and Description |
|---|
EvictionReplicationsMarkersRepository() |
| Modifier and Type | Method and Description |
|---|---|
Object |
getLockObject(String uid) |
IMarker |
getMarker(String uid)
Gets the marker associated to this uid, null of none exists.
|
void |
insert(String uid,
IMarker marker,
boolean alreadyLocked) |
boolean |
isEntryEvictable(String uid,
boolean alreadyLocked) |
int |
reapUnused()
reap unsed (i.e.
|
void |
releaseLockObject(Object lockObject) |
int |
size()
# of uids inside.
|
public static final int NUM_OF_IMARKERS_REPOSITORY_SEGMENTS
public EvictionReplicationsMarkersRepository()
public void insert(String uid, IMarker marker, boolean alreadyLocked)
insert in interface IEvictionReplicationsMarkersRepositorypublic boolean isEntryEvictable(String uid, boolean alreadyLocked)
isEntryEvictable in interface IEvictionReplicationsMarkersRepositorypublic Object getLockObject(String uid)
getLockObject in interface IEvictionReplicationsMarkersRepositorypublic void releaseLockObject(Object lockObject)
releaseLockObject in interface IEvictionReplicationsMarkersRepositorypublic int reapUnused()
reapUnused in interface IEvictionReplicationsMarkersRepositorypublic IMarker getMarker(String uid)
IEvictionReplicationsMarkersRepositorygetMarker in interface IEvictionReplicationsMarkersRepositorypublic int size()
IEvictionReplicationsMarkersRepositorysize in interface IEvictionReplicationsMarkersRepositoryCopyright © GigaSpaces.