public class MirrorNodeStateListener extends AbstractReplicationNodeStateListener
Constructor and Description |
---|
MirrorNodeStateListener(String fullSpaceName,
MirrorConfig mirrorConfig) |
Modifier and Type | Method and Description |
---|---|
void |
onNewReplicaRequest(String groupName,
String memberName,
boolean isSynchronizeRequest)
Called when new replica request is received, for custom validation
|
void |
onSourceBrokenReplicationTopology(String groupName,
String channelTargetMemberName,
BrokenReplicationTopologyException error) |
void |
onSourceChannelActivated(String groupName,
String memberName) |
void |
onTargetChannelBacklogDropped(String groupName,
String channelSourceLooString,
IBacklogMemberState memberState)
Called when a target channel received a notice that its backlog was dropped at the source
|
void |
onTargetChannelCreationValidation(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.
|
boolean |
onTargetChannelOutOfSync(String groupName,
String channelSourceLookupName,
IncomingReplicationOutOfSyncException outOfSyncReason)
Called when a target channel failed handshake due to becoming out of sync
|
onReplicationNodeModeChange, onTargetChannelConnected, onTargetChannelSourceDisconnected
public MirrorNodeStateListener(String fullSpaceName, MirrorConfig mirrorConfig)
public void onTargetChannelBacklogDropped(String groupName, String channelSourceLooString, IBacklogMemberState memberState)
IReplicationTargetGroupStateListener
public void onSourceBrokenReplicationTopology(String groupName, String channelTargetMemberName, BrokenReplicationTopologyException error)
public void onNewReplicaRequest(String groupName, String memberName, boolean isSynchronizeRequest)
IReplicationNodeStateListener
public boolean onTargetChannelOutOfSync(String groupName, String channelSourceLookupName, IncomingReplicationOutOfSyncException outOfSyncReason)
IReplicationTargetGroupStateListener
public void onTargetChannelCreationValidation(String groupName, String sourceMemberName, Object sourceUniqueId)
IReplicationTargetGroupStateListener
Copyright © GigaSpaces.