Interface LogMinerEventProcessor
- All Superinterfaces:
AutoCloseable
- All Known Implementing Classes:
AbstractInfinispanLogMinerEventProcessor,AbstractLogMinerEventProcessor,EmbeddedInfinispanLogMinerEventProcessor,MemoryLogMinerEventProcessor,RemoteInfinispanLogMinerEventProcessor
Contract that defines the interface for processing events from Oracle LogMiner.
- Author:
- Chris Cranford
-
Method Summary
Modifier and TypeMethodDescriptionvoidabandonTransactions(Duration retention) 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 benullendScn- the ending system change number, must not benull- Returns:
- the next iteration's starting system change number, never
null - Throws:
SQLExceptionInterruptedException
-
abandonTransactions
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
-