Class FifoGroupsScanByGeneralIndexIterator
java.lang.Object
com.j_spaces.core.cache.fifoGroup.FifoGroupsScanByGeneralIndexIterator
- All Implemented Interfaces:
IFifoGroupIterator<IEntryCacheInfo>,IObjectsList,IScanListIterator<IEntryCacheInfo>
public class FifoGroupsScanByGeneralIndexIterator
extends Object
implements IFifoGroupIterator<IEntryCacheInfo>
TODO add Javadoc
- Since:
- 9.0
- Version:
- 1.0
- Author:
- Yechiel Fefer
-
Constructor Summary
ConstructorsConstructorDescriptionFifoGroupsScanByGeneralIndexIterator(TypeDataIndex<Object> f_g_index, IStoredList<IEntryCacheInfo> entries) FifoGroupsScanByGeneralIndexIterator(TypeDataIndex<Object> f_g_index, IStoredList<IEntryCacheInfo> entries, Object onlyGroupValue) -
Method Summary
Modifier and TypeMethodDescriptionintif 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 ?next()voidmove to next group-valuevoidrelease SLHolder for this scanvoidremove()Methods inherited from class java.lang.Object
clone, equals, finalize, 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
-
FifoGroupsScanByGeneralIndexIterator
public FifoGroupsScanByGeneralIndexIterator(TypeDataIndex<Object> f_g_index, IStoredList<IEntryCacheInfo> entries) -
FifoGroupsScanByGeneralIndexIterator
public FifoGroupsScanByGeneralIndexIterator(TypeDataIndex<Object> f_g_index, IStoredList<IEntryCacheInfo> entries, Object onlyGroupValue)
-
-
Method Details
-
hasNext
- Specified by:
hasNextin interfaceIScanListIterator<IEntryCacheInfo>- Throws:
SAException
-
next
- Specified by:
nextin interfaceIScanListIterator<IEntryCacheInfo>- Throws:
SAException
-
nextGroup
move to next group-value- Specified by:
nextGroupin interfaceIFifoGroupIterator<IEntryCacheInfo>- Throws:
SAException
-
remove
public void remove() -
releaseScan
release SLHolder for this scan- Specified by:
releaseScanin interfaceIScanListIterator<IEntryCacheInfo>- Throws:
SAException
-
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<IEntryCacheInfo>
-
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<IEntryCacheInfo>
-
isIterator
public boolean isIterator()Description copied from interface:IObjectsListis the list an iterator or basic list ?- Specified by:
isIteratorin interfaceIObjectsList
-