Class DirectOnlyReplicationRouter
java.lang.Object
com.gigaspaces.internal.cluster.node.impl.router.AbstractConnectionProxyBasedReplicationRouter<Object,Object>
com.gigaspaces.internal.cluster.node.impl.router.DirectOnlyReplicationRouter
- All Implemented Interfaces:
IReplicationRouter,IReplicationRouterAdmin
public class DirectOnlyReplicationRouter
extends AbstractConnectionProxyBasedReplicationRouter<Object,Object>
- Since:
- 9.0
- Author:
- Dan Kilman
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class com.gigaspaces.internal.cluster.node.impl.router.AbstractConnectionProxyBasedReplicationRouter
AbstractConnectionProxyBasedReplicationRouter.ConnectionEndpoint -
Field Summary
Fields inherited from class com.gigaspaces.internal.cluster.node.impl.router.AbstractConnectionProxyBasedReplicationRouter
_specificLogger -
Method Summary
Modifier and TypeMethodDescriptioncreateNewMemberConnection(String lookupName, boolean connectSynchronously) getUrlConnection(Object customUrl) Gets a connection with given custom url, need to have this due to space copy with given url which may not even reside in the cluster policy and for sink recoveryMethods inherited from class com.gigaspaces.internal.cluster.node.impl.router.AbstractConnectionProxyBasedReplicationRouter
addRemoteRouterStub, close, createDirectConnection, createStub, dumpState, enableIncomingCommunication, getAdmin, getAsyncContextProvider, getConnectionMonitor, getDirectConnection, getMemberConnection, getMemberConnectionAsync, getMyEndpointDetails, getMyLookupName, getMyRouterStubHolder, getMyStubHolder, getMyUniqueId, getRemoteRouterStub, getStub, hasExistingConnection, isClosed, isSetMyIdBeforeDispatch, pingStub, removeDirectConnection, removeMemberConnection, removeRemoteStubHolder, removeUrlConnection, wrapDirectStubWithMonitoredConnection
-
Method Details
-
getUrlConnection
Description copied from interface:IReplicationRouterGets a connection with given custom url, need to have this due to space copy with given url which may not even reside in the cluster policy and for sink recovery- Parameters:
customUrl- the url to the replication node to create the connection to- Returns:
- a connection to the specified replication node represented by the url
-
createNewMemberConnection
protected AbstractProxyBasedReplicationMonitoredConnection createNewMemberConnection(String lookupName, boolean connectSynchronously) - Specified by:
createNewMemberConnectionin classAbstractConnectionProxyBasedReplicationRouter<Object,Object>
-