de.is24.util.monitoring.status
Class ServiceStateManager
java.lang.Object
de.is24.util.monitoring.status.ServiceStateManager
- All Implemented Interfaces:
- ReportableObserver
public class ServiceStateManager
- 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
serviceStates
private Map<String,ServiceState> serviceStates
ServiceStateManager
public ServiceStateManager()
addServiceState
public void addServiceState(ServiceState serviceState)
initialize
public void initialize()
- after adding all serviceState objects once call this method to connect ServiceStates with Monitors
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.