public class ChainsSegments extends Object implements IEvictionChain
Constructor and Description |
---|
ChainsSegments() |
ChainsSegments(boolean unsafe,
int evictionThreshold) |
ChainsSegments(boolean unsafe,
int evictionThreshold,
int numOfSegments) |
Modifier and Type | Method and Description |
---|---|
Iterator<EvictableServerEntry> |
evictionCandidates() |
void |
insert(EvictableServerEntry entry) |
boolean |
isEvictable(EvictableServerEntry entry) |
void |
monitor() |
boolean |
remove(EvictableServerEntry entry) |
boolean |
touch(EvictableServerEntry entry) |
public ChainsSegments()
public ChainsSegments(boolean unsafe, int evictionThreshold)
public ChainsSegments(boolean unsafe, int evictionThreshold, int numOfSegments)
public void insert(EvictableServerEntry entry)
insert
in interface IEvictionChain
public boolean remove(EvictableServerEntry entry)
remove
in interface IEvictionChain
public boolean touch(EvictableServerEntry entry)
touch
in interface IEvictionChain
public boolean isEvictable(EvictableServerEntry entry)
isEvictable
in interface IEvictionChain
public Iterator<EvictableServerEntry> evictionCandidates()
evictionCandidates
in interface IEvictionChain
public void monitor()
Copyright © GigaSpaces.