public class StateValuesToGraphite extends Object implements ReportableObserver
| Modifier and Type | Class and Description |
|---|---|
private class |
StateValuesToGraphite.ReportStateValuesJob |
| Modifier and Type | Field and Description |
|---|---|
private ScheduledExecutorService |
ex |
private GraphiteConnection |
graphiteClient |
private static org.slf4j.Logger |
LOGGER |
private Map<String,MultiValueProvider> |
multiValueProviders |
private Map<String,StateValueProvider> |
stateValues |
| Constructor and Description |
|---|
StateValuesToGraphite(String graphiteHost,
int graphitePort,
String appName) |
StateValuesToGraphite(String appName,
LocalHostNameResolver localHostNameResolver,
GraphiteConnection graphiteClient) |
| Modifier and Type | Method and Description |
|---|---|
void |
addNewReportable(Reportable reportable)
This method is called for each reportable that is registered on the InApplicationMonitor.
|
long |
multiValueProviderCount() |
void |
shutdown() |
String |
toString() |
private static final org.slf4j.Logger LOGGER
private ScheduledExecutorService ex
private Map<String,StateValueProvider> stateValues
private Map<String,MultiValueProvider> multiValueProviders
private GraphiteConnection graphiteClient
public StateValuesToGraphite(String graphiteHost, int graphitePort, String appName)
StateValuesToGraphite(String appName, LocalHostNameResolver localHostNameResolver, GraphiteConnection graphiteClient)
public void addNewReportable(Reportable reportable)
ReportableObserveraddNewReportable in interface ReportableObserverpublic long multiValueProviderCount()
public void shutdown()
Copyright © 2014 Immobilien Scout GmbH. All rights reserved.