Package com.j_spaces.kernel.list
Class ScanUidsIterator
java.lang.Object
com.j_spaces.kernel.list.ScanUidsIterator
- All Implemented Interfaces:
IObjectsList,IScanListIterator<IEntryCacheInfo>
TODO add Javadoc
- Since:
- 14.3
- Version:
- 1.0
- Author:
- Yechiel Fefer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintif the scan is on a property index, currently supported for extended indexbooleanhasNext()booleanhasSize()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()voidrelease SLHolder for this scanvoidremove()voidreuse(IStoredList<IEntryCacheInfo> list) intsize()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, isExtensionIndex, isMultiListsIterator, noRematchNeeded
-
Constructor Details
-
ScanUidsIterator
-
-
Method Details
-
hasNext
public boolean hasNext()- Specified by:
hasNextin interfaceIScanListIterator<IEntryCacheInfo>
-
next
- Specified by:
nextin interfaceIScanListIterator<IEntryCacheInfo>
-
remove
public void remove() -
releaseScan
public void releaseScan()release SLHolder for this scan- Specified by:
releaseScanin interfaceIScanListIterator<IEntryCacheInfo>
-
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
-
reuse
-
hasSize
public boolean hasSize()- Specified by:
hasSizein interfaceIScanListIterator<IEntryCacheInfo>- Returns:
- true if the iterator knows its size, and size() can be called.
-
size
public int size()- Specified by:
sizein interfaceIScanListIterator<IEntryCacheInfo>
-