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.apache.log4j.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.
|
void |
shutdown() |
String |
toString() |
private static final org.apache.log4j.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 void shutdown()
Copyright © 2013 Immobilien Scout GmbH. All Rights Reserved.