Package io.debezium.connector.sqlserver
Class SqlServerStreamingExecutionContext
java.lang.Object
io.debezium.connector.sqlserver.SqlServerStreamingExecutionContext
Keeps track of the current execution context a partition has while streaming events.
- Author:
- Jacob Gminder
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final AtomicBooleanprivate TxLogPositionprivate final Queue<SqlServerChangeTable>private booleanprivate final AtomicReference<SqlServerChangeTable[]> -
Constructor Summary
ConstructorsConstructorDescriptionSqlServerStreamingExecutionContext(PriorityQueue<SqlServerChangeTable> schemaChangeCheckpoints, AtomicReference<SqlServerChangeTable[]> tablesSlot, TxLogPosition changePosition, AtomicBoolean changesStoppedBeingMonotonic, boolean snapshotCompleted) -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidsetLastProcessedPosition(TxLogPosition lastProcessedPosition) voidsetShouldIncreaseFromLsn(boolean shouldIncreaseFromLsn)
-
Field Details
-
schemaChangeCheckpoints
-
tablesSlot
-
lastProcessedPosition
-
changesStoppedBeingMonotonic
-
shouldIncreaseFromLsn
private boolean shouldIncreaseFromLsn
-
-
Constructor Details
-
SqlServerStreamingExecutionContext
public SqlServerStreamingExecutionContext(PriorityQueue<SqlServerChangeTable> schemaChangeCheckpoints, AtomicReference<SqlServerChangeTable[]> tablesSlot, TxLogPosition changePosition, AtomicBoolean changesStoppedBeingMonotonic, boolean snapshotCompleted)
-
-
Method Details
-
setShouldIncreaseFromLsn
public void setShouldIncreaseFromLsn(boolean shouldIncreaseFromLsn) -
getSchemaChangeCheckpoints
-
getTablesSlot
-
getLastProcessedPosition
-
setLastProcessedPosition
-
getChangesStoppedBeingMonotonic
-
getShouldIncreaseFromLsn
public boolean getShouldIncreaseFromLsn()
-