Interface IReplicationTargetGroup
- All Known Implementing Classes:
AbstractAsyncReplicationTargetGroup,AbstractReplicationTargetGroup,AbstractSyncReplicationTargetGroup,AbstractSyncSingleOriginReplicationTargetGroup,AsyncMultiOriginReplicationTargetGroup,AsyncSingleOriginReplicationTargetGroup,ReliableAsyncKeeperReplicationTargetGroup,ReliableAsyncSingleOriginReplicationTargetGroup,SyncMultiOriginReplicationTargetGroup,SyncSingleOriginReplicationTargetGroup
public interface IReplicationTargetGroup
Handle incoming replication from one or more
IReplicationSourceGroup- Since:
- 8.0
- Author:
- eitany
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddSynchronizeState(String sourceMemberLookupName, SpaceReplicaState result) voidclose()Close this replication group, once closed it can no longer be usedconnectChannel(RouterStubHolder sourceRouterStubHolder, ConnectChannelHandshakeRequest handshakeRequest) Connect aIReplicationSourceChannelto this group.getChannel(String sourceMemberLookupName) longgetLastProcessTimeStamp(String replicaSourceLookupName) voidonChannelBacklogDropped(String sourceMemberLookupName, Object sourceUniqueId, IBacklogMemberState memberState) process(String sourceMemberLookupName, Object sourceUniqueId, IReplicationOrderedPacket packet) processBatch(String sourceMemberLookupName, Object sourceUniqueId, List<IReplicationOrderedPacket> packets) voidprocessHandshakeIteration(String sourceMemberLookupName, Object sourceUniqueId, IHandshakeIteration handshakeIteration) processIdleStateData(String sourceMemberLookupName, Object sourceUniqueId, IIdleStateData idleStateData) voidprocessUnreliableOperation(String sourceMemberLookupName, Object sourceUniqueId, IReplicationUnreliableOperation operation) voidvoidvoidsynchronizationDone(String sourceMemberLookupName, Object sourceUniqueId)
-
Method Details
-
close
void close()Close this replication group, once closed it can no longer be used -
connectChannel
ConnectChannelHandshakeResponse connectChannel(RouterStubHolder sourceRouterStubHolder, ConnectChannelHandshakeRequest handshakeRequest) Connect aIReplicationSourceChannelto this group. The success or failure of this operation is indicated by the resultIProcessLogHandshakeResponse- Parameters:
handshakeRequest- the handshake related details- Returns:
- The success or failure of this operation is indicated by the result
IProcessLogHandshakeResponse
-
onChannelBacklogDropped
void onChannelBacklogDropped(String sourceMemberLookupName, Object sourceUniqueId, IBacklogMemberState memberState) -
processHandshakeIteration
void processHandshakeIteration(String sourceMemberLookupName, Object sourceUniqueId, IHandshakeIteration handshakeIteration) -
processBatch
Object processBatch(String sourceMemberLookupName, Object sourceUniqueId, List<IReplicationOrderedPacket> packets) -
process
Object process(String sourceMemberLookupName, Object sourceUniqueId, IReplicationOrderedPacket packet) -
processUnreliableOperation
void processUnreliableOperation(String sourceMemberLookupName, Object sourceUniqueId, IReplicationUnreliableOperation operation) -
processIdleStateData
Object processIdleStateData(String sourceMemberLookupName, Object sourceUniqueId, IIdleStateData idleStateData) -
addSynchronizeState
-
synchronizationDone
-
getLastProcessTimeStamp
-
getGroupName
String getGroupName() -
setActive
void setActive() -
setPassive
void setPassive() -
dumpState
String dumpState() -
getChannel
-