Class JournalProcessedPosition
java.lang.Object
io.debezium.ibmi.db2.journal.retrieve.JournalProcessedPosition
class for just the position
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static String[]private BigIntegerprivate booleanprivate JournalReceiverprivate Instant -
Constructor Summary
ConstructorsConstructorDescriptionJournalProcessedPosition(JournalPosition p, Instant time, boolean processed) JournalProcessedPosition(String offsetStr, String receiver, String receiverLibrary, Instant time, boolean processed) JournalProcessedPosition(BigInteger offset, JournalReceiver receiver, Instant time, boolean processed) -
Method Summary
Modifier and TypeMethodDescriptionbooleanString[]inthashCode()booleanbooleanbooleanvoidsetJournalReceiver(BigInteger offset, String journalReceiver, String schema, Instant time, boolean processed) setOffset(BigInteger offset, Instant time, boolean processed) voidsetPosition(JournalPosition newPosition, boolean processed) voidsetPosition(JournalProcessedPosition newPosition) setProcessed(boolean processed) toString()withOffset(BigInteger offset, boolean processed)
-
Field Details
-
offset
-
receiver
-
timeOfLastProcessed
-
processed
private boolean processed -
empty
-
-
Constructor Details
-
JournalProcessedPosition
-
JournalProcessedPosition
public JournalProcessedPosition() -
JournalProcessedPosition
-
JournalProcessedPosition
-
JournalProcessedPosition
public JournalProcessedPosition(BigInteger offset, JournalReceiver receiver, Instant time, boolean processed)
-
-
Method Details
-
asJournalPosition
-
processed
public boolean processed() -
getOffset
-
getTimeOfLastProcessed
-
isOffsetSet
public boolean isOffsetSet() -
getReceiver
-
getJournal
-
hashCode
public int hashCode() -
equals
-
toString
-
setOffset
-
setProcessed
-
setJournalReceiver
public void setJournalReceiver(BigInteger offset, String journalReceiver, String schema, Instant time, boolean processed) -
setPosition
-
setPosition
-
withOffset
-
isSameReceiver
-