com.yammer.metrics.reporting
Class AbstractPollingReporter
java.lang.Object
com.yammer.metrics.reporting.AbstractReporter
com.yammer.metrics.reporting.AbstractPollingReporter
- All Implemented Interfaces:
- Runnable
- Direct Known Subclasses:
- ConsoleReporter, CsvReporter
public abstract class AbstractPollingReporter
- extends AbstractReporter
- implements Runnable
|
Method Summary |
void |
shutdown()
Stops the reporter and closes any internal resources. |
void |
shutdown(long waitTime,
TimeUnit waitTimeMillis)
|
void |
start(long pollingTime,
TimeUnit pollingTimeUnit)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.lang.Runnable |
run |
AbstractPollingReporter
protected AbstractPollingReporter(MetricsRegistry registry,
String name)
start
public void start(long pollingTime,
TimeUnit pollingTimeUnit)
shutdown
public void shutdown(long waitTime,
TimeUnit waitTimeMillis)
throws InterruptedException
- Throws:
InterruptedException
shutdown
public void shutdown()
- Description copied from class:
AbstractReporter
- Stops the reporter and closes any internal resources.
- Overrides:
shutdown in class AbstractReporter
Copyright © 2011. All Rights Reserved.