public class TelemetryReporterThread extends Periodical
| Constructor and Description |
|---|
TelemetryReporterThread(com.codahale.metrics.MetricRegistry metricRegistry,
ServerStatus serverStatus,
Counts counts,
ThroughputStats throughputStats,
Configuration configuration) |
| Modifier and Type | Method and Description |
|---|---|
void |
doRun() |
int |
getInitialDelaySeconds() |
protected org.slf4j.Logger |
getLogger() |
int |
getPeriodSeconds() |
boolean |
isDaemon() |
boolean |
masterOnly() |
boolean |
runsForever() |
boolean |
startOnThisNode() |
boolean |
stopOnGracefulShutdown() |
getParallelism, initialize, run@Inject
public TelemetryReporterThread(com.codahale.metrics.MetricRegistry metricRegistry,
ServerStatus serverStatus,
Counts counts,
ThroughputStats throughputStats,
Configuration configuration)
public void doRun()
doRun in class Periodicalpublic boolean runsForever()
runsForever in class Periodicalpublic boolean stopOnGracefulShutdown()
stopOnGracefulShutdown in class Periodicalpublic boolean masterOnly()
masterOnly in class Periodicalpublic boolean startOnThisNode()
startOnThisNode in class Periodicalpublic boolean isDaemon()
isDaemon in class Periodicalpublic int getInitialDelaySeconds()
getInitialDelaySeconds in class Periodicalpublic int getPeriodSeconds()
getPeriodSeconds in class Periodicalprotected org.slf4j.Logger getLogger()
getLogger in class PeriodicalCopyright © 2012-2014 TORCH GmbH. All Rights Reserved.