Interface LogWriterFlushStrategy
- All Superinterfaces:
AutoCloseable
- All Known Implementing Classes:
CommitLogWriterFlushStrategy,RacCommitLogWriterFlushStrategy,ReadOnlyLogWriterFlushStrategy
Strategy that controls how the Oracle LGWR (LogWriter) process is to be flushed.
- Author:
- Chris Cranford
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe LogMiner implemenation's flush table name. -
Method Summary
Methods inherited from interface java.lang.AutoCloseable
close
-
Field Details
-
LOGMNR_FLUSH_TABLE
The LogMiner implemenation's flush table name.- See Also:
-
-
Method Details
-
getHost
String getHost()- Returns:
- the host or ip address that will be flushed by the strategy
-
flush
Perform the Oracle LGWR process flush.- Parameters:
currentScn- the current system change number- Throws:
InterruptedException
-
isFlushTable
Checks whether the suppliedTableIdis the flush table.- Parameters:
id- the table idschemaName- the schema name- Returns:
- true if the table is the flush table, false otherwise
-