public class ConcurrentSegmentedStoredList<T> extends ConcurrentStoredList<T>
Constructor and Description |
---|
ConcurrentSegmentedStoredList(boolean supportFifoPerSegment,
int inputNumOfSegments,
boolean padded) |
Modifier and Type | Method and Description |
---|---|
protected void |
decrementSize() |
protected int |
getNumSegments()
get the number of segments in this SL
|
protected StoredListChainSegment<T> |
getSegment(int seg) |
protected int |
incremenetAndGetSize() |
protected void |
incrementSize() |
boolean |
invalidate()
Sets an indication that this StoredList is invalid.
|
int |
size()
Returns the amount of elements in the StoredList.
|
protected boolean |
supportsInvalidation() |
add, addUnlocked, contains, dump, establishListScan, freeSLHolder, getHashCode, getHead, getKey, getObjectFromHead, getValue, isEmpty, isIterator, isMultiObjectCollection, isNativeHashEntry, monitor, next, optimizeScanForSingleObject, remove, removeByObject, removeUnlocked
public ConcurrentSegmentedStoredList(boolean supportFifoPerSegment, int inputNumOfSegments, boolean padded)
public int size()
ICollection
size
in interface ICollection<T>
size
in class ConcurrentStoredList<T>
ICollection.isEmpty()
protected int getNumSegments()
getNumSegments
in class ConcurrentStoredList<T>
protected StoredListChainSegment<T> getSegment(int seg)
getSegment
in class ConcurrentStoredList<T>
protected int incremenetAndGetSize()
incremenetAndGetSize
in class ConcurrentStoredList<T>
protected void incrementSize()
incrementSize
in class ConcurrentStoredList<T>
protected void decrementSize()
decrementSize
in class ConcurrentStoredList<T>
public boolean invalidate()
ConcurrentStoredList
invalidate
in interface IStoredList<T>
invalidate
in class ConcurrentStoredList<T>
true
if StoredList was set to invalid; false
otherwise.protected boolean supportsInvalidation()
supportsInvalidation
in class ConcurrentStoredList<T>
Copyright © GigaSpaces.