Class DummyConnectionMonitor
java.lang.Object
com.gigaspaces.internal.cluster.node.impl.router.DummyConnectionMonitor
- All Implemented Interfaces:
IConnectionMonitor<Object,Object>
- Since:
- 9.0
- Author:
- Dan Kilman
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidAdds a new connection to monitorvoidStops monitoring the specified connectionvoidupdateDisconnected(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
-
Constructor Details
-
DummyConnectionMonitor
public DummyConnectionMonitor()
-
-
Method Details
-
monitor
Description copied from interface:IConnectionMonitorAdds a new connection to monitor- Specified by:
monitorin interfaceIConnectionMonitor<Object,Object> - Parameters:
connection- connection to monitor
-
updateDisconnected
public void updateDisconnected(AbstractProxyBasedReplicationMonitoredConnection<Object, Object> connection, Exception reason) Description copied from interface:IConnectionMonitorUpdate the monitor externally that the provided connection is disconnected Due to some call dispatch on that proxy which throw a remote exception- Specified by:
updateDisconnectedin interfaceIConnectionMonitor<Object,Object> - Parameters:
connection- connection that was disconnected
-
stopMonitoring
public void stopMonitoring(AbstractProxyBasedReplicationMonitoredConnection<Object, Object> connection) Description copied from interface:IConnectionMonitorStops monitoring the specified connection- Specified by:
stopMonitoringin interfaceIConnectionMonitor<Object,Object> - Parameters:
connection- that should be not be monitored anymore
-
close
public void close()- Specified by:
closein interfaceIConnectionMonitor<Object,Object>
-
dumpState
- Specified by:
dumpStatein interfaceIConnectionMonitor<Object,Object>
-