public class LocalClusterReplicationSink extends ReplicationGatewayComponent implements IReplicationNodePluginFacade, IIncomingReplicationFacadeProvider
Modifier and Type | Class and Description |
---|---|
class |
LocalClusterReplicationSink.DelegatedConnection |
_finderService, _lookupParametersTemplate, _registrationService, _serviceExporter
Constructor and Description |
---|
LocalClusterReplicationSink(LocalClusterReplicationSinkConfig config) |
Modifier and Type | Method and Description |
---|---|
<T> T |
accept(AbstractReplicationPacket<T> packet) |
void |
bootstrapFromRemoteSink(BootstrapConfig bootstrapConfig) |
void |
close() |
protected String |
createPrimaryMemberRoutingUrl(String remoteSinkUrl,
String primaryMember) |
protected SpaceSynchronizeReplicaRequestContext |
createReplicaRequestContext(String remoteSinkGatewayName,
String remoteSinkUrl,
int concurrentConsumers,
int fetchBatchSize,
boolean primaryBackupGroup,
boolean hasMirror,
int partition,
String primaryMember) |
protected String |
createSpaceUrlForMember(String memberName) |
String |
dumpState() |
void |
enableIncomingReplication() |
IIncomingReplicationFacade |
getIncomingReplicationFacade() |
createRegistrationService
public LocalClusterReplicationSink(LocalClusterReplicationSinkConfig config)
public IIncomingReplicationFacade getIncomingReplicationFacade()
getIncomingReplicationFacade
in interface IIncomingReplicationFacadeProvider
public void enableIncomingReplication()
public void close()
public void bootstrapFromRemoteSink(BootstrapConfig bootstrapConfig) throws Exception
Exception
protected SpaceSynchronizeReplicaRequestContext createReplicaRequestContext(String remoteSinkGatewayName, String remoteSinkUrl, int concurrentConsumers, int fetchBatchSize, boolean primaryBackupGroup, boolean hasMirror, int partition, String primaryMember)
protected String createPrimaryMemberRoutingUrl(String remoteSinkUrl, String primaryMember)
public <T> T accept(AbstractReplicationPacket<T> packet)
accept
in interface IReplicationNodePluginFacade
public String dumpState()
Copyright © GigaSpaces.