@Incubating public interface HistoryRecorder extends AutoCloseable
| Modifier and Type | Method and Description |
|---|---|
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.
|
closevoid prepare(LogMinerMetrics metrics, JdbcConfiguration jdbcConfiguration, long retentionHours)
metrics - the LogMiner jmx metricsjdbcConfiguration - the jdbc configurationretentionHours - the history retention hoursvoid record(Scn scn, String tableName, String segOwner, int operationCode, Timestamp changeTime, String transactionId, int csf, String redoSql)
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 operationvoid flush()
Copyright © 2021 JBoss by Red Hat. All rights reserved.