public class LocalBinlogEventParser extends AbstractMysqlEventParser implements CanalEventParser
| 限定符和类型 | 字段和说明 |
|---|---|
protected int |
bufferSize |
protected java.lang.String |
directory |
protected AuthenticationInfo |
masterInfo |
protected EntryPosition |
masterPosition |
protected MysqlConnection |
metaConnection |
protected boolean |
needWait |
protected TableMetaCache |
tableMetaCache |
BINLOG_START_OFFEST, connectionCharset, connectionCharsetNumber, enableTsdb, filterQueryDcl, filterQueryDdl, filterQueryDml, filterRows, filterTableError, receivedBinlogBytes, tableMetaTSDB, tableMetaTSDBFactory, tsdbSnapshotExpire, tsdbSnapshotInterval, tsdbSpringXml, useDruidDdlFilterbinlogParser, consumedEventCount, destination, detectingEnable, detectingIntervalInSeconds, eventBlackFilter, eventFilter, eventSink, exception, fieldBlackFilter, fieldBlackFilterMap, fieldFilter, fieldFilterMap, handler, heartBeatTimerTask, isGTIDMode, lastEntryTime, logger, logPositionManager, multiStageCoprocessor, needTransactionPosition, parallel, parallelBufferSize, parallelThreadSize, parsedEventCount, parserExceptionHandler, parseThread, parsingInterval, processingInterval, profilingEnabled, receivedEventCount, runningInfo, serverId, timer, transactionBuffer, transactionSizerunning| 构造器和说明 |
|---|
LocalBinlogEventParser() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
afterDump(ErosaConnection connection) |
protected ErosaConnection |
buildErosaConnection() |
protected EntryPosition |
findStartPosition(ErosaConnection connection) |
boolean |
isNeedWait() |
protected void |
preDump(ErosaConnection connection) |
void |
setBufferSize(int bufferSize) |
void |
setDirectory(java.lang.String directory) |
void |
setLogPositionManager(CanalLogPositionManager logPositionManager) |
void |
setMasterInfo(AuthenticationInfo masterInfo) |
void |
setMasterPosition(EntryPosition masterPosition) |
void |
setNeedWait(boolean needWait) |
void |
start() |
void |
stop() |
buildMultiStageCoprocessor, buildParser, getEventsPublishBlockingTime, getReceivedBinlogBytes, getTsdbSnapshotExpire, getTsdbSnapshotInterval, isUseDruidDdlFilter, processTableMeta, setConnectionCharset, setConnectionCharset, setConnectionCharsetNumber, setEnableTsdb, setEventBlackFilter, setEventFilter, setFieldBlackFilter, setFieldFilter, setFilterQueryDcl, setFilterQueryDdl, setFilterQueryDml, setFilterRows, setFilterTableError, setTableMetaTSDBFactory, setTsdbSnapshotExpire, setTsdbSnapshotInterval, setTsdbSpringXml, setUseDruidDdlFilterbuildHeartBeatTimeTask, buildLastPosition, buildLastTransactionPosition, consumeTheEventAndProfilingIfNecessary, getAlarmHandler, getBinlogParser, getConsumedEventCount, getException, getFieldBlackFilter, getFieldBlackFilterMap, getFieldFilter, getFieldFilterMap, getLogPositionManager, getParallelBufferSize, getParallelThreadSize, getParsedEventCount, getParserExceptionHandler, getParsingInterval, getProcessingInterval, getProfilingEnabled, getServerId, isGTIDMode, isParallel, parseAndProfilingIfNecessary, processDumpError, processSinkError, sendAlarm, setAlarmHandler, setBinlogParser, setDestination, setDetectingEnable, setDetectingIntervalInSeconds, setEventSink, setIsGTIDMode, setParallel, setParallelBufferSize, setParallelThreadSize, setParserExceptionHandler, setProfilingEnabled, setServerId, setTransactionSize, startHeartBeat, stopHeartBeatisStartclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisStartprotected AuthenticationInfo masterInfo
protected EntryPosition masterPosition
protected MysqlConnection metaConnection
protected TableMetaCache tableMetaCache
protected java.lang.String directory
protected boolean needWait
protected int bufferSize
protected ErosaConnection buildErosaConnection()
buildErosaConnection 在类中 AbstractEventParserprotected void preDump(ErosaConnection connection)
preDump 在类中 AbstractEventParserprotected void afterDump(ErosaConnection connection)
afterDump 在类中 AbstractEventParserpublic void start()
throws CanalParseException
start 在接口中 CanalLifeCyclestart 在类中 AbstractMysqlEventParserCanalParseExceptionpublic void stop()
stop 在接口中 CanalLifeCyclestop 在类中 AbstractMysqlEventParserprotected EntryPosition findStartPosition(ErosaConnection connection)
findStartPosition 在类中 AbstractEventParserpublic void setLogPositionManager(CanalLogPositionManager logPositionManager)
public void setDirectory(java.lang.String directory)
public void setBufferSize(int bufferSize)
public void setMasterPosition(EntryPosition masterPosition)
public void setMasterInfo(AuthenticationInfo masterInfo)
public boolean isNeedWait()
public void setNeedWait(boolean needWait)
Copyright © 2019. All rights reserved.