Package io.debezium.connector.mysql
Class MySqlStreamingChangeEventSource.ReaderThreadLifecycleListener
- java.lang.Object
-
- io.debezium.connector.mysql.MySqlStreamingChangeEventSource.ReaderThreadLifecycleListener
-
- All Implemented Interfaces:
com.github.shyiko.mysql.binlog.BinaryLogClient.LifecycleListener
- Enclosing class:
- MySqlStreamingChangeEventSource
protected final class MySqlStreamingChangeEventSource.ReaderThreadLifecycleListener extends Object implements com.github.shyiko.mysql.binlog.BinaryLogClient.LifecycleListener
-
-
Field Summary
Fields Modifier and Type Field Description private MySqlOffsetContextoffsetContext
-
Constructor Summary
Constructors Constructor Description ReaderThreadLifecycleListener(MySqlOffsetContext offsetContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonCommunicationFailure(com.github.shyiko.mysql.binlog.BinaryLogClient client, Exception ex)voidonConnect(com.github.shyiko.mysql.binlog.BinaryLogClient client)voidonDisconnect(com.github.shyiko.mysql.binlog.BinaryLogClient client)voidonEventDeserializationFailure(com.github.shyiko.mysql.binlog.BinaryLogClient client, Exception ex)
-
-
-
Field Detail
-
offsetContext
private final MySqlOffsetContext offsetContext
-
-
Constructor Detail
-
ReaderThreadLifecycleListener
ReaderThreadLifecycleListener(MySqlOffsetContext offsetContext)
-
-
Method Detail
-
onDisconnect
public void onDisconnect(com.github.shyiko.mysql.binlog.BinaryLogClient client)
- Specified by:
onDisconnectin interfacecom.github.shyiko.mysql.binlog.BinaryLogClient.LifecycleListener
-
onConnect
public void onConnect(com.github.shyiko.mysql.binlog.BinaryLogClient client)
- Specified by:
onConnectin interfacecom.github.shyiko.mysql.binlog.BinaryLogClient.LifecycleListener
-
onCommunicationFailure
public void onCommunicationFailure(com.github.shyiko.mysql.binlog.BinaryLogClient client, Exception ex)- Specified by:
onCommunicationFailurein interfacecom.github.shyiko.mysql.binlog.BinaryLogClient.LifecycleListener
-
onEventDeserializationFailure
public void onEventDeserializationFailure(com.github.shyiko.mysql.binlog.BinaryLogClient client, Exception ex)- Specified by:
onEventDeserializationFailurein interfacecom.github.shyiko.mysql.binlog.BinaryLogClient.LifecycleListener
-
-