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, 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 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)
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 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.