public class ServiceStateManager extends Object implements ReportableObserver
| Modifier and Type | Class and Description |
|---|---|
private class |
ServiceStateManager.ServiceStateJob |
| Modifier and Type | Field and Description |
|---|---|
private ScheduledExecutorService |
ex |
private static org.apache.log4j.Logger |
LOGGER |
private Map<String,ServiceState> |
serviceStates |
| Constructor and Description |
|---|
ServiceStateManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
addNewReportable(Reportable reportable)
This method is called for each reportable that is registered on the InApplicationMonitor.
|
void |
addServiceState(ServiceState serviceState) |
void |
initialize()
after adding all serviceState objects once call this method to connect ServiceStates with Monitors
|
void |
shutdown() |
private static final org.apache.log4j.Logger LOGGER
private ScheduledExecutorService ex
private Map<String,ServiceState> serviceStates
public void addServiceState(ServiceState serviceState)
public void initialize()
public void addNewReportable(Reportable reportable)
ReportableObserveraddNewReportable in interface ReportableObserverpublic void shutdown()
Copyright © 2013 Immobilien Scout GmbH. All Rights Reserved.