public class ManagementNodeStateListenerManager extends java.lang.Object implements ManagementNodeStateListener
ManagementNodeStateListeners.BrooklynServerConfig#MANAGEMENT_NODE_STATE_LISTENERS} for configuring this.,
org.apache.brooklyn.core.mgmt.ha.HighAvailabilityManagerImpl#HighAvailabilityManagerImpl(ManagementContextInternal, ManagementNodeStateListener)}
for how we get notified of the state-change.ManagementNodeStateListener.BasicListenerNOOP| Constructor and Description |
|---|
ManagementNodeStateListenerManager(ManagementContextInternal managementContext) |
| Modifier and Type | Method and Description |
|---|---|
void |
onStateChange(ManagementNodeState state) |
void |
terminate() |
public ManagementNodeStateListenerManager(ManagementContextInternal managementContext)
public void onStateChange(ManagementNodeState state)
onStateChange in interface ManagementNodeStateListenerpublic void terminate()