Package io.debezium.connector.informix
Class TxLogPosition
java.lang.Object
io.debezium.connector.informix.TxLogPosition
- All Implemented Interfaces:
io.debezium.connector.Nullable,Comparable<TxLogPosition>
public class TxLogPosition
extends Object
implements io.debezium.connector.Nullable, Comparable<TxLogPosition>
Defines a position of change in the transaction log. The position is defined as a combination of commit LSN
and sequence number of the change in the given transaction.
The sequence number is monotonically increasing in transaction but it is not guaranteed across multiple
transactions so the combination is necessary to get total order.
- Author:
- Laoflch Luo, Xiaolin Zhang, Lars M Johansson
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic TxLogPositioncloneAndSet(TxLogPosition position, Lsn commitLsn, Lsn changeLsn, Integer txId, Lsn beginLsn) intstatic TxLogPositioncurrent()booleangetTxId()inthashCode()booleantoString()static TxLogPositionstatic TxLogPositionstatic TxLogPosition
-
Field Details
-
NULL
-
commitLsn
-
changeLsn
-
txId
-
beginLsn
-
-
Constructor Details
-
TxLogPosition
-
-
Method Details
-
current
-
valueOf
-
valueOf
-
valueOf
-
cloneAndSet
public static TxLogPosition cloneAndSet(TxLogPosition position, Lsn commitLsn, Lsn changeLsn, Integer txId, Lsn beginLsn) -
getCommitLsn
-
getChangeLsn
-
getTxId
-
getBeginLsn
-
toString
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<TxLogPosition>
-
isAvailable
public boolean isAvailable()- Specified by:
isAvailablein interfaceio.debezium.connector.Nullable
-