public interface IStoredList<T> extends ICollection<T>, IHashEntry<Object,IStoredList<T>>, IObjectsList
| Modifier and Type | Method and Description | 
|---|---|
IObjectInfo<T> | 
addUnlocked(T subject)
Store an element in the list, while the SL is unlocked . 
 | 
void | 
dump(Logger logger,
    String msg)
Dump list content, used for Debug. 
 | 
void | 
freeSLHolder(IStoredListIterator<T> slh)
Called by an outside scan that wants to quit the scan and return the slholder to the resource
 pool. 
 | 
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 | 
invalidate()
Sets an indication that this StoredList is invalid. 
 | 
boolean | 
optimizeScanForSingleObject()
return true if we can save iterator creation and get a single entry 
 | 
void | 
remove(IObjectInfo<T> oi)
Remove an element described by ObjectInfo. 
 | 
void | 
removeUnlocked(IObjectInfo<T> oi)
Remove an element described by ObjectInfo, while the SL is unlocked. 
 | 
add, contains, establishListScan, isEmpty, isMultiObjectCollection, next, removeByObject, sizegetHashCode, getKey, getValue, isNativeHashEntryisIteratorIObjectInfo<T> getHead()
T getObjectFromHead()
boolean optimizeScanForSingleObject()
void freeSLHolder(IStoredListIterator<T> slh)
slh - Holder resource to return to pool; can be null.void remove(IObjectInfo<T> oi)
oi - an existing element between Tail and Headvoid removeUnlocked(IObjectInfo<T> oi)
oi - an existing element between Tail and HeadIObjectInfo<T> addUnlocked(T subject)
subject - element to store.null if
 StoredList has been invalidated.boolean invalidate()
true if StoredList was set to invalid; false otherwise.Copyright © GigaSpaces.