|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.github.shyiko.mysql.binlog.BinaryLogClient.AbstractLifecycleListener
public abstract static class BinaryLogClient.AbstractLifecycleListener
Default (no-op) implementation of BinaryLogClient.LifecycleListener.
| Constructor Summary | |
|---|---|
BinaryLogClient.AbstractLifecycleListener()
|
|
| Method Summary | |
|---|---|
void |
onCommunicationFailure(BinaryLogClient client,
Exception ex)
It's guarantied to be called before BinaryLogClient.LifecycleListener.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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BinaryLogClient.AbstractLifecycleListener()
| Method Detail |
|---|
public void onConnect(BinaryLogClient client)
BinaryLogClient.LifecycleListener
onConnect in interface BinaryLogClient.LifecycleListener
public void onCommunicationFailure(BinaryLogClient client,
Exception ex)
BinaryLogClient.LifecycleListenerBinaryLogClient.LifecycleListener.onDisconnect(BinaryLogClient)) in case of
communication failure.
onCommunicationFailure in interface BinaryLogClient.LifecycleListener
public void onEventDeserializationFailure(BinaryLogClient client,
Exception ex)
BinaryLogClient.LifecycleListener
onEventDeserializationFailure in interface BinaryLogClient.LifecycleListenerpublic void onDisconnect(BinaryLogClient client)
BinaryLogClient.LifecycleListener
onDisconnect in interface BinaryLogClient.LifecycleListener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||