Class NeverHistoryRecorder
- java.lang.Object
-
- io.debezium.connector.oracle.logminer.NeverHistoryRecorder
-
- All Implemented Interfaces:
HistoryRecorder,AutoCloseable
public class NeverHistoryRecorder extends Object implements HistoryRecorder
A history recorder implementation that does not do any recording.- Author:
- Chris Cranford
-
-
Constructor Summary
Constructors Constructor Description NeverHistoryRecorder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voidflush()Flushes the LogMiner history captured by the recorder.voidprepare(OracleStreamingChangeEventSourceMetrics streamingMetrics, JdbcConfiguration jdbcConfiguration, long retentionHours)Prepares the history recordervoidrecord(Scn scn, String tableName, String segOwner, int operationCode, Timestamp changeTime, String transactionId, int csf, String redoSql)Records the LogMiner entry.
-
-
-
Method Detail
-
prepare
public void prepare(OracleStreamingChangeEventSourceMetrics streamingMetrics, JdbcConfiguration jdbcConfiguration, long retentionHours)
Description copied from interface:HistoryRecorderPrepares the history recorder- Specified by:
preparein interfaceHistoryRecorder- Parameters:
streamingMetrics- the streaming metricsjdbcConfiguration- the jdbc configurationretentionHours- the history retention hours
-
record
public void record(Scn scn, String tableName, String segOwner, int operationCode, Timestamp changeTime, String transactionId, int csf, String redoSql)
Description copied from interface:HistoryRecorderRecords the LogMiner entry.- Specified by:
recordin interfaceHistoryRecorder- Parameters:
scn- the entry's SCNtableName- the table namesegOwner- the table owneroperationCode- the operation codechangeTime- the time the operation occurredtransactionId- the transaction identifiercsf- the continuation sequence flagredoSql- the redo SQL that performed the operation
-
flush
public void flush()
Description copied from interface:HistoryRecorderFlushes the LogMiner history captured by the recorder.- Specified by:
flushin interfaceHistoryRecorder
-
close
public void close()
- Specified by:
closein interfaceAutoCloseable
-
-