public class DummyConnectionMonitor extends Object implements IConnectionMonitor<Object,Object>
Constructor and Description |
---|
DummyConnectionMonitor() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
String |
dumpState() |
void |
monitor(AbstractProxyBasedReplicationMonitoredConnection<Object,Object> connection)
Adds a new connection to monitor
|
void |
stopMonitoring(AbstractProxyBasedReplicationMonitoredConnection<Object,Object> connection)
Stops monitoring the specified connection
|
void |
updateDisconnected(AbstractProxyBasedReplicationMonitoredConnection<Object,Object> 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
|
public void monitor(AbstractProxyBasedReplicationMonitoredConnection<Object,Object> connection)
IConnectionMonitor
monitor
in interface IConnectionMonitor<Object,Object>
connection
- connection to monitorpublic void updateDisconnected(AbstractProxyBasedReplicationMonitoredConnection<Object,Object> connection, Exception reason)
IConnectionMonitor
updateDisconnected
in interface IConnectionMonitor<Object,Object>
connection
- connection that was disconnectedpublic void stopMonitoring(AbstractProxyBasedReplicationMonitoredConnection<Object,Object> connection)
IConnectionMonitor
stopMonitoring
in interface IConnectionMonitor<Object,Object>
connection
- that should be not be monitored anymorepublic void close()
close
in interface IConnectionMonitor<Object,Object>
public String dumpState()
dumpState
in interface IConnectionMonitor<Object,Object>
Copyright © GigaSpaces.