@Deprecated
public class MetricLoggingComponent
extends ScheduledReporter
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_METRIC_CLUSTER_NAME
Deprecated.
|
static java.lang.String |
DEFAULT_METRIC_COLLECTION_NAME
Deprecated.
|
static java.lang.String |
DEFAULT_PIPELINE_ID
Deprecated.
|
Constructor and Description |
---|
MetricLoggingComponent(ConfigurationComponent configurationComponent,
CollectionManager collectionManager,
MetricRegistry metricRegistry,
CollectionStore collectionStore,
ClientComponent clientComponent,
CuratorComponent curatorComponent,
ScheduledRunnableComponent scheduler,
com.lucidworks.apollo.links.LinkManager linkManager)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getMetricCollectionName()
Deprecated.
|
java.lang.String |
getMetricSearchClusterName()
Deprecated.
|
java.lang.String |
getTaskName()
Deprecated.
|
void |
init(com.lucidworks.apollo.client.resources.CollectionClientResource collectionClientResource,
com.lucidworks.apollo.client.resources.IndexPipelineClientResource indexPipelineClientResource,
com.lucidworks.apollo.client.resources.SchedulerClientResource schedulerClientResource,
SearchClusterComponent.DefaultSolrClient solrClient,
com.lucidworks.apollo.links.LinkManager linkManager)
Deprecated.
|
void |
report(java.util.SortedMap<java.lang.String,Gauge> gauges,
java.util.SortedMap<java.lang.String,Counter> counters,
java.util.SortedMap<java.lang.String,Histogram> histograms,
java.util.SortedMap<java.lang.String,Meter> meters,
java.util.SortedMap<java.lang.String,Timer> timers)
Deprecated.
|
void |
report(java.util.SortedMap<java.lang.String,Gauge> gauges,
java.util.SortedMap<java.lang.String,Counter> counters,
java.util.SortedMap<java.lang.String,Histogram> histograms,
java.util.SortedMap<java.lang.String,Meter> meters,
java.util.SortedMap<java.lang.String,Timer> timers,
java.util.Map<java.lang.String,java.lang.Object> extraProperties)
Deprecated.
|
void |
report(java.lang.String host,
int port,
java.util.SortedMap<java.lang.String,Gauge> gauges,
java.util.SortedMap<java.lang.String,Counter> counters,
java.util.SortedMap<java.lang.String,Histogram> histograms,
java.util.SortedMap<java.lang.String,Meter> meters,
java.util.SortedMap<java.lang.String,Timer> timers,
java.util.Map<java.lang.String,java.lang.Object> extraProperties)
Deprecated.
|
void |
shutdown()
Deprecated.
|
void |
start(long initialDelay,
long period,
java.util.concurrent.TimeUnit unit)
Deprecated.
|
void |
start(long period,
java.util.concurrent.TimeUnit unit)
Deprecated.
|
public static final java.lang.String DEFAULT_METRIC_COLLECTION_NAME
public static final java.lang.String DEFAULT_METRIC_CLUSTER_NAME
public static final java.lang.String DEFAULT_PIPELINE_ID
public MetricLoggingComponent(ConfigurationComponent configurationComponent, CollectionManager collectionManager, MetricRegistry metricRegistry, CollectionStore collectionStore, ClientComponent clientComponent, CuratorComponent curatorComponent, ScheduledRunnableComponent scheduler, com.lucidworks.apollo.links.LinkManager linkManager)
@WhenReady public void init(com.lucidworks.apollo.client.resources.CollectionClientResource collectionClientResource, com.lucidworks.apollo.client.resources.IndexPipelineClientResource indexPipelineClientResource, com.lucidworks.apollo.client.resources.SchedulerClientResource schedulerClientResource, SearchClusterComponent.DefaultSolrClient solrClient, com.lucidworks.apollo.links.LinkManager linkManager)
@PreDestroy public void shutdown() throws java.io.IOException
java.io.IOException
public void start(long period, java.util.concurrent.TimeUnit unit)
public void start(long initialDelay, long period, java.util.concurrent.TimeUnit unit)
public java.lang.String getTaskName()
public java.lang.String getMetricCollectionName()
public java.lang.String getMetricSearchClusterName()
public void report(java.util.SortedMap<java.lang.String,Gauge> gauges, java.util.SortedMap<java.lang.String,Counter> counters, java.util.SortedMap<java.lang.String,Histogram> histograms, java.util.SortedMap<java.lang.String,Meter> meters, java.util.SortedMap<java.lang.String,Timer> timers)
public void report(java.util.SortedMap<java.lang.String,Gauge> gauges, java.util.SortedMap<java.lang.String,Counter> counters, java.util.SortedMap<java.lang.String,Histogram> histograms, java.util.SortedMap<java.lang.String,Meter> meters, java.util.SortedMap<java.lang.String,Timer> timers, java.util.Map<java.lang.String,java.lang.Object> extraProperties)
public void report(java.lang.String host, int port, java.util.SortedMap<java.lang.String,Gauge> gauges, java.util.SortedMap<java.lang.String,Counter> counters, java.util.SortedMap<java.lang.String,Histogram> histograms, java.util.SortedMap<java.lang.String,Meter> meters, java.util.SortedMap<java.lang.String,Timer> timers, java.util.Map<java.lang.String,java.lang.Object> extraProperties)