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 IEvictionReplicationsMarkersRepository
public boolean isEntryEvictable(String uid, boolean alreadyLocked)
isEntryEvictable
in interface IEvictionReplicationsMarkersRepository
public Object getLockObject(String uid)
getLockObject
in interface IEvictionReplicationsMarkersRepository
public void releaseLockObject(Object lockObject)
releaseLockObject
in interface IEvictionReplicationsMarkersRepository
public int reapUnused()
reapUnused
in interface IEvictionReplicationsMarkersRepository
public IMarker getMarker(String uid)
IEvictionReplicationsMarkersRepository
getMarker
in interface IEvictionReplicationsMarkersRepository
public int size()
IEvictionReplicationsMarkersRepository
size
in interface IEvictionReplicationsMarkersRepository
Copyright © GigaSpaces.