Uses of Class
io.debezium.connector.mongodb.ReplicaSets
Packages that use ReplicaSets
-
Uses of ReplicaSets in io.debezium.connector.mongodb
Fields in io.debezium.connector.mongodb declared as ReplicaSetsModifier and TypeFieldDescriptionprivate final ReplicaSetsMongoDbChangeEventSourceFactory.replicaSetsprivate final ReplicaSetsMongoDbConnectorConfig.replicaSetsprivate final ReplicaSetsMongoDbIncrementalSnapshotChangeEventSource.replicaSetsprivate final ReplicaSetsMongoDbOffsetContext.Loader.replicaSetsprivate final ReplicaSetsMongoDbSnapshotChangeEventSource.replicaSetsprivate final ReplicaSetsMongoDbStreamingChangeEventSource.replicaSetsprivate ReplicaSetsReplicaSetMonitorThread.replicaSetsFields in io.debezium.connector.mongodb with type parameters of type ReplicaSetsModifier and TypeFieldDescriptionprivate final Function<com.mongodb.client.MongoClient,ReplicaSets> ReplicaSetMonitorThread.monitorprivate final Consumer<ReplicaSets>ReplicaSetMonitorThread.onChangeMethods in io.debezium.connector.mongodb that return ReplicaSetsModifier and TypeMethodDescriptionstatic ReplicaSetsReplicaSets.empty()Get an instance that contains no replica sets.MongoDbConnectorConfig.getReplicaSets()private ReplicaSetsMongoDbConnectorTask.getReplicaSets(MongoDbConnectorConfig connectorConfig) ReplicaSetDiscovery.getReplicaSets(com.mongodb.client.MongoClient client) Connect to the shard cluster or replica set defined by the seed addresses, and obtain the specifications for each of the replica sets.ReplicaSetMonitorThread.getReplicaSets(long timeout, TimeUnit unit) Get the information about each of the replica sets.static ReplicaSetsReplicaSets.of(ReplicaSet... replicaSets) private static ReplicaSetsMongoDbConnectorConfig.resolveReplicaSets(Configuration config, MongoDbConnectorConfig.ConnectionMode connectionMode) Methods in io.debezium.connector.mongodb with parameters of type ReplicaSetsModifier and TypeMethodDescriptionprivate MongoDbOffsetContextMongoDbConnectorTask.getPreviousOffset(MongoDbConnectorConfig connectorConfig, ReplicaSets replicaSets) booleanReplicaSets.haveChangedSince(ReplicaSets priorState) Determine if one or more replica sets has been added or removed since the prior state.protected voidMongoDbConnector.replicaSetsChanged(ReplicaSets replicaSets) Method parameters in io.debezium.connector.mongodb with type arguments of type ReplicaSetsModifier and TypeMethodDescriptionvoidReplicaSets.subdivide(int maxSubdivisionCount, Consumer<ReplicaSets> subdivisionConsumer) Subdivide this collection of replica sets into the maximum number of groups.Constructors in io.debezium.connector.mongodb with parameters of type ReplicaSetsModifierConstructorDescriptionLoader(MongoDbConnectorConfig connectorConfig, ReplicaSets replicaSets) MongoDbChangeEventSourceFactory(MongoDbConnectorConfig configuration, ErrorHandler errorHandler, EventDispatcher<MongoDbPartition, CollectionId> dispatcher, Clock clock, ReplicaSets replicaSets, MongoDbTaskContext taskContext, MongoDbSchema schema) MongoDbIncrementalSnapshotChangeEventSource(MongoDbConnectorConfig config, MongoDbTaskContext taskContext, MongoDbConnection.ChangeEventSourceConnectionFactory connections, ReplicaSets replicaSets, EventDispatcher<MongoDbPartition, CollectionId> dispatcher, MongoDbSchema collectionSchema, Clock clock, SnapshotProgressListener<MongoDbPartition> progressListener, DataChangeEventListener<MongoDbPartition> dataChangeEventListener) MongoDbSnapshotChangeEventSource(MongoDbConnectorConfig connectorConfig, MongoDbTaskContext taskContext, MongoDbConnection.ChangeEventSourceConnectionFactory connections, ReplicaSets replicaSets, EventDispatcher<MongoDbPartition, CollectionId> dispatcher, Clock clock, SnapshotProgressListener<MongoDbPartition> snapshotProgressListener, ErrorHandler errorHandler) MongoDbStreamingChangeEventSource(MongoDbConnectorConfig connectorConfig, MongoDbTaskContext taskContext, MongoDbConnection.ChangeEventSourceConnectionFactory connections, ReplicaSets replicaSets, EventDispatcher<MongoDbPartition, CollectionId> dispatcher, ErrorHandler errorHandler, Clock clock) Constructor parameters in io.debezium.connector.mongodb with type arguments of type ReplicaSetsModifierConstructorDescriptionReplicaSetMonitorThread(ConnectionContext connectionContext, Function<com.mongodb.client.MongoClient, ReplicaSets> monitor, Duration period, Clock clock, Runnable onStartup, Consumer<ReplicaSets> onChange) ReplicaSetMonitorThread(ConnectionContext connectionContext, Function<com.mongodb.client.MongoClient, ReplicaSets> monitor, Duration period, Clock clock, Runnable onStartup, Consumer<ReplicaSets> onChange)