public class ReplicationNodeStateListener extends AbstractReplicationNodeStateListener
Constructor and Description |
---|
ReplicationNodeStateListener(SpaceEngine spaceEngine) |
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 channelSourceLookupName,
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 ReplicationNodeStateListener(SpaceEngine spaceEngine)
public boolean onTargetChannelOutOfSync(String groupName, String channelSourceLookupName, IncomingReplicationOutOfSyncException outOfSyncReason)
IReplicationTargetGroupStateListener
public void onTargetChannelBacklogDropped(String groupName, String channelSourceLookupName, IBacklogMemberState memberState)
IReplicationTargetGroupStateListener
public void onSourceBrokenReplicationTopology(String groupName, String channelTargetMemberName, BrokenReplicationTopologyException error)
public void onTargetChannelCreationValidation(String groupName, String sourceMemberName, Object sourceUniqueId)
IReplicationTargetGroupStateListener
public void onNewReplicaRequest(String groupName, String memberName, boolean isSynchronizeRequest)
IReplicationNodeStateListener
Copyright © GigaSpaces.