public class StoredListChainSegment<T> extends Object
Modifier and Type | Method and Description |
---|---|
IObjectInfo<T> |
add(T subject)
store an element
|
boolean |
establishIterScanPos(com.j_spaces.kernel.list.ConcurrentSegmentedStoredList.SegmentedListIterator<T> iter) |
IObjectInfo<T> |
getHead()
Returns the first element in the list (fifo)
|
T |
getObjectFromHead()
Returns the value of the first element in the list (fifo)
|
boolean |
iterNext(com.j_spaces.kernel.list.ConcurrentSegmentedStoredList.SegmentedListIterator<T> iter) |
void |
monitor() |
void |
remove(IObjectInfo<T> oi)
Remove an element described by ObjectInfo.
|
boolean |
removeByObject(T obj)
given an object scan the list, find it and remove it, returns true if found
|
void |
removeUnlocked(IObjectInfo<T> oi)
Remove an element described by ObjectInfo, while the SL is unlocked.
|
public IObjectInfo<T> getHead()
public T getObjectFromHead()
public void remove(IObjectInfo<T> oi)
oi
- an existing element between Head and Tailpublic void removeUnlocked(IObjectInfo<T> oi)
oi
- an existing element between Head and Tailpublic boolean removeByObject(T obj)
public IObjectInfo<T> add(T subject)
public void monitor()
public boolean establishIterScanPos(com.j_spaces.kernel.list.ConcurrentSegmentedStoredList.SegmentedListIterator<T> iter)
public boolean iterNext(com.j_spaces.kernel.list.ConcurrentSegmentedStoredList.SegmentedListIterator<T> iter)
Copyright © GigaSpaces.