Interface LogMinerEventProcessor

All Superinterfaces:
AutoCloseable
All Known Implementing Classes:
AbstractInfinispanLogMinerEventProcessor, AbstractLogMinerEventProcessor, EmbeddedInfinispanLogMinerEventProcessor, MemoryLogMinerEventProcessor, RemoteInfinispanLogMinerEventProcessor

public interface LogMinerEventProcessor extends AutoCloseable
Contract that defines the interface for processing events from Oracle LogMiner.
Author:
Chris Cranford
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    A callback for the event processor to abandon long running transactions.
    process(OraclePartition partition, Scn startScn, Scn endScn)
    Process Oracle LogMiner events for a given system change number range.

    Methods inherited from interface java.lang.AutoCloseable

    close
  • Method Details

    • process

      Scn process(OraclePartition partition, Scn startScn, Scn endScn) throws SQLException, InterruptedException
      Process Oracle LogMiner events for a given system change number range.
      Parameters:
      startScn - the starting system change number, must not be null
      endScn - the ending system change number, must not be null
      Returns:
      the next iteration's starting system change number, never null
      Throws:
      SQLException
      InterruptedException
    • abandonTransactions

      void abandonTransactions(Duration retention) throws InterruptedException
      A callback for the event processor to abandon long running transactions.
      Parameters:
      retention - the maximum duration in which long running transactions are allowed.
      Throws:
      InterruptedException