| Package | Description |
|---|---|
| io.debezium.connector.mongodb |
| Modifier and Type | Field and Description |
|---|---|
private ReplicaSets |
ReplicaSetMonitorThread.replicaSets |
private ReplicaSets |
MongoDbStreamingChangeEventSource.replicaSets |
private ReplicaSets |
MongoDbSnapshotChangeEventSource.replicaSets |
private ReplicaSets |
MongoDbOffsetContext.Loader.replicaSets |
private ReplicaSets |
MongoDbChangeEventSourceFactory.replicaSets |
protected ReplicaSets |
ConnectionContext.replicaSets |
| Modifier and Type | Field and Description |
|---|---|
private Supplier<ReplicaSets> |
ReplicaSetMonitorThread.monitor |
private Consumer<ReplicaSets> |
ReplicaSetMonitorThread.onChange |
| Modifier and Type | Method and Description |
|---|---|
static ReplicaSets |
ReplicaSets.empty()
Get an instance that contains no replica sets.
|
ReplicaSets |
ReplicaSetDiscovery.getReplicaSets()
Connect to the shard cluster or replica set defined by the seed addresses, and obtain the specifications for each of the
replica sets.
|
private ReplicaSets |
MongoDbConnectorTask.getReplicaSets(Configuration config) |
ReplicaSets |
ReplicaSetMonitorThread.getReplicaSets(long timeout,
TimeUnit unit)
Get the information about each of the replica sets.
|
static ReplicaSets |
ReplicaSets.parse(String hosts)
Parse the supplied string for the information about the replica set hosts.
|
ReplicaSets |
ConnectionContext.replicaSets() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
MongoDbSnapshotChangeEventSource.determineSnapshotOffsets(MongoDbSnapshotChangeEventSource.MongoDbSnapshotContext ctx,
ReplicaSets replicaSets) |
private MongoDbOffsetContext |
MongoDbConnectorTask.getPreviousOffsets(MongoDbConnectorConfig connectorConfig,
ReplicaSets replicaSets) |
boolean |
ReplicaSets.haveChangedSince(ReplicaSets priorState)
Determine if one or more replica sets has been added or removed since the prior state.
|
protected MongoDbOffsetContext |
MongoDbStreamingChangeEventSource.initializeOffsets(MongoDbConnectorConfig connectorConfig,
ReplicaSets replicaSets) |
protected void |
MongoDbConnector.replicaSetsChanged(ReplicaSets replicaSets) |
| Modifier and Type | Method and Description |
|---|---|
void |
ReplicaSets.subdivide(int maxSubdivisionCount,
Consumer<ReplicaSets> subdivisionConsumer)
Subdivide this collection of replica sets into the maximum number of groups.
|
| Constructor and Description |
|---|
Loader(MongoDbConnectorConfig connectorConfig,
ReplicaSets replicaSets) |
MongoDbChangeEventSourceFactory(MongoDbConnectorConfig configuration,
ErrorHandler errorHandler,
EventDispatcher<CollectionId> dispatcher,
Clock clock,
ReplicaSets replicaSets,
MongoDbTaskContext taskContext) |
MongoDbSnapshotChangeEventSource(MongoDbConnectorConfig connectorConfig,
MongoDbTaskContext taskContext,
ReplicaSets replicaSets,
MongoDbOffsetContext previousOffset,
EventDispatcher<CollectionId> dispatcher,
Clock clock,
SnapshotProgressListener snapshotProgressListener,
ErrorHandler errorHandler) |
MongoDbStreamingChangeEventSource(MongoDbConnectorConfig connectorConfig,
MongoDbTaskContext taskContext,
ReplicaSets replicaSets,
MongoDbOffsetContext offsetContext,
EventDispatcher<CollectionId> dispatcher,
ErrorHandler errorHandler,
Clock clock) |
| Constructor and Description |
|---|
ReplicaSetMonitorThread(Supplier<ReplicaSets> monitor,
Duration period,
Clock clock,
Runnable onStartup,
Consumer<ReplicaSets> onChange) |
ReplicaSetMonitorThread(Supplier<ReplicaSets> monitor,
Duration period,
Clock clock,
Runnable onStartup,
Consumer<ReplicaSets> onChange) |
Copyright © 2021 JBoss by Red Hat. All rights reserved.