Class LusScheduledPoolConnectionMonitor
java.lang.Object
com.gigaspaces.internal.cluster.node.impl.router.AbstractScheduledPoolConnectionMonitor<Iterable<IReplicationLookupParameters>,String>
com.gigaspaces.internal.cluster.node.impl.gateway.router.LusScheduledPoolConnectionMonitor
- All Implemented Interfaces:
IConnectionMonitor<Iterable<IReplicationLookupParameters>,String>
- Direct Known Subclasses:
LocalClusterReplicationScheduledPoolConnectionMonitor
public class LusScheduledPoolConnectionMonitor
extends AbstractScheduledPoolConnectionMonitor<Iterable<IReplicationLookupParameters>,String>
A base class for a connection monitor that uses a scheduled thread pool for its monitoring tasks
- Since:
- 8.0.3
- Author:
- eitany
-
Nested Class Summary
Nested classes/interfaces inherited from class com.gigaspaces.internal.cluster.node.impl.router.AbstractScheduledPoolConnectionMonitor
AbstractScheduledPoolConnectionMonitor.MonitorConnectedConnectionTask -
Field Summary
Fields inherited from class com.gigaspaces.internal.cluster.node.impl.router.AbstractScheduledPoolConnectionMonitor
_specificLogger, mayInterruptIfRunning -
Constructor Summary
ConstructorsConstructorDescriptionLusScheduledPoolConnectionMonitor(String myLookupName, int corePoolSize, long monitorConnectedDelay, long monitorDisconnectedDelay, TimeUnit timeUnit, IReplicationLookupFinderService replicationLookupService) -
Method Summary
Modifier and TypeMethodDescriptionprotected RunnablecreateMonitorDisconnectedTask(AbstractProxyBasedReplicationMonitoredConnection<Iterable<IReplicationLookupParameters>, String> connection) protected IReplicationLookupResultpostConnectionEstablished(IReplicationLookupResult lookupResult, IReplicationLookupParameters lookupParameters, IReplicationRouter router) protected IReplicationLookupParametersprepareLookUpParameters(IReplicationLookupParameters lookupParameters) Methods inherited from class com.gigaspaces.internal.cluster.node.impl.router.AbstractScheduledPoolConnectionMonitor
close, dumpState, getLogPrefix, getMonitoredCount, monitor, stopMonitoring, updateDisconnected
-
Constructor Details
-
LusScheduledPoolConnectionMonitor
public LusScheduledPoolConnectionMonitor(String myLookupName, int corePoolSize, long monitorConnectedDelay, long monitorDisconnectedDelay, TimeUnit timeUnit, IReplicationLookupFinderService replicationLookupService)
-
-
Method Details
-
createMonitorDisconnectedTask
protected Runnable createMonitorDisconnectedTask(AbstractProxyBasedReplicationMonitoredConnection<Iterable<IReplicationLookupParameters>, String> connection) - Specified by:
createMonitorDisconnectedTaskin classAbstractScheduledPoolConnectionMonitor<Iterable<IReplicationLookupParameters>,String>
-
postConnectionEstablished
protected IReplicationLookupResult postConnectionEstablished(IReplicationLookupResult lookupResult, IReplicationLookupParameters lookupParameters, IReplicationRouter router) throws RemoteException - Throws:
RemoteException
-
prepareLookUpParameters
protected IReplicationLookupParameters prepareLookUpParameters(IReplicationLookupParameters lookupParameters)
-