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 IEvictionChainpublic boolean remove(EvictableServerEntry entry)
remove in interface IEvictionChainpublic boolean touch(EvictableServerEntry entry)
touch in interface IEvictionChainpublic boolean isEvictable(EvictableServerEntry entry)
isEvictable in interface IEvictionChainpublic Iterator<EvictableServerEntry> evictionCandidates()
evictionCandidates in interface IEvictionChainpublic void monitor()
Copyright © GigaSpaces.