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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidabandonTransactions(Duration retention)A callback for the event processor to abandon long running transactions.Scnprocess(Scn startScn, Scn endScn)Process Oracle LogMiner events for a given system change number range.-
Methods inherited from interface java.lang.AutoCloseable
close
-
-
-
-
Method Detail
-
process
Scn process(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
void abandonTransactions(Duration retention)
A callback for the event processor to abandon long running transactions.- Parameters:
retention- the maximum duration in which long running transactions are allowed.
-
-