public class DistributedLazyIterator extends DistributedIterator
cache| Constructor and Description |
|---|
DistributedLazyIterator(org.apache.lucene.search.Sort sort,
int fetchSize,
int resultSize,
int maxResults,
int firstResult,
UUID id,
HashMap<UUID,ClusteredTopDocs> topDocsResponses,
ExecutorService asyncExecutor,
AdvancedCache<?,?> cache) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
This method must be called on your iterator once you have finished so that any local
or remote resources can be freed up.
|
protected Object |
fetchValue(ClusteredDoc scoreDoc,
ClusteredTopDocs topDoc) |
hasNext, next, removepublic DistributedLazyIterator(org.apache.lucene.search.Sort sort,
int fetchSize,
int resultSize,
int maxResults,
int firstResult,
UUID id,
HashMap<UUID,ClusteredTopDocs> topDocsResponses,
ExecutorService asyncExecutor,
AdvancedCache<?,?> cache)
public void close()
ResultIteratorclose in interface Closeableclose in interface AutoCloseableclose in interface ResultIteratorclose in class DistributedIteratorprotected Object fetchValue(ClusteredDoc scoreDoc, ClusteredTopDocs topDoc)
fetchValue in class DistributedIteratorCopyright © 2013 JBoss, a division of Red Hat. All rights reserved.