public static interface BinaryLogClient.LifecycleListener
BinaryLogClient's lifecycle listener.| Modifier and Type | Method and Description |
|---|---|
void |
onCommunicationFailure(BinaryLogClient client,
Exception ex)
It's guarantied to be called before
onDisconnect(BinaryLogClient)) in case of
communication failure. |
void |
onConnect(BinaryLogClient client)
Called once client has successfully logged in but before started to receive binlog events.
|
void |
onDisconnect(BinaryLogClient client)
Called upon disconnect (regardless of the reason).
|
void |
onEventDeserializationFailure(BinaryLogClient client,
Exception ex)
Called in case of failed event deserialization.
|
void onConnect(BinaryLogClient client)
void onCommunicationFailure(BinaryLogClient client, Exception ex)
onDisconnect(BinaryLogClient)) in case of
communication failure.void onEventDeserializationFailure(BinaryLogClient client, Exception ex)
void onDisconnect(BinaryLogClient client)
Copyright © 2019. All rights reserved.