Package io.debezium.connector.mongodb
Class MongoDbStreamingChangeEventSource.ReplicaSetOplogContext
java.lang.Object
io.debezium.connector.mongodb.MongoDbStreamingChangeEventSource.ReplicaSetOplogContext
- Enclosing class:
- MongoDbStreamingChangeEventSource
A context associated with a given replica set oplog read operation.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate org.bson.BsonTimestampprivate longprivate final ReplicaSetOffsetContextprivate final ReplicaSetPartitionprivate final ConnectionContext.MongoPrimaryprivate final ReplicaSet -
Constructor Summary
ConstructorsConstructorDescriptionReplicaSetOplogContext(ReplicaSetPartition partition, ReplicaSetOffsetContext offsetContext, ConnectionContext.MongoPrimary primary, ReplicaSet replicaSet) -
Method Summary
Modifier and TypeMethodDescription(package private) org.bson.BsonTimestamplong(package private) ReplicaSetOffsetContext(package private) ReplicaSetPartition(package private) ConnectionContext.MongoPrimary(package private) StringvoidsetIncompleteEventTimestamp(org.bson.BsonTimestamp incompleteEventTimestamp) voidsetIncompleteTxOrder(long incompleteTxOrder)
-
Field Details
-
partition
-
offset
-
-
replicaSet
-
incompleteEventTimestamp
private org.bson.BsonTimestamp incompleteEventTimestamp -
incompleteTxOrder
private long incompleteTxOrder
-
-
Constructor Details
-
ReplicaSetOplogContext
ReplicaSetOplogContext(ReplicaSetPartition partition, ReplicaSetOffsetContext offsetContext, ConnectionContext.MongoPrimary primary, ReplicaSet replicaSet)
-
-
Method Details
-
getPartition
ReplicaSetPartition getPartition() -
getOffset
ReplicaSetOffsetContext getOffset() -
getPrimary
ConnectionContext.MongoPrimary getPrimary() -
getReplicaSetName
String getReplicaSetName() -
getIncompleteEventTimestamp
org.bson.BsonTimestamp getIncompleteEventTimestamp() -
setIncompleteEventTimestamp
public void setIncompleteEventTimestamp(org.bson.BsonTimestamp incompleteEventTimestamp) -
getIncompleteTxOrder
public long getIncompleteTxOrder() -
setIncompleteTxOrder
public void setIncompleteTxOrder(long incompleteTxOrder)
-