public class SyncReplicationSourceGroup extends AbstractReplicationSourceGroup<SourceGroupConfig> implements IReplicationSourceGroup
_channelCreationLock, _specificLogger| Constructor and Description |
|---|
SyncReplicationSourceGroup(DynamicSourceGroupConfigHolder groupConfig,
IReplicationRouter replicationRouter,
IReplicationOutFilter outFilter,
IReplicationThrottleControllerBuilder throttleControllerBuilder,
IAsyncHandlerProvider asyncStateHandlerProvider,
int asyncStateBatchSize,
long idleDelayMilis,
IReplicationSyncGroupBacklog groupBacklog,
String myLookupName,
IReplicationSourceGroupStateListener stateListener,
ReplicationStatistics.ReplicationMode channelType) |
| Modifier and Type | Method and Description |
|---|---|
void |
beforeExecute(ReplicationOutContext replicationContext,
IEntryHolder entryHolder,
ReplicationSingleOperationType operationType)
Creates a single entry holder operation replication data from the given properties and add it
to the provided context
|
void |
beforeExecuteGeneric(ReplicationOutContext replicationContext,
Object operationData,
ReplicationSingleOperationType operationType)
Create a single type descriptor operation replication data and add it to provided context
|
void |
beforeTransactionExecute(ReplicationOutContext replicationContext,
ServerTransaction transaction,
ArrayList<IEntryHolder> lockedEntries,
ReplicationMultipleOperationType operationType)
Creates transaction replication data and adds it to the provided context
|
protected AbstractReplicationSourceChannel |
createChannel(String memberLookupName,
IReplicationRouter replicationRouter,
IReplicationMonitoredConnection connection,
IReplicationChannelDataFilter dataFilter,
IReplicationGroupHistory groupHistory,
boolean dynamicMember,
SourceGroupConfig groupConfig,
Object customBacklogMetadata,
boolean resetTarget) |
int |
executeImpl(IReplicationGroupOutContext groupContext) |
protected AbstractReplicationSourceChannel |
getChannel(String memberLookupName) |
boolean |
isSingleTarget() |
protected void |
onCloseTemporaryChannel(String sourceMemberName,
AbstractReplicationSourceChannel channel) |
beginSynchronizing, beginSynchronizing, checkChannelConnected, close, closeReplicationChannels, closeTemporaryChannel, createChannel, createReplicationChannels, createTemporaryChannel, dumpState, execute, execute, flushPendingReplication, getAsyncHandlerProvider, getChannelEndpointDetails, getChannelHistory, getChannels, getChannelSafe, getChannelsStatus, getConfigHolder, getGroupBacklog, getGroupName, getLogPrefix, getMyLookupName, getOutFilter, getPotentialRemovedMembers, getStateListener, getStatistics, logEvent, logGroupEvent, memberAdded, memberRemoved, monitorConsistencyLevel, onClose, onMemberAdded, onMemberRemoved, outputDescendingEvents, registerWith, sampleStatistics, scanAndRemoveDroppedMembers, setActive, setPassive, stopSynchronization, synchronizationCopyStageDone, synchronizationDataGenerated, validateGroupConsistencyLevelPolicyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbeginSynchronizing, beginSynchronizing, checkChannelConnected, close, closeTemporaryChannel, createTemporaryChannel, dumpState, execute, execute, flushPendingReplication, getChannelEndpointDetails, getChannelsStatus, getConfigHolder, getGroupBacklog, getGroupName, getStatistics, monitorConsistencyLevel, registerWith, sampleStatistics, setActive, setPassive, stopSynchronization, synchronizationCopyStageDone, synchronizationDataGeneratedpublic SyncReplicationSourceGroup(DynamicSourceGroupConfigHolder groupConfig, IReplicationRouter replicationRouter, IReplicationOutFilter outFilter, IReplicationThrottleControllerBuilder throttleControllerBuilder, IAsyncHandlerProvider asyncStateHandlerProvider, int asyncStateBatchSize, long idleDelayMilis, IReplicationSyncGroupBacklog groupBacklog, String myLookupName, IReplicationSourceGroupStateListener stateListener, ReplicationStatistics.ReplicationMode channelType)
public void beforeExecute(ReplicationOutContext replicationContext, IEntryHolder entryHolder, ReplicationSingleOperationType operationType)
IReplicationSourceGroupbeforeExecute in interface IReplicationSourceGroupreplicationContext - context to attach the replication data toentryHolder - the entry holder dataoperationType - the operation typepublic void beforeTransactionExecute(ReplicationOutContext replicationContext, ServerTransaction transaction, ArrayList<IEntryHolder> lockedEntries, ReplicationMultipleOperationType operationType)
IReplicationSourceGroupbeforeTransactionExecute in interface IReplicationSourceGrouppublic void beforeExecuteGeneric(ReplicationOutContext replicationContext, Object operationData, ReplicationSingleOperationType operationType)
IReplicationSourceGroupbeforeExecuteGeneric in interface IReplicationSourceGrouppublic int executeImpl(IReplicationGroupOutContext groupContext)
executeImpl in class AbstractReplicationSourceGroup<SourceGroupConfig>protected AbstractReplicationSourceChannel createChannel(String memberLookupName, IReplicationRouter replicationRouter, IReplicationMonitoredConnection connection, IReplicationChannelDataFilter dataFilter, IReplicationGroupHistory groupHistory, boolean dynamicMember, SourceGroupConfig groupConfig, Object customBacklogMetadata, boolean resetTarget)
createChannel in class AbstractReplicationSourceGroup<SourceGroupConfig>protected void onCloseTemporaryChannel(String sourceMemberName, AbstractReplicationSourceChannel channel)
onCloseTemporaryChannel in class AbstractReplicationSourceGroup<SourceGroupConfig>protected AbstractReplicationSourceChannel getChannel(String memberLookupName)
getChannel in class AbstractReplicationSourceGroup<SourceGroupConfig>public boolean isSingleTarget()
Copyright © GigaSpaces.