public interface IConnectionMonitor<T,L>
AbstractProxyBasedReplicationMonitoredConnection
stateSpaceProxyReplicationRouter
Modifier and Type | Method and Description |
---|---|
void |
close() |
String |
dumpState() |
void |
monitor(AbstractProxyBasedReplicationMonitoredConnection<T,L> connection)
Adds a new connection to monitor
|
void |
stopMonitoring(AbstractProxyBasedReplicationMonitoredConnection<T,L> connection)
Stops monitoring the specified connection
|
void |
updateDisconnected(AbstractProxyBasedReplicationMonitoredConnection<T,L> connection,
Exception reason)
Update the monitor externally that the provided connection is disconnected Due to some call
dispatch on that proxy which throw a remote exception
|
void monitor(AbstractProxyBasedReplicationMonitoredConnection<T,L> connection)
connection
- connection to monitorvoid updateDisconnected(AbstractProxyBasedReplicationMonitoredConnection<T,L> connection, Exception reason)
connection
- connection that was disconnectedvoid stopMonitoring(AbstractProxyBasedReplicationMonitoredConnection<T,L> connection)
connection
- that should be not be monitored anymorevoid close()
String dumpState()
Copyright © GigaSpaces.