public class BinlogEventListener extends Object implements com.github.shyiko.mysql.binlog.BinaryLogClient.EventListener
| Modifier and Type | Field and Description |
|---|---|
private com.github.shyiko.mysql.binlog.BinaryLogClient |
client |
private BlockingQueue<RawBinlogEvent> |
queue |
private static int |
QUEUE_OFFER_TIMEOUT_MSEC |
protected AtomicBoolean |
stopNow |
| Constructor and Description |
|---|
BinlogEventListener(com.github.shyiko.mysql.binlog.BinaryLogClient client,
BlockingQueue<RawBinlogEvent> q) |
| Modifier and Type | Method and Description |
|---|---|
void |
onEvent(com.github.shyiko.mysql.binlog.event.Event event) |
void |
start() |
void |
stop() |
protected final AtomicBoolean stopNow
private static final int QUEUE_OFFER_TIMEOUT_MSEC
private final BlockingQueue<RawBinlogEvent> queue
private final com.github.shyiko.mysql.binlog.BinaryLogClient client
public BinlogEventListener(com.github.shyiko.mysql.binlog.BinaryLogClient client,
BlockingQueue<RawBinlogEvent> q)
Copyright © 2022 Apache NiFi Project. All rights reserved.