public class SyncReplicationSourceChannel extends AbstractReplicationSourceChannel
Modifier and Type | Class and Description |
---|---|
class |
SyncReplicationSourceChannel.AsyncDispatcher |
AbstractReplicationSourceChannel.ChannelState
_packetsPool, _specificLogger, _specificVerboseLogger, _statisticsCounter
Constructor and Description |
---|
SyncReplicationSourceChannel(DynamicSourceGroupConfigHolder groupConfig,
String groupName,
String memberName,
IReplicationRouter replicationRouter,
IReplicationMonitoredConnection connection,
IReplicationGroupBacklog groupBacklog,
IReplicationOutFilter outFilter,
IReplicationThrottleController throttleController,
IAsyncHandlerProvider asyncHandlerProvider,
int asyncStateBatchSize,
long idleDelayMilis,
IReplicationChannelDataFilter dataFilter,
IReplicationSourceGroupStateListener stateListener,
IReplicationGroupHistory groupHistory,
ReplicationStatistics.ReplicationMode channelType,
Object customBacklogMetadata) |
Modifier and Type | Method and Description |
---|---|
protected void |
closeImpl() |
int |
execute(ISyncReplicationGroupOutContext context) |
Future<?> |
executeAsync(ISyncReplicationGroupOutContext context) |
void |
flushPendingReplication() |
ReplicationStatistics.ReplicationOperatingMode |
getChannelOpertingMode() |
boolean |
isSync() |
protected void |
onActiveImpl() |
protected void |
onAsyncReplicateErrorResult(Throwable t,
IReplicationOrderedPacket packet) |
protected void |
onAsyncReplicateErrorResult(Throwable t,
List<IReplicationOrderedPacket> packets) |
protected void |
onDisconnectedImpl() |
String |
onDumpState() |
beginSynchronizing, beginSynchronizing, close, dispatchBacklogDropped, dumpState, getChannelState, getConnection, getDataFilter, getGroupBacklog, getGroupName, getInconsistencyReason, getLastSampledTP, getMemberName, getMyLookupName, getPendingPackets, getSampleTPBefore, getStatistics, getTargetLogicalVersion, getTargetReplicationEndpointDetails, isActive, isClosed, isDataFiltered, isInconsistent, isSynchronizing, logEventInHistory, onConnected, onDisconnected, pingTarget, registerWith, replicate, replicate, replicateAsync, replicateAsync, replicateBatch, replicateBatchDelayed, replicateBatchDelayedAsync, sampleStatistics, signalSynchronizingDone, start, stopSynchronization, synchronizationCopyStageDone, synchronizationDataGenerated, wrapConnection
public SyncReplicationSourceChannel(DynamicSourceGroupConfigHolder groupConfig, String groupName, String memberName, IReplicationRouter replicationRouter, IReplicationMonitoredConnection connection, IReplicationGroupBacklog groupBacklog, IReplicationOutFilter outFilter, IReplicationThrottleController throttleController, IAsyncHandlerProvider asyncHandlerProvider, int asyncStateBatchSize, long idleDelayMilis, IReplicationChannelDataFilter dataFilter, IReplicationSourceGroupStateListener stateListener, IReplicationGroupHistory groupHistory, ReplicationStatistics.ReplicationMode channelType, Object customBacklogMetadata)
public Future<?> executeAsync(ISyncReplicationGroupOutContext context)
protected void onAsyncReplicateErrorResult(Throwable t, IReplicationOrderedPacket packet)
onAsyncReplicateErrorResult
in class AbstractReplicationSourceChannel
protected void onAsyncReplicateErrorResult(Throwable t, List<IReplicationOrderedPacket> packets)
onAsyncReplicateErrorResult
in class AbstractReplicationSourceChannel
public int execute(ISyncReplicationGroupOutContext context)
protected void onActiveImpl()
onActiveImpl
in class AbstractReplicationSourceChannel
protected void onDisconnectedImpl()
onDisconnectedImpl
in class AbstractReplicationSourceChannel
protected void closeImpl()
closeImpl
in class AbstractReplicationSourceChannel
public boolean isSync()
public void flushPendingReplication()
flushPendingReplication
in class AbstractReplicationSourceChannel
public ReplicationStatistics.ReplicationOperatingMode getChannelOpertingMode()
getChannelOpertingMode
in class AbstractReplicationSourceChannel
public String onDumpState()
onDumpState
in class AbstractReplicationSourceChannel
Copyright © GigaSpaces.