public class BlobStorePreFetchIteratorBasedHandler extends Object implements IScanListIterator<IEntryCacheInfo>
Constructor and Description |
---|
BlobStorePreFetchIteratorBasedHandler(Context mainThreadContext,
CacheManager cacheManager,
IScanListIterator<IEntryCacheInfo> mainIterator,
ITemplateHolder template,
int numEntriesRequested,
org.slf4j.Logger logger) |
Modifier and Type | Method and Description |
---|---|
static IScanListIterator<IEntryCacheInfo> |
createPreFetchIterIfRelevant(Context context,
CacheManager cacheManager,
IScanListIterator<IEntryCacheInfo> mainIterator,
ITemplateHolder template,
org.slf4j.Logger logger) |
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 ?
|
IEntryCacheInfo |
next() |
void |
notifyResultReady(BlobStorePreFetchBatchHandler r) |
void |
releaseScan()
release SLHolder for this scan
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createCopyForAlternatingThread, getAlreadyMatchedIndexPath, hasSize, isExtensionIndex, isMultiListsIterator, size
public BlobStorePreFetchIteratorBasedHandler(Context mainThreadContext, CacheManager cacheManager, IScanListIterator<IEntryCacheInfo> mainIterator, ITemplateHolder template, int numEntriesRequested, org.slf4j.Logger logger)
public static IScanListIterator<IEntryCacheInfo> createPreFetchIterIfRelevant(Context context, CacheManager cacheManager, IScanListIterator<IEntryCacheInfo> mainIterator, ITemplateHolder template, org.slf4j.Logger logger)
public boolean hasNext() throws SAException
hasNext
in interface IScanListIterator<IEntryCacheInfo>
SAException
public void notifyResultReady(BlobStorePreFetchBatchHandler r)
public IEntryCacheInfo next() throws SAException
next
in interface IScanListIterator<IEntryCacheInfo>
SAException
public void releaseScan() throws SAException
IScanListIterator
releaseScan
in interface IScanListIterator<IEntryCacheInfo>
SAException
public int getAlreadyMatchedFixedPropertyIndexPos()
getAlreadyMatchedFixedPropertyIndexPos
in interface IScanListIterator<IEntryCacheInfo>
public boolean isAlreadyMatched()
isAlreadyMatched
in interface IScanListIterator<IEntryCacheInfo>
public boolean isIterator()
IObjectsList
isIterator
in interface IObjectsList
Copyright © GigaSpaces.