public class LocalClusterReplicationSinkRouter extends LusReplicationRouter
LocalClusterReplicationSink
that can
create a replication connection from one sink via another sink to a specific space memberModifier and Type | Class and Description |
---|---|
static class |
LocalClusterReplicationSinkRouter.Builder |
AbstractConnectionProxyBasedReplicationRouter.ConnectionEndpoint
_replicationLookupService
_specificLogger
Constructor and Description |
---|
LocalClusterReplicationSinkRouter(String myLookupName,
Uuid uuid,
IConnectionMonitor<Iterable<IReplicationLookupParameters>,String> connectionMonitor,
IIncomingReplicationHandler incomingReplicationHandler,
IReplicationLookupFinderService replicationLookupService,
IReplicationLookupParameters lookupParametersTemplate,
IRoutingUrlConverter routingNameConverter) |
Modifier and Type | Method and Description |
---|---|
protected MemberProxyBasedReplicationMonitoredConnection<Iterable<IReplicationLookupParameters>,String> |
createConnectionAndConnect(String lookupName,
Iterable<IReplicationLookupParameters> lookupParametersList) |
protected IReplicationLookupResult |
establishConnectionViaSink(IReplicationConnectionProxy connectionProxy,
String lookupName) |
static String |
extractSinkDestinationUrl(String lookupName) |
static String |
extractSpaceMemberLookupName(String lookupName) |
IReplicationMonitoredConnection |
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 recovery
|
static boolean |
hasSinkRoutingDestination(String lookupName) |
createConnection, createNewMemberConnection
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close, dumpState, getAdmin, getDirectConnection, getMemberConnection, getMemberConnectionAsync, getMyEndpointDetails, getMyLookupName, getMyStubHolder, getMyUniqueId
public LocalClusterReplicationSinkRouter(String myLookupName, Uuid uuid, IConnectionMonitor<Iterable<IReplicationLookupParameters>,String> connectionMonitor, IIncomingReplicationHandler incomingReplicationHandler, IReplicationLookupFinderService replicationLookupService, IReplicationLookupParameters lookupParametersTemplate, IRoutingUrlConverter routingNameConverter)
public IReplicationMonitoredConnection getUrlConnection(Object customUrl)
IReplicationRouter
getUrlConnection
in interface IReplicationRouter
getUrlConnection
in class LusReplicationRouter
customUrl
- the url to the replication node to create the connection toprotected MemberProxyBasedReplicationMonitoredConnection<Iterable<IReplicationLookupParameters>,String> createConnectionAndConnect(String lookupName, Iterable<IReplicationLookupParameters> lookupParametersList)
createConnectionAndConnect
in class LusReplicationRouter
protected IReplicationLookupResult establishConnectionViaSink(IReplicationConnectionProxy connectionProxy, String lookupName) throws RemoteException
RemoteException
public static boolean hasSinkRoutingDestination(String lookupName)
Copyright © GigaSpaces.