public class NeverHistoryRecorder extends Object implements HistoryRecorder
| Constructor and Description |
|---|
NeverHistoryRecorder() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
flush()
Flushes the LogMiner history captured by the recorder.
|
void |
prepare(LogMinerMetrics metrics,
JdbcConfiguration jdbcConfiguration,
long retentionHours)
Prepares the history recorder
|
void |
record(Scn scn,
String tableName,
String segOwner,
int operationCode,
Timestamp changeTime,
String transactionId,
int csf,
String redoSql)
Records the LogMiner entry.
|
public void prepare(LogMinerMetrics metrics, JdbcConfiguration jdbcConfiguration, long retentionHours)
HistoryRecorderprepare in interface HistoryRecordermetrics - the LogMiner jmx metricsjdbcConfiguration - the jdbc configurationretentionHours - the history retention hourspublic void record(Scn scn, String tableName, String segOwner, int operationCode, Timestamp changeTime, String transactionId, int csf, String redoSql)
HistoryRecorderrecord in interface HistoryRecorderscn - 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 operationpublic void flush()
HistoryRecorderflush in interface HistoryRecorderpublic void close()
close in interface AutoCloseableCopyright © 2021 JBoss by Red Hat. All rights reserved.