public class SolrMetricLoggingComponent extends MetricLoggingComponent
DEFAULT_METRIC_CLUSTER_NAME, DEFAULT_METRIC_COLLECTION_NAME, DEFAULT_PIPELINE_ID
Constructor and Description |
---|
SolrMetricLoggingComponent(ConfigurationComponent configurationComponent,
CollectionManager collectionManager,
MetricRegistry metricRegistry,
CollectionComponent collectionComponent,
ClientComponent clientComponent,
CuratorComponent curatorComponent,
ScheduledRunnableComponent scheduler,
com.lucidworks.apollo.links.LinkManager linkManager) |
Modifier and Type | Method and Description |
---|---|
MetricRegistry |
getCollectionMetrics() |
java.lang.String |
getTaskName() |
void |
init(CuratorComponent curatorComponent,
com.lucidworks.apollo.client.resources.CollectionClientResource collectionResource,
SearchClusterComponent.DefaultSolrClient solr,
com.lucidworks.apollo.links.LinkManager linkManager) |
void |
report() |
void |
shutdown() |
getMetricCollectionName, getMetricSearchClusterName, init, report, report, report, start, start
public SolrMetricLoggingComponent(ConfigurationComponent configurationComponent, CollectionManager collectionManager, MetricRegistry metricRegistry, CollectionComponent collectionComponent, ClientComponent clientComponent, CuratorComponent curatorComponent, ScheduledRunnableComponent scheduler, com.lucidworks.apollo.links.LinkManager linkManager)
@WhenReady public void init(CuratorComponent curatorComponent, com.lucidworks.apollo.client.resources.CollectionClientResource collectionResource, SearchClusterComponent.DefaultSolrClient solr, com.lucidworks.apollo.links.LinkManager linkManager)
@PreDestroy public void shutdown() throws java.io.IOException
shutdown
in class MetricLoggingComponent
java.io.IOException
public java.lang.String getTaskName()
getTaskName
in class MetricLoggingComponent
public void report()
public MetricRegistry getCollectionMetrics()