Class ExtendedIndexFifoGroupsIterator<V>
java.lang.Object
com.j_spaces.core.cache.fifoGroup.ExtendedIndexFifoGroupsIterator<V>
- All Implemented Interfaces:
IFifoGroupIterator<V>,IExtendedIndexIterator<V>,IObjectsList,IScanListIterator<V>
- Direct Known Subclasses:
ExtendedCompoundIndexFifoGroupsIterator
public class ExtendedIndexFifoGroupsIterator<V>
extends Object
implements IFifoGroupIterator<V>, IExtendedIndexIterator<V>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidfinalize()called by GC to free all acquired resources; For protection only - we shouldn't rely on the JVM.protected ObjectgetActualGroupValue(Map.Entry<Object, IStoredList<V>> mapEntry) intif the scan is on a property index, currently supported for extended indexbooleanhasNext()booleanis the entry returned already matched against the searching template currently is true if the underlying scan made by CacheManager::EntriesIterbooleanis the list an iterator or basic list ?booleannext()voidmove to a new SL that represents a new group of same-values- used in fifo group scanningvoidrelease()Release of this SLHolder resourcevoidrelease SLHolder for this scanvoidremove()Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.j_spaces.kernel.list.IScanListIterator
createCopyForAlternatingThread, getAlreadyMatchedIndexPath, hasSize, isExtensionIndex, isMultiListsIterator, noRematchNeeded, size
-
Constructor Details
-
Method Details
-
nextGroup
public void nextGroup()move to a new SL that represents a new group of same-values- used in fifo group scanning- Specified by:
nextGroupin interfaceIFifoGroupIterator<V>
-
hasNext
public boolean hasNext()- Specified by:
hasNextin interfaceIScanListIterator<V>
-
next
- Specified by:
nextin interfaceIScanListIterator<V>
-
release
public void release()Release of this SLHolder resource- See Also:
-
finalize
protected void finalize()called by GC to free all acquired resources; For protection only - we shouldn't rely on the JVM. -
releaseScan
public void releaseScan()release SLHolder for this scan- Specified by:
releaseScanin interfaceIScanListIterator<V>
-
getAlreadyMatchedFixedPropertyIndexPos
public int getAlreadyMatchedFixedPropertyIndexPos()Description copied from interface:IScanListIteratorif the scan is on a property index, currently supported for extended index- Specified by:
getAlreadyMatchedFixedPropertyIndexPosin interfaceIScanListIterator<V>
-
isMultiValueIterator
public boolean isMultiValueIterator() -
remove
public void remove() -
isAlreadyMatched
public boolean isAlreadyMatched()Description copied from interface:IScanListIteratoris the entry returned already matched against the searching template currently is true if the underlying scan made by CacheManager::EntriesIter- Specified by:
isAlreadyMatchedin interfaceIScanListIterator<V>
-
isIterator
public boolean isIterator()Description copied from interface:IObjectsListis the list an iterator or basic list ?- Specified by:
isIteratorin interfaceIObjectsList
-
getActualGroupValue
-