public class AsyncReplicationSourceGroup extends AbstractReplicationSourceGroup<SourceGroupConfig> implements IReplicationSourceGroup
Modifier and Type | Class and Description |
---|---|
class |
AsyncReplicationSourceGroup.DroppedTargetScanner |
_channelCreationLock, _specificLogger
Constructor and Description |
---|
AsyncReplicationSourceGroup(DynamicSourceGroupConfigHolder groupConfig,
IReplicationRouter replicationRouter,
IReplicationAsyncGroupBacklog groupBacklog,
String myLookupName,
IReplicationOutFilter outFilter,
int batchSize,
long intervalMilis,
int intervalOperations,
IAsyncHandlerProvider asyncProvider,
IReplicationSourceGroupStateListener stateListener) |
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) |
protected String[] |
getPotentialRemovedMembers(SourceGroupConfig config) |
protected void |
onClose() |
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, getStateListener, getStatistics, logEvent, logGroupEvent, memberAdded, memberRemoved, monitorConsistencyLevel, onMemberAdded, onMemberRemoved, outputDescendingEvents, registerWith, sampleStatistics, scanAndRemoveDroppedMembers, setActive, setPassive, stopSynchronization, synchronizationCopyStageDone, synchronizationDataGenerated, validateGroupConsistencyLevelPolicy
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
beginSynchronizing, beginSynchronizing, checkChannelConnected, close, closeTemporaryChannel, createTemporaryChannel, dumpState, execute, execute, flushPendingReplication, getChannelEndpointDetails, getChannelsStatus, getConfigHolder, getGroupBacklog, getGroupName, getStatistics, monitorConsistencyLevel, registerWith, sampleStatistics, setActive, setPassive, stopSynchronization, synchronizationCopyStageDone, synchronizationDataGenerated
public AsyncReplicationSourceGroup(DynamicSourceGroupConfigHolder groupConfig, IReplicationRouter replicationRouter, IReplicationAsyncGroupBacklog groupBacklog, String myLookupName, IReplicationOutFilter outFilter, int batchSize, long intervalMilis, int intervalOperations, IAsyncHandlerProvider asyncProvider, IReplicationSourceGroupStateListener stateListener)
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>
public void beforeExecute(ReplicationOutContext replicationContext, IEntryHolder entryHolder, ReplicationSingleOperationType operationType)
IReplicationSourceGroup
beforeExecute
in interface IReplicationSourceGroup
replicationContext
- 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)
IReplicationSourceGroup
beforeTransactionExecute
in interface IReplicationSourceGroup
public void beforeExecuteGeneric(ReplicationOutContext replicationContext, Object operationData, ReplicationSingleOperationType operationType)
IReplicationSourceGroup
beforeExecuteGeneric
in interface IReplicationSourceGroup
public int executeImpl(IReplicationGroupOutContext groupContext)
executeImpl
in class AbstractReplicationSourceGroup<SourceGroupConfig>
protected AbstractReplicationSourceChannel getChannel(String memberLookupName)
getChannel
in class AbstractReplicationSourceGroup<SourceGroupConfig>
protected String[] getPotentialRemovedMembers(SourceGroupConfig config)
getPotentialRemovedMembers
in class AbstractReplicationSourceGroup<SourceGroupConfig>
protected void onClose()
onClose
in class AbstractReplicationSourceGroup<SourceGroupConfig>
Copyright © GigaSpaces.