Class ReadOnlyLogWriterFlushStrategy
java.lang.Object
io.debezium.connector.oracle.logminer.logwriter.ReadOnlyLogWriterFlushStrategy
- All Implemented Interfaces:
LogWriterFlushStrategy,AutoCloseable
A simple strategy that performs no operations to attempt to flush the Oracle redo
log writer buffers (LGWR) because the connection is operating in read-only mode.
- Author:
- Chris Cranford
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ReadOnlyLogWriterFlushStrategy
public ReadOnlyLogWriterFlushStrategy()
-
-
Method Details
-
getHost
- Specified by:
getHostin interfaceLogWriterFlushStrategy- Returns:
- the host or ip address that will be flushed by the strategy
-
flush
Description copied from interface:LogWriterFlushStrategyPerform the Oracle LGWR process flush.- Specified by:
flushin interfaceLogWriterFlushStrategy- Parameters:
currentScn- the current system change number- Throws:
InterruptedException
-
close
- Specified by:
closein interfaceAutoCloseable- Throws:
Exception
-