public class LusReplicationRouter extends AbstractConnectionProxyBasedReplicationRouter<Iterable<IReplicationLookupParameters>,String> implements IReplicationRouter
Modifier and Type | Class and Description |
---|---|
static class |
LusReplicationRouter.Builder |
AbstractConnectionProxyBasedReplicationRouter.ConnectionEndpoint
Modifier and Type | Field and Description |
---|---|
protected IReplicationLookupFinderService |
_replicationLookupService |
_specificLogger
Constructor and Description |
---|
LusReplicationRouter(String myLookupName,
Uuid uuid,
IConnectionMonitor<Iterable<IReplicationLookupParameters>,String> connectionMonitor,
IServiceExporter serviceExporter,
IIncomingReplicationHandler incomingReplicationHandler,
IAsyncContextProvider asyncContextProvider,
IReplicationLookupFinderService replicationLookupService,
IReplicationLookupParameters lookupParametersTemplate,
IRoutingUrlConverter routingNameConverter,
boolean setMyIdBeforeDispatch) |
Modifier and Type | Method and Description |
---|---|
protected MemberProxyBasedReplicationMonitoredConnection<Iterable<IReplicationLookupParameters>,String> |
createConnection(String lookupName,
Iterable<IReplicationLookupParameters> lookupParameters) |
protected MemberProxyBasedReplicationMonitoredConnection<Iterable<IReplicationLookupParameters>,String> |
createConnectionAndConnect(String lookupName,
Iterable<IReplicationLookupParameters> lookupParametersList) |
protected AbstractProxyBasedReplicationMonitoredConnection<Iterable<IReplicationLookupParameters>,String> |
createNewMemberConnection(String lookupName,
boolean connectSynchronously) |
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
|
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
protected final IReplicationLookupFinderService _replicationLookupService
public LusReplicationRouter(String myLookupName, Uuid uuid, IConnectionMonitor<Iterable<IReplicationLookupParameters>,String> connectionMonitor, IServiceExporter serviceExporter, IIncomingReplicationHandler incomingReplicationHandler, IAsyncContextProvider asyncContextProvider, IReplicationLookupFinderService replicationLookupService, IReplicationLookupParameters lookupParametersTemplate, IRoutingUrlConverter routingNameConverter, boolean setMyIdBeforeDispatch)
public IReplicationMonitoredConnection getUrlConnection(Object customUrl)
IReplicationRouter
getUrlConnection
in interface IReplicationRouter
customUrl
- the url to the replication node to create the connection toprotected AbstractProxyBasedReplicationMonitoredConnection<Iterable<IReplicationLookupParameters>,String> createNewMemberConnection(String lookupName, boolean connectSynchronously)
createNewMemberConnection
in class AbstractConnectionProxyBasedReplicationRouter<Iterable<IReplicationLookupParameters>,String>
protected MemberProxyBasedReplicationMonitoredConnection<Iterable<IReplicationLookupParameters>,String> createConnection(String lookupName, Iterable<IReplicationLookupParameters> lookupParameters)
protected MemberProxyBasedReplicationMonitoredConnection<Iterable<IReplicationLookupParameters>,String> createConnectionAndConnect(String lookupName, Iterable<IReplicationLookupParameters> lookupParametersList)
Copyright © GigaSpaces.