Interface LogWriterFlushStrategy
-
- All Superinterfaces:
AutoCloseable
- All Known Implementing Classes:
CommitLogWriterFlushStrategy,RacCommitLogWriterFlushStrategy
public interface LogWriterFlushStrategy extends AutoCloseable
Strategy that controls how the Oracle LGWR (LogWriter) process is to be flushed.- Author:
- Chris Cranford
-
-
Field Summary
Fields Modifier and Type Field Description static StringLOGMNR_FLUSH_TABLEThe LogMiner implemenation's flush table name.
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description voidflush(Scn currentScn)Perform the Oracle LGWR process flush.StringgetHost()static booleanisFlushTable(TableId id, String schemaName)Checks whether the suppliedTableIdis the flush table.-
Methods inherited from interface java.lang.AutoCloseable
close
-
-
-
-
Field Detail
-
LOGMNR_FLUSH_TABLE
static final String LOGMNR_FLUSH_TABLE
The LogMiner implemenation's flush table name.- See Also:
- Constant Field Values
-
-
Method Detail
-
getHost
String getHost()
- Returns:
- the host or ip address that will be flushed by the strategy
-
flush
void flush(Scn currentScn) throws InterruptedException
Perform the Oracle LGWR process flush.- Parameters:
currentScn- the current system change number- Throws:
InterruptedException
-
-