|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface BinaryLogClient.LifecycleListener
BinaryLogClient's lifecycle listener.
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
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)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||