de.is24.util.monitoring.state2graphite
Class StateValuesToGraphite
java.lang.Object
de.is24.util.monitoring.state2graphite.StateValuesToGraphite
- All Implemented Interfaces:
- ReportableObserver
public class StateValuesToGraphite
- extends Object
- implements ReportableObserver
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOGGER
private static final org.apache.log4j.Logger LOGGER
ex
private ScheduledExecutorService ex
stateValues
private Map<String,StateValueProvider> stateValues
StateValuesToGraphite
public StateValuesToGraphite(String graphiteHost,
int graphitePort,
String appName)
StateValuesToGraphite
StateValuesToGraphite(String appName,
LocalHostNameResolver localHostNameResolver,
GraphiteConnection graphiteClient)
addNewReportable
public void addNewReportable(Reportable reportable)
- Description copied from interface:
ReportableObserver
- This method is called for each reportable that is registered on the InApplicationMonitor.
Additionally, the method is called for each reportable that has been registered before
the ReportableObserver has registered itself.
It is guaranteed that this method is called at least once for each reportable in the InApplicationMonitor.
- Specified by:
addNewReportable in interface ReportableObserver
shutdown
public void shutdown()
Copyright © 2013 Immobilien Scout GmbH. All Rights Reserved.