Uses of Class
io.debezium.connector.mongodb.connection.ReplicaSet
Packages that use ReplicaSet
-
Uses of ReplicaSet in io.debezium.connector.mongodb
Fields in io.debezium.connector.mongodb with type parameters of type ReplicaSetModifier and TypeFieldDescriptionprivate final Map<ReplicaSet,ReplicaSetOffsetContext> MongoDbOffsetContext.replicaSetOffsetContextsprivate final Map<ReplicaSet,ReplicaSetPartition> MongoDbOffsetContext.replicaSetPartitionsprivate final List<ReplicaSet>ReplicaSets.replicaSetsprivate final List<ReplicaSet>MongoDbSnapshotChangeEventSource.MongoDbSnapshottingTask.replicaSetsToSnapshotMethods in io.debezium.connector.mongodb that return types with arguments of type ReplicaSetModifier and TypeMethodDescriptionReplicaSets.all()Get a copy of all of theReplicaSetobjects.MongoDbSnapshotChangeEventSource.MongoDbSnapshottingTask.getReplicaSetsToSnapshot()Methods in io.debezium.connector.mongodb with parameters of type ReplicaSetModifier and TypeMethodDescriptionprivate voidMongoDbSnapshotChangeEventSource.createDataEvents(ChangeEventSource.ChangeEventSourceContext sourceCtx, MongoDbSnapshotChangeEventSource.MongoDbSnapshotContext snapshotCtx, ReplicaSet replicaSet, MongoDbConnection mongo) private voidMongoDbSnapshotChangeEventSource.createDataEventsForCollection(ChangeEventSource.ChangeEventSourceContext sourceContext, MongoDbSnapshotChangeEventSource.MongoDbSnapshotContext snapshotContext, EventDispatcher.SnapshotReceiver<MongoDbPartition> snapshotReceiver, ReplicaSet replicaSet, CollectionId collectionId, MongoDbConnection mongo) private voidMongoDbSnapshotChangeEventSource.createDataEventsForReplicaSet(ChangeEventSource.ChangeEventSourceContext sourceContext, MongoDbSnapshotChangeEventSource.MongoDbSnapshotContext snapshotContext, EventDispatcher.SnapshotReceiver<MongoDbPartition> snapshotReceiver, ReplicaSet replicaSet, MongoDbConnection mongo) Dispatches the data change events for the records of a single replica-set.private ChangeRecordEmitter<MongoDbPartition>MongoDbSnapshotChangeEventSource.getChangeRecordEmitter(AbstractSnapshotChangeEventSource.SnapshotContext<MongoDbPartition, MongoDbOffsetContext> snapshotContext, CollectionId collectionId, org.bson.BsonDocument document, ReplicaSet replicaSet) MongoDbOffsetContext.getReplicaSetOffsetContext(ReplicaSet replicaSet) Get aReplicaSetOffsetContextinstance for a givenReplicaSet.MongoDbOffsetContext.getReplicaSetPartition(ReplicaSet replicaSet) Get aReplicaSetPartitioninstance for a givenReplicaSet.private voidMongoDbSnapshotChangeEventSource.initReplicaSetSnapshotStartOffsets(MongoDbSnapshotChangeEventSource.MongoDbSnapshotContext snapshotCtx, ReplicaSet replicaSet, MongoDbConnection mongo) private booleanMongoDbSnapshotChangeEventSource.isSnapshotExpected(MongoDbPartition partition, ReplicaSet replicaSet, MongoDbOffsetContext offsetContext) private booleanMongoDbSnapshotChangeEventSource.isValidResumeToken(MongoDbPartition partition, ReplicaSet replicaSet, org.bson.BsonDocument token) static ReplicaSetsReplicaSets.of(ReplicaSet... replicaSets) private voidMongoDbStreamingChangeEventSource.readChangeStream(com.mongodb.client.MongoClient client, ReplicaSet replicaSet, ChangeEventSource.ChangeEventSourceContext context, MongoDbOffsetContext offsetContext) private voidMongoDbSnapshotChangeEventSource.snapshotReplicaSet(ChangeEventSource.ChangeEventSourceContext sourceCtx, MongoDbSnapshotChangeEventSource.MongoDbSnapshotContext snapshotCtx, ReplicaSet replicaSet) private voidMongoDbStreamingChangeEventSource.streamChangesForReplicaSet(ChangeEventSource.ChangeEventSourceContext context, MongoDbPartition partition, ReplicaSet replicaSet, MongoDbOffsetContext offsetContext) Method parameters in io.debezium.connector.mongodb with type arguments of type ReplicaSetModifier and TypeMethodDescriptionvoidReplicaSets.onEachReplicaSet(Consumer<ReplicaSet> function) Perform the supplied function on each of the replica setsprivate voidReplicaSetDiscovery.readReplicaSetsFromCluster(Set<ReplicaSet> replicaSetSpecs, com.mongodb.connection.ClusterDescription clusterDescription, ConnectionContext connectionContext) private voidReplicaSetDiscovery.readReplicaSetsFromShardedCluster(Set<ReplicaSet> replicaSetSpecs, com.mongodb.client.MongoClient client) private voidReplicaSetDiscovery.readShardedClusterAsReplicaSet(Set<ReplicaSet> replicaSetSpecs, ConnectionContext connectionContext) private voidMongoDbStreamingChangeEventSource.streamChangesForReplicaSets(ChangeEventSource.ChangeEventSourceContext context, MongoDbPartition partition, List<ReplicaSet> replicaSets, MongoDbOffsetContext offsetContext) Constructors in io.debezium.connector.mongodb with parameters of type ReplicaSetModifierConstructorDescriptionReplicaSetOffsetContext(MongoDbOffsetContext offsetContext, ReplicaSet replicaSet, SourceInfo sourceInfo, IncrementalSnapshotContext<CollectionId> incrementalSnapshotContext) Constructor parameters in io.debezium.connector.mongodb with type arguments of type ReplicaSetModifierConstructorDescriptionMongoDbSnapshottingTask(List<ReplicaSet> replicaSetsToSnapshot) ReplicaSets(Collection<ReplicaSet> rsSpecs) Create a set of replica set specifications. -
Uses of ReplicaSet in io.debezium.connector.mongodb.connection
Methods in io.debezium.connector.mongodb.connection that return ReplicaSetModifier and TypeMethodDescriptionstatic ReplicaSetReplicaSet.forCluster(com.mongodb.ConnectionString connectionString) Creates a fake replica set representing entire sharded clusterstatic ReplicaSetReplicaSet.forCluster(String connectionString) Same asforCluster(ConnectionString)Methods in io.debezium.connector.mongodb.connection with parameters of type ReplicaSetModifier and TypeMethodDescriptioncom.mongodb.client.MongoClientMongoDbClientFactory.client(ReplicaSet replicaSet, com.mongodb.ReadPreference preference) intReplicaSet.compareTo(ReplicaSet that) ConnectionContext.connect(ReplicaSet replicaSet, com.mongodb.ReadPreference preference, Filters filters, MongoDbConnection.ErrorHandler errorHandler) Obtain a client scoped to specific replica set.MongoDbConnection.ChangeEventSourceConnectionFactory.get(ReplicaSet replicaSet, MongoDbPartition partition) Create connection for given replica set and partitionConstructors in io.debezium.connector.mongodb.connection with parameters of type ReplicaSetModifierConstructorDescriptionprotectedMongoDbConnection(ReplicaSet replicaSet, com.mongodb.ReadPreference readPreference, MongoDbClientFactory clientFactory, Filters filters, MongoDbConnection.ErrorHandler errorHandler)