public class BinlogLifecycleListener extends Object implements com.github.shyiko.mysql.binlog.BinaryLogClient.LifecycleListener
| Modifier and Type | Field and Description |
|---|---|
(package private) AtomicReference<com.github.shyiko.mysql.binlog.BinaryLogClient> |
client |
(package private) AtomicReference<Exception> |
exception |
| Constructor and Description |
|---|
BinlogLifecycleListener() |
| Modifier and Type | Method and Description |
|---|---|
com.github.shyiko.mysql.binlog.BinaryLogClient |
getClient() |
Exception |
getException() |
void |
onCommunicationFailure(com.github.shyiko.mysql.binlog.BinaryLogClient binaryLogClient,
Exception e) |
void |
onConnect(com.github.shyiko.mysql.binlog.BinaryLogClient binaryLogClient) |
void |
onDisconnect(com.github.shyiko.mysql.binlog.BinaryLogClient binaryLogClient) |
void |
onEventDeserializationFailure(com.github.shyiko.mysql.binlog.BinaryLogClient binaryLogClient,
Exception e) |
AtomicReference<com.github.shyiko.mysql.binlog.BinaryLogClient> client
AtomicReference<Exception> exception
public void onConnect(com.github.shyiko.mysql.binlog.BinaryLogClient binaryLogClient)
onConnect in interface com.github.shyiko.mysql.binlog.BinaryLogClient.LifecycleListenerpublic void onCommunicationFailure(com.github.shyiko.mysql.binlog.BinaryLogClient binaryLogClient,
Exception e)
onCommunicationFailure in interface com.github.shyiko.mysql.binlog.BinaryLogClient.LifecycleListenerpublic void onEventDeserializationFailure(com.github.shyiko.mysql.binlog.BinaryLogClient binaryLogClient,
Exception e)
onEventDeserializationFailure in interface com.github.shyiko.mysql.binlog.BinaryLogClient.LifecycleListenerpublic void onDisconnect(com.github.shyiko.mysql.binlog.BinaryLogClient binaryLogClient)
onDisconnect in interface com.github.shyiko.mysql.binlog.BinaryLogClient.LifecycleListenerpublic com.github.shyiko.mysql.binlog.BinaryLogClient getClient()
public Exception getException()
Copyright © 2018 Apache NiFi Project. All rights reserved.