public class CollectionMetricHelper
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
CollectionMetricHelper.RequestsAndTime |
| Constructor and Description |
|---|
CollectionMetricHelper(SearchClusterComponent searchClusterComponent,
CollectionComponent collectionComponent,
ClientComponent clientComponent) |
| Modifier and Type | Method and Description |
|---|---|
CollectionMetricHelper.RequestsAndTime |
getAggregatedSearchStats(com.lucidworks.apollo.common.models.Collection collection)
Returns a "RequestsAndTime" object that aggregates the # of requests and the total time across all nodes for the
given collection.
|
CollectionMetricHelper.RequestsAndTime |
getAggregatedSearchStats(SolrClient solrClient,
java.lang.String collection) |
long |
getNumberOfDocuments(SolrClient solrClient,
java.lang.String solrCollectionName) |
CollectionMetricHelper.RequestsAndTime |
getTrackedCollectionSearchStats() |
public CollectionMetricHelper(SearchClusterComponent searchClusterComponent, CollectionComponent collectionComponent, ClientComponent clientComponent)
public CollectionMetricHelper.RequestsAndTime getTrackedCollectionSearchStats() throws java.lang.Exception
java.lang.Exceptionpublic CollectionMetricHelper.RequestsAndTime getAggregatedSearchStats(com.lucidworks.apollo.common.models.Collection collection) throws java.lang.Exception
collection - java.lang.Exceptionpublic CollectionMetricHelper.RequestsAndTime getAggregatedSearchStats(SolrClient solrClient, java.lang.String collection) throws java.lang.Exception
java.lang.Exceptionpublic long getNumberOfDocuments(SolrClient solrClient,
java.lang.String solrCollectionName)
throws SolrAPIException,
java.io.IOException
SolrAPIExceptionjava.io.IOException