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 final String
    The LogMiner implemenation's flush table name.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    flush(Scn currentScn)
    Perform the Oracle LGWR process flush.
     
    static boolean
    isFlushTable(TableId id, String schemaName)
    Checks whether the supplied TableId is the flush table.

    Methods inherited from interface java.lang.AutoCloseable

    close
  • Field Details

    • LOGMNR_FLUSH_TABLE

      static final String 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

      void flush(Scn currentScn) throws InterruptedException
      Perform the Oracle LGWR process flush.
      Parameters:
      currentScn - the current system change number
      Throws:
      InterruptedException
    • isFlushTable

      static boolean isFlushTable(TableId id, String schemaName)
      Checks whether the supplied TableId is the flush table.
      Parameters:
      id - the table id
      schemaName - the schema name
      Returns:
      true if the table is the flush table, false otherwise