public class ChainSegment extends Object implements IEvictionChain
Constructor and Description |
---|
ChainSegment(boolean unsafe,
int segment) |
ChainSegment(int segment) |
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 ChainSegment(int segment)
public ChainSegment(boolean unsafe, int segment)
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.