public class ExtendedIndexFifoGroupsIterator<V> extends Object implements IFifoGroupIterator<V>, IExtendedIndexIterator<V>
Constructor and Description |
---|
ExtendedIndexFifoGroupsIterator(NavigableMap mapToScan,
TypeDataIndex idx) |
Modifier and Type | Method and Description |
---|---|
protected void |
finalize()
called by GC to free all acquired resources; For protection only - we shouldn't rely on the
JVM.
|
protected Object |
getActualGroupValue(Map.Entry<Object,IStoredList<V>> mapEntry) |
int |
getAlreadyMatchedFixedPropertyIndexPos()
if the scan is on a property index, currently supported for extended index
|
boolean |
hasNext() |
boolean |
isAlreadyMatched()
is the entry returned already matched against the searching template currently is true if the
underlying scan made by CacheManager::EntriesIter
|
boolean |
isIterator()
is the list an iterator or basic list ?
|
boolean |
isMultiValueIterator() |
V |
next() |
void |
nextGroup()
move to a new SL that represents a new group of same-values- used in fifo group scanning
|
void |
release()
Release of this SLHolder resource
|
void |
releaseScan()
release SLHolder for this scan
|
void |
remove() |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createCopyForAlternatingThread, getAlreadyMatchedIndexPath, hasSize, isExtensionIndex, isMultiListsIterator, size
public ExtendedIndexFifoGroupsIterator(NavigableMap mapToScan, TypeDataIndex idx)
public void nextGroup()
nextGroup
in interface IFifoGroupIterator<V>
public boolean hasNext()
hasNext
in interface IScanListIterator<V>
public V next()
next
in interface IScanListIterator<V>
public void release()
Resource.release()
protected void finalize()
finalize
in class Object
which should be called when scan has ended prematurely.
public void releaseScan()
releaseScan
in interface IScanListIterator<V>
public int getAlreadyMatchedFixedPropertyIndexPos()
IScanListIterator
getAlreadyMatchedFixedPropertyIndexPos
in interface IScanListIterator<V>
public boolean isMultiValueIterator()
public void remove()
public boolean isAlreadyMatched()
IScanListIterator
isAlreadyMatched
in interface IScanListIterator<V>
public boolean isIterator()
IObjectsList
isIterator
in interface IObjectsList
protected Object getActualGroupValue(Map.Entry<Object,IStoredList<V>> mapEntry)
Copyright © GigaSpaces.