@Deprecated public final class ServerMonitorEventMulticaster extends Object implements ServerMonitorListener
Constructor and Description |
---|
ServerMonitorEventMulticaster(List<ServerMonitorListener> serverMonitorListeners)
Deprecated.
Construct an instance with the given list of server monitor listeners
|
Modifier and Type | Method and Description |
---|---|
List<ServerMonitorListener> |
getServerMonitorListeners()
Deprecated.
Gets the server monitor listeners.
|
void |
serverHearbeatStarted(ServerHeartbeatStartedEvent event)
Deprecated.
Listener for server heartbeat started events.
|
void |
serverHeartbeatFailed(ServerHeartbeatFailedEvent event)
Deprecated.
Listener for server heartbeat failed events.
|
void |
serverHeartbeatSucceeded(ServerHeartbeatSucceededEvent event)
Deprecated.
Listener for server heartbeat succeeded events.
|
public ServerMonitorEventMulticaster(List<ServerMonitorListener> serverMonitorListeners)
serverMonitorListeners
- the non-null list of server monitor listeners, none of which may be nullpublic List<ServerMonitorListener> getServerMonitorListeners()
public void serverHearbeatStarted(ServerHeartbeatStartedEvent event)
ServerMonitorListener
serverHearbeatStarted
in interface ServerMonitorListener
event
- the server heartbeat started eventpublic void serverHeartbeatSucceeded(ServerHeartbeatSucceededEvent event)
ServerMonitorListener
serverHeartbeatSucceeded
in interface ServerMonitorListener
event
- the server heartbeat succeeded eventpublic void serverHeartbeatFailed(ServerHeartbeatFailedEvent event)
ServerMonitorListener
serverHeartbeatFailed
in interface ServerMonitorListener
event
- the server heartbeat failed event