Class ClusterHits
java.lang.Object
com.logicaldoc.core.searchengine.Hits
com.logicaldoc.enterprise.cluster.ClusterHits
- All Implemented Interfaces:
- Serializable,- Iterator<com.logicaldoc.core.searchengine.Hit>
public class ClusterHits
extends com.logicaldoc.core.searchengine.Hits
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionClusterHits(Collection<com.logicaldoc.core.searchengine.Hits> hits, Integer maxEntries) An Hits to work with entries coming from different nodes of the clusterClusterHits(List<com.logicaldoc.core.searchengine.Hit> hits, long estimatedCount, long elapsedTime) 
- 
Method SummaryMethods inherited from class com.logicaldoc.core.searchengine.HitstoHitMethods inherited from class java.lang.Objectequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.IteratorforEachRemaining
- 
Constructor Details- 
ClusterHitspublic ClusterHits(List<com.logicaldoc.core.searchengine.Hit> hits, long estimatedCount, long elapsedTime) 
- 
ClusterHitsAn Hits to work with entries coming from different nodes of the cluster- Parameters:
- hits- The hits collected from the nodes of the cluster
- maxEntries- Maximum number of entries used for the search
 
 
- 
- 
Method Details- 
getEstimatedCountpublic long getEstimatedCount()- Overrides:
- getEstimatedCountin class- com.logicaldoc.core.searchengine.Hits
 
- 
getElapsedTimepublic long getElapsedTime()- Overrides:
- getElapsedTimein class- com.logicaldoc.core.searchengine.Hits
 
- 
getCountpublic long getCount()- Overrides:
- getCountin class- com.logicaldoc.core.searchengine.Hits
 
- 
hasNextpublic boolean hasNext()
- 
nextpublic com.logicaldoc.core.searchengine.Hit next()
- 
removepublic void remove()
 
-