Class MemoryTransaction
java.lang.Object
io.debezium.connector.oracle.logminer.processor.AbstractTransaction
io.debezium.connector.oracle.logminer.processor.memory.MemoryTransaction
- All Implemented Interfaces:
Transaction
A concrete implementation of a
AbstractTransaction for the JVM heap memory processor.- Author:
- Chris Cranford
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class io.debezium.connector.oracle.logminer.processor.AbstractTransaction
equals, getChangeTime, getRedoThreadId, getStartScn, getTransactionId, getUserName, hashCodeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface io.debezium.connector.oracle.logminer.processor.Transaction
getEventId
-
Field Details
-
numberOfEvents
private int numberOfEvents
-
-
Constructor Details
-
MemoryTransaction
-
-
Method Details
-
getNumberOfEvents
public int getNumberOfEvents()Description copied from interface:TransactionGet the number of events participating in the transaction.- Returns:
- the number of transaction events
-
getNextEventId
public int getNextEventId()Description copied from interface:TransactionHelper method to get the next event identifier for the transaction.- Returns:
- the next event identifier
-
start
public void start()Description copied from interface:TransactionHelper method that resets the event identifier back to0.This should be called when a transaction
STARTevent is detected in the event stream. This is required when LOB support is enabled to facilitate the re-mining of existing events. -
toString
- Overrides:
toStringin classAbstractTransaction
-