Class ReplicationNode
java.lang.Object
com.gigaspaces.internal.cluster.node.impl.ReplicationNode
- All Implemented Interfaces:
IReplicationSourceGroupStateListener,IReplicationTargetGroupStateListener,IIncomingReplicationFacade,IReplicationNodePluginFacade,IReplicaRequestFacade,IIncomingReplicationHandler,IReplicationNode
public class ReplicationNode
extends Object
implements IReplicationNode, IIncomingReplicationHandler, IIncomingReplicationFacade, IReplicationTargetGroupStateListener, IReplicationSourceGroupStateListener
The implementation of the
IReplicationNode interface- Since:
- 8.0
- Author:
- eitany
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionReplicationNode(ReplicationNodeConfig replicationNodeConfig, IReplicationNodeBuilder nodeBuilder, String name, MetricRegistrator metricRegister) -
Method Summary
Modifier and TypeMethodDescription<T> Taccept(AbstractReplicationPacket<T> packet) voidclearStaleReplicas(long expirationTime) voidclose()Closes the node, once closed the node is no longer usable.intexecute(IReplicationOutContext context) Executes the accumulated replication according to the given contextbooleanflushPendingReplication(long timeout, TimeUnit units) intgetAdmin()getGroupBacklogByRequestContext(Object requestContext) getName()getNextReplicaBatch(Object context, int fetchBatchSize) getRemoteRouterStub(String routerLookupName) getReplicationSourceGroup(String groupName) getReplicationTargetGroup(String groupName) voidnewReplicaRequest(String requesterLookupName, ReplicaRequestPacket replicaRequestPacket) nextReplicaStage(Object replicaRemoteContext) voidonNewReplicaRequest(String groupName, String channelName, boolean isSynchronizeRequest) <T> TonReplication(AbstractReplicationPacket<T> packet) Handles incoming replication packetvoidonSourceBrokenReplicationTopology(String groupName, String channelMemberName, BrokenReplicationTopologyException error) voidonSourceChannelActivated(String groupName, String memberName) voidonTargetChannelBacklogDropped(String groupName, String channelSourceLooString, IBacklogMemberState memberState) Called when a target channel received a notice that its backlog was dropped at the sourcevoidonTargetChannelConnected(String groupName, String sourceMemberName, Object sourceUniqueId) Called when a target channel is connected/createdvoidonTargetChannelCreationValidation(String groupName, String sourceMemberName, Object sourceUniqueId) Called when a new channel is being established, just before the channel is created to allow custom validation logic.booleanonTargetChannelOutOfSync(String groupName, String channelSourceLookupName, IncomingReplicationOutOfSyncException outOfSyncReason) Called when a target channel failed handshake due to becoming out of syncvoidonTargetChannelSourceDisconnected(String groupName, String sourceMemberName, Object sourceUniqueId) Called when a target channel lost connection to its sourcevoidoutCancelEntryLease(IReplicationOutContext context, IEntryHolder entryHolder) Notify replication node that an entry lease was canceledvoidoutChangeEntry(IReplicationOutContext context, IEntryHolder entryHolder) Notify replication node that an entry was changedvoidoutDataTypeAddIndex(IReplicationOutContext context, AddTypeIndexesRequestInfo addIndexesRequest) Notify the replication node that new index was added to this data typevoidoutDataTypeDrop(IReplicationOutContext context, String className) voidoutDataTypeIntroduce(IReplicationOutContext context, ITypeDesc typeDescriptor) Notify the replication node that new data type was introducedvoidoutEntryLeaseExpired(IReplicationOutContext context, IEntryHolder entryHolder) Notify replication node that an entry lease expiredvoidoutEvictEntry(IReplicationOutContext context, IEntryHolder entryHolder) Notify replication node that an entry was evictedvoidoutExtendEntryLeasePeriod(IReplicationOutContext context, IEntryHolder entryHolder) Notify replication node that an entry lease is extendedvoidoutExtendNotifyTemplateLeasePeriod(IReplicationOutContext context, NotifyTemplateHolder entryHolder) Notify replication node that a notify template lease is extendedvoidoutInsertNotifyTemplate(IReplicationOutContext context, NotifyTemplateHolder templateHolder) Notify replication node that a new notify template was insertedvoidoutNotificationSentAndExecute(OperationID operationId) Notify and dispatch the replication event representing that a notification was sent successfullyvoidoutNotifyTemplateLeaseExpired(IReplicationOutContext context, NotifyTemplateHolder templateHolder) Notify replication node that an notify template lease expiredvoidoutRemoveEntry(IReplicationOutContext context, IEntryHolder entryHolder) Notify replication node that an entry was removedvoidoutRemoveNotifyTemplate(IReplicationOutContext context, NotifyTemplateHolder templateHolder) Notify replication node that a notify template was removedvoidoutTransaction(IReplicationOutContext context, ServerTransaction transaction, ArrayList<IEntryHolder> lockedEntries) Notify replication node that a transaction is executed in one stage (one phase commit)voidoutTransactionAbort(IReplicationOutContext context, ServerTransaction transaction) Notify replication node that a transaction abort is executed (two phase commit)voidoutTransactionCommit(IReplicationOutContext context, ServerTransaction transaction) Notify replication node that a transaction commit is executed (two phase commit)voidoutTransactionPrepare(IReplicationOutContext context, ServerTransaction transaction, ArrayList<IEntryHolder> lockedEntries) Notify replication node that a transaction prepare is executed (two phase commit)voidoutUpdateEntry(IReplicationOutContext context, IEntryHolder entryHolder) Notify replication node that an entry was updatedvoidoutWriteEntry(IReplicationOutContext context, IEntryHolder entryHolder) Notify replication node that a new entry was writtenvoidRe-registers all replication metrics after a space mode change.voidrollbackCopyReplica(ISpaceCopyResult replicaResult) voidsetBlobStoreReplicaConsumeHelper(BlobStoreReplicaConsumeHelper blobStoreReplicaConsumeHelper) voidsetBlobStoreReplicationBulkConsumeHelper(BlobStoreReplicationBulkConsumeHelper blobStoreReplicationBulkConsumeHelper) voidsetDirectPersistencyBackupSyncIteratorHandler(DirectPersistencyBackupSyncIteratorHandler directPersistencyBackupSyncIteratorHandler) voidSets a handler for incoming replication upon batch consumption completionvoidSets a handler for incoming data type replication event which was generated by a different node as a result ofIReplicationNode.outDataTypeIntroduce(IReplicationOutContext, ITypeDesc)voidvoidSets a handler for incoming data type add index replication event which was generated by a different node as a result ofIReplicationNode.outDataTypeIntroduce(IReplicationOutContext, ITypeDesc)voidSets a handler for incoming write entry replication event which was generated by a different node as a result ofIReplicationNode.outWriteEntry(IReplicationOutContext, IEntryHolder)voidSets a handler for incoming cancel entry lease replication event which was generated by a different node as a result ofIReplicationNode.outCancelEntryLease(IReplicationOutContext, IEntryHolder)voidSets a handler for incoming entry lease expired replication event which was generated by a different node as a result ofIReplicationNode.outCancelEntryLease(IReplicationOutContext, IEntryHolder)voidSets a handler for incoming extend lease replication event which was generated by a different node as a result ofIReplicationNode.outExtendEntryLeasePeriod(IReplicationOutContext, IEntryHolder)voidSets a handler for incoming evict entry replication event which was generated by a different node as a result ofIReplicationNode.outEvictEntry(IReplicationOutContext, IEntryHolder)voidSets a handler for incoming notification sent event which was generated by a different node as a result ofIReplicationNode.outNotificationSentAndExecute(OperationID)voidSets a handler for incoming insert notify template replication event which was generated by a different node as a result ofIReplicationNode.outInsertNotifyTemplate(IReplicationOutContext, NotifyTemplateHolder)voidSets a handler for incoming notify-template lease expired replication event which was generated by a different node as a result ofIReplicationNode.outNotifyTemplateLeaseExpired(IReplicationOutContext, NotifyTemplateHolder)voidSets a handler for incoming extend lease replication event which was generated by a different node as a result of#outExtendNotifyTemplateLeasePeriod(IReplicationOutContext, IEntryHolder)voidSets a handler for incoming remove notify template replication event which was generated by a different node as a result ofIReplicationNode.outRemoveNotifyTemplate(IReplicationOutContext, NotifyTemplateHolder)voidSets a handler for incoming transaction replication event which was generated by a different node as a result of#outTransaction(IReplicationOutContext, ServerTransaction, ArrayList<EntryCacheInfo>)voidvoidStarts a space copy replica request, will copy the current state of a remote space.Starts a space synchronize replica request, will copy the current state of a remote space and synchronize with ongoing changes, the synchronization can only occurr if the target space has replication channel to this space (Recovery).toString()
-
Constructor Details
-
ReplicationNode
public ReplicationNode(ReplicationNodeConfig replicationNodeConfig, IReplicationNodeBuilder nodeBuilder, String name, MetricRegistrator metricRegister)
-
-
Method Details
-
getName
-
getUniqueId
-
createContext
- Specified by:
createContextin interfaceIReplicationNode- Returns:
- create a replication out context
-
execute
Description copied from interface:IReplicationNodeExecutes the accumulated replication according to the given context- Specified by:
executein interfaceIReplicationNode- Parameters:
context- replication context- Returns:
- true number of completed replications.
-
getReplicationRouterBuilder
-
getReplicationRouter
-
getAdmin
- Specified by:
getAdminin interfaceIReplicationNode- Returns:
- administrator of the replication node
-
outCancelEntryLease
Description copied from interface:IReplicationNodeNotify replication node that an entry lease was canceled- Specified by:
outCancelEntryLeasein interfaceIReplicationNode- Parameters:
context- the context of the operationentryHolder- entry of which its lease was canceled
-
outEntryLeaseExpired
Description copied from interface:IReplicationNodeNotify replication node that an entry lease expired- Specified by:
outEntryLeaseExpiredin interfaceIReplicationNode- Parameters:
context- the context of the operationentryHolder- entry of which its lease expired
-
outNotifyTemplateLeaseExpired
public void outNotifyTemplateLeaseExpired(IReplicationOutContext context, NotifyTemplateHolder templateHolder) Description copied from interface:IReplicationNodeNotify replication node that an notify template lease expired- Specified by:
outNotifyTemplateLeaseExpiredin interfaceIReplicationNode- Parameters:
context- the context of the operationtemplateHolder- of which its lease expired
-
outEvictEntry
Description copied from interface:IReplicationNodeNotify replication node that an entry was evicted- Specified by:
outEvictEntryin interfaceIReplicationNode- Parameters:
context- the context of the operationentryHolder- evicted entry
-
outExtendEntryLeasePeriod
Description copied from interface:IReplicationNodeNotify replication node that an entry lease is extended- Specified by:
outExtendEntryLeasePeriodin interfaceIReplicationNode- Parameters:
context- the context of the operation
-
outExtendNotifyTemplateLeasePeriod
public void outExtendNotifyTemplateLeasePeriod(IReplicationOutContext context, NotifyTemplateHolder entryHolder) Description copied from interface:IReplicationNodeNotify replication node that a notify template lease is extended- Specified by:
outExtendNotifyTemplateLeasePeriodin interfaceIReplicationNode- Parameters:
context- the context of the operation
-
outInsertNotifyTemplate
public void outInsertNotifyTemplate(IReplicationOutContext context, NotifyTemplateHolder templateHolder) Description copied from interface:IReplicationNodeNotify replication node that a new notify template was inserted- Specified by:
outInsertNotifyTemplatein interfaceIReplicationNode- Parameters:
context- the context of the operationtemplateHolder- inserted template
-
outNotificationSentAndExecute
Description copied from interface:IReplicationNodeNotify and dispatch the replication event representing that a notification was sent successfully- Specified by:
outNotificationSentAndExecutein interfaceIReplicationNode
-
outRemoveEntry
Description copied from interface:IReplicationNodeNotify replication node that an entry was removed- Specified by:
outRemoveEntryin interfaceIReplicationNode- Parameters:
context- the context of the operationentryHolder- removed entry
-
outRemoveNotifyTemplate
public void outRemoveNotifyTemplate(IReplicationOutContext context, NotifyTemplateHolder templateHolder) Description copied from interface:IReplicationNodeNotify replication node that a notify template was removed- Specified by:
outRemoveNotifyTemplatein interfaceIReplicationNode- Parameters:
context- the context of the operationtemplateHolder- removed template
-
outTransaction
public void outTransaction(IReplicationOutContext context, ServerTransaction transaction, ArrayList<IEntryHolder> lockedEntries) Description copied from interface:IReplicationNodeNotify replication node that a transaction is executed in one stage (one phase commit)- Specified by:
outTransactionin interfaceIReplicationNodetransaction- executed transactionlockedEntries- entries participating in the transaction and their corresponding operation
-
outTransactionCommit
Description copied from interface:IReplicationNodeNotify replication node that a transaction commit is executed (two phase commit)- Specified by:
outTransactionCommitin interfaceIReplicationNodetransaction- committed transaction
-
outTransactionAbort
Description copied from interface:IReplicationNodeNotify replication node that a transaction abort is executed (two phase commit)- Specified by:
outTransactionAbortin interfaceIReplicationNodetransaction- committed transaction
-
outTransactionPrepare
public void outTransactionPrepare(IReplicationOutContext context, ServerTransaction transaction, ArrayList<IEntryHolder> lockedEntries) Description copied from interface:IReplicationNodeNotify replication node that a transaction prepare is executed (two phase commit)- Specified by:
outTransactionPreparein interfaceIReplicationNodetransaction- prepared transactionlockedEntries- entries participating in the transaction and their corresponding operation
-
outUpdateEntry
Description copied from interface:IReplicationNodeNotify replication node that an entry was updated- Specified by:
outUpdateEntryin interfaceIReplicationNode- Parameters:
context- the context of the operationentryHolder- updated entry
-
outChangeEntry
Description copied from interface:IReplicationNodeNotify replication node that an entry was changed- Specified by:
outChangeEntryin interfaceIReplicationNode- Parameters:
context- the context of the operationentryHolder- mutated entry
-
outWriteEntry
Description copied from interface:IReplicationNodeNotify replication node that a new entry was written- Specified by:
outWriteEntryin interfaceIReplicationNode- Parameters:
context- the context of the operationentryHolder- written entry
-
outDataTypeIntroduce
Description copied from interface:IReplicationNodeNotify the replication node that new data type was introduced- Specified by:
outDataTypeIntroducein interfaceIReplicationNodetypeDescriptor- the updated type descriptor
-
outDataTypeDrop
- Specified by:
outDataTypeDropin interfaceIReplicationNode
-
outDataTypeAddIndex
public void outDataTypeAddIndex(IReplicationOutContext context, AddTypeIndexesRequestInfo addIndexesRequest) Description copied from interface:IReplicationNodeNotify the replication node that new index was added to this data type- Specified by:
outDataTypeAddIndexin interfaceIReplicationNode
-
setInEvictEntryHandler
Description copied from interface:IReplicationNodeSets a handler for incoming evict entry replication event which was generated by a different node as a result ofIReplicationNode.outEvictEntry(IReplicationOutContext, IEntryHolder)- Specified by:
setInEvictEntryHandlerin interfaceIReplicationNode
-
setInNotificationSentHandler
Description copied from interface:IReplicationNodeSets a handler for incoming notification sent event which was generated by a different node as a result ofIReplicationNode.outNotificationSentAndExecute(OperationID)- Specified by:
setInNotificationSentHandlerin interfaceIReplicationNode
-
setInTransactionHandler
Description copied from interface:IReplicationNodeSets a handler for incoming transaction replication event which was generated by a different node as a result of#outTransaction(IReplicationOutContext, ServerTransaction, ArrayList<EntryCacheInfo>)- Specified by:
setInTransactionHandlerin interfaceIReplicationNode
-
setInEntryHandler
Description copied from interface:IReplicationNodeSets a handler for incoming write entry replication event which was generated by a different node as a result ofIReplicationNode.outWriteEntry(IReplicationOutContext, IEntryHolder)- Specified by:
setInEntryHandlerin interfaceIReplicationNode
-
setInEntryLeaseCancelledHandler
Description copied from interface:IReplicationNodeSets a handler for incoming cancel entry lease replication event which was generated by a different node as a result ofIReplicationNode.outCancelEntryLease(IReplicationOutContext, IEntryHolder)- Specified by:
setInEntryLeaseCancelledHandlerin interfaceIReplicationNode
-
setInEntryLeaseExtendedHandler
Description copied from interface:IReplicationNodeSets a handler for incoming extend lease replication event which was generated by a different node as a result ofIReplicationNode.outExtendEntryLeasePeriod(IReplicationOutContext, IEntryHolder)- Specified by:
setInEntryLeaseExtendedHandlerin interfaceIReplicationNode
-
setInEntryLeaseExpiredHandler
Description copied from interface:IReplicationNodeSets a handler for incoming entry lease expired replication event which was generated by a different node as a result ofIReplicationNode.outCancelEntryLease(IReplicationOutContext, IEntryHolder)- Specified by:
setInEntryLeaseExpiredHandlerin interfaceIReplicationNode
-
setInNotifyTemplateCreatedHandler
Description copied from interface:IReplicationNodeSets a handler for incoming insert notify template replication event which was generated by a different node as a result ofIReplicationNode.outInsertNotifyTemplate(IReplicationOutContext, NotifyTemplateHolder)- Specified by:
setInNotifyTemplateCreatedHandlerin interfaceIReplicationNode
-
setInNotifyTemplateRemovedHandler
Description copied from interface:IReplicationNodeSets a handler for incoming remove notify template replication event which was generated by a different node as a result ofIReplicationNode.outRemoveNotifyTemplate(IReplicationOutContext, NotifyTemplateHolder)- Specified by:
setInNotifyTemplateRemovedHandlerin interfaceIReplicationNode
-
setInNotifyTemplateLeaseExtendedHandler
public void setInNotifyTemplateLeaseExtendedHandler(IReplicationInNotifyTemplateLeaseExtendedHandler handler) Description copied from interface:IReplicationNodeSets a handler for incoming extend lease replication event which was generated by a different node as a result of#outExtendNotifyTemplateLeasePeriod(IReplicationOutContext, IEntryHolder)- Specified by:
setInNotifyTemplateLeaseExtendedHandlerin interfaceIReplicationNode
-
setInNotifyTemplateLeaseExpiredHandler
public void setInNotifyTemplateLeaseExpiredHandler(IReplicationInNotifyTemplateLeaseExpiredHandler handler) Description copied from interface:IReplicationNodeSets a handler for incoming notify-template lease expired replication event which was generated by a different node as a result ofIReplicationNode.outNotifyTemplateLeaseExpired(IReplicationOutContext, NotifyTemplateHolder)- Specified by:
setInNotifyTemplateLeaseExpiredHandlerin interfaceIReplicationNode
-
setInDataTypeCreatedHandler
Description copied from interface:IReplicationNodeSets a handler for incoming data type replication event which was generated by a different node as a result ofIReplicationNode.outDataTypeIntroduce(IReplicationOutContext, ITypeDesc)- Specified by:
setInDataTypeCreatedHandlerin interfaceIReplicationNode
-
setInDataTypeDrop
-
setInDataTypeIndexAddedHandler
Description copied from interface:IReplicationNodeSets a handler for incoming data type add index replication event which was generated by a different node as a result ofIReplicationNode.outDataTypeIntroduce(IReplicationOutContext, ITypeDesc)- Specified by:
setInDataTypeIndexAddedHandlerin interfaceIReplicationNode
-
setInBatchConsumptionHandler
Description copied from interface:IReplicationNodeSets a handler for incoming replication upon batch consumption completion- Specified by:
setInBatchConsumptionHandlerin interfaceIReplicationNode
-
spaceSynchronizeReplicaRequest
public ISpaceSynchronizeReplicaState spaceSynchronizeReplicaRequest(ISpaceSynchronizeReplicaRequestContext context) Description copied from interface:IReplicationNodeStarts a space synchronize replica request, will copy the current state of a remote space and synchronize with ongoing changes, the synchronization can only occurr if the target space has replication channel to this space (Recovery).- Specified by:
spaceSynchronizeReplicaRequestin interfaceIReplicationNode- Returns:
- space synchronize replica state representing the current progress of the synchronization
-
spaceCopyReplicaRequest
Description copied from interface:IReplicationNodeStarts a space copy replica request, will copy the current state of a remote space. Should be used when the target space is in a static state, meaning its data state do not change during the copy, otherwise the copy result is not guaranteed to be an exact replica of the target space (Offline copy, for admin purposes).- Specified by:
spaceCopyReplicaRequestin interfaceIReplicationNode- Returns:
- space copy replica state representing the current progress of the copy operation
-
rollbackCopyReplica
- Specified by:
rollbackCopyReplicain interfaceIReplicationNode
-
close
public void close()Description copied from interface:IReplicationNodeCloses the node, once closed the node is no longer usable.- Specified by:
closein interfaceIReplicationNode
-
setBlobStoreReplicationBulkConsumeHelper
public void setBlobStoreReplicationBulkConsumeHelper(BlobStoreReplicationBulkConsumeHelper blobStoreReplicationBulkConsumeHelper) - Specified by:
setBlobStoreReplicationBulkConsumeHelperin interfaceIReplicationNode
-
getBlobStoreReplicationBulkConsumeHelper
- Specified by:
getBlobStoreReplicationBulkConsumeHelperin interfaceIReplicationNode
-
onReplication
Description copied from interface:IIncomingReplicationHandlerHandles incoming replication packet- Specified by:
onReplicationin interfaceIIncomingReplicationHandler- Parameters:
packet- incoming packet- Returns:
- incoming replication result
- Throws:
RemoteException
-
reregisterMetrics
public void reregisterMetrics()Re-registers all replication metrics after a space mode change. This is necessary because Micrometer tags are immutable - when a space changes from backup to primary (or vice versa), the metrics must be unregistered and re-registered with updated tag values (space_active, space_primary). Called from SpaceEngine.reregisterMetricsAfterModeChange() during failover. -
getReplicationTargetGroup
public IReplicationTargetGroup getReplicationTargetGroup(String groupName) throws NoSuchReplicationGroupExistException - Specified by:
getReplicationTargetGroupin interfaceIIncomingReplicationFacade- Throws:
NoSuchReplicationGroupExistException
-
getReplicationSourceGroup
public IReplicationSourceGroup getReplicationSourceGroup(String groupName) throws NoSuchReplicationGroupExistException - Specified by:
getReplicationSourceGroupin interfaceIIncomingReplicationFacade- Throws:
NoSuchReplicationGroupExistException
-
getGroupBacklogByRequestContext
-
getRemoteRouterStub
- Specified by:
getRemoteRouterStubin interfaceIIncomingReplicationFacade
-
getEndpointDetails
- Specified by:
getEndpointDetailsin interfaceIIncomingReplicationFacade
-
accept
- Specified by:
acceptin interfaceIReplicationNodePluginFacade
-
newReplicaRequest
public Object newReplicaRequest(String requesterLookupName, ReplicaRequestPacket replicaRequestPacket) - Specified by:
newReplicaRequestin interfaceIReplicaRequestFacade
-
getNextReplicaBatch
- Specified by:
getNextReplicaBatchin interfaceIReplicaRequestFacade
-
clearStaleReplicas
public void clearStaleReplicas(long expirationTime) -
nextReplicaStage
- Specified by:
nextReplicaStagein interfaceIReplicaRequestFacade
-
getLogPrefix
-
toString
-
getBackLogStatistics
-
flushRedoLogToStorage
public int flushRedoLogToStorage()- Returns:
- number of flushed packets
- Since:
- 16.2
-
monitorState
-
setNodeStateListener
-
onTargetChannelOutOfSync
public boolean onTargetChannelOutOfSync(String groupName, String channelSourceLookupName, IncomingReplicationOutOfSyncException outOfSyncReason) Description copied from interface:IReplicationTargetGroupStateListenerCalled when a target channel failed handshake due to becoming out of sync- Specified by:
onTargetChannelOutOfSyncin interfaceIReplicationTargetGroupStateListener- Returns:
- true if the target channel is allowed to resync (and lose data due to resynchronization)
-
onTargetChannelBacklogDropped
public void onTargetChannelBacklogDropped(String groupName, String channelSourceLooString, IBacklogMemberState memberState) Description copied from interface:IReplicationTargetGroupStateListenerCalled when a target channel received a notice that its backlog was dropped at the source- Specified by:
onTargetChannelBacklogDroppedin interfaceIReplicationTargetGroupStateListener
-
onTargetChannelCreationValidation
public void onTargetChannelCreationValidation(String groupName, String sourceMemberName, Object sourceUniqueId) Description copied from interface:IReplicationTargetGroupStateListenerCalled when a new channel is being established, just before the channel is created to allow custom validation logic. An exception will consider the channel creation is invalid, regular return will be considered as valid connection- Specified by:
onTargetChannelCreationValidationin interfaceIReplicationTargetGroupStateListener
-
onTargetChannelSourceDisconnected
public void onTargetChannelSourceDisconnected(String groupName, String sourceMemberName, Object sourceUniqueId) Description copied from interface:IReplicationTargetGroupStateListenerCalled when a target channel lost connection to its source- Specified by:
onTargetChannelSourceDisconnectedin interfaceIReplicationTargetGroupStateListener
-
onTargetChannelConnected
public void onTargetChannelConnected(String groupName, String sourceMemberName, Object sourceUniqueId) Description copied from interface:IReplicationTargetGroupStateListenerCalled when a target channel is connected/created- Specified by:
onTargetChannelConnectedin interfaceIReplicationTargetGroupStateListener
-
onSourceBrokenReplicationTopology
public void onSourceBrokenReplicationTopology(String groupName, String channelMemberName, BrokenReplicationTopologyException error) - Specified by:
onSourceBrokenReplicationTopologyin interfaceIReplicationSourceGroupStateListener
-
onSourceChannelActivated
- Specified by:
onSourceChannelActivatedin interfaceIReplicationSourceGroupStateListener
-
onNewReplicaRequest
-
flushPendingReplication
-
dumpState
-
getRouterAdmin
-
setTag
-
setBlobStoreReplicaConsumeHelper
public void setBlobStoreReplicaConsumeHelper(BlobStoreReplicaConsumeHelper blobStoreReplicaConsumeHelper) - Specified by:
setBlobStoreReplicaConsumeHelperin interfaceIReplicationNode
-
getBlobStoreReplicaConsumeHelper
- Specified by:
getBlobStoreReplicaConsumeHelperin interfaceIReplicationNode
-
getDirectPesistencySyncHandler
- Specified by:
getDirectPesistencySyncHandlerin interfaceIReplicationNode
-
getDirectPersistencyBackupSyncIteratorHandler
- Specified by:
getDirectPersistencyBackupSyncIteratorHandlerin interfaceIReplicationNode
-
setDirectPersistencyBackupSyncIteratorHandler
public void setDirectPersistencyBackupSyncIteratorHandler(DirectPersistencyBackupSyncIteratorHandler directPersistencyBackupSyncIteratorHandler) - Specified by:
setDirectPersistencyBackupSyncIteratorHandlerin interfaceIReplicationNode
-
getMetricRegister
-
getReplicaHandler
-