| Package | Description |
|---|---|
| io.debezium.connector.mongodb |
| Modifier and Type | Field and Description |
|---|---|
private ReplicaSets |
ReplicaSetMonitorThread.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.
|
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 |
|---|---|
boolean |
ReplicaSets.haveChangedSince(ReplicaSets priorState)
Determine if one or more replica sets has been added or removed since the prior state.
|
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 |
|---|
ReplicaSetMonitorThread(Supplier<ReplicaSets> monitor,
long period,
TimeUnit unit,
Clock clock,
Runnable onStartup,
Consumer<ReplicaSets> onChange) |
ReplicaSetMonitorThread(Supplier<ReplicaSets> monitor,
long period,
TimeUnit unit,
Clock clock,
Runnable onStartup,
Consumer<ReplicaSets> onChange) |
Copyright © 2019 JBoss by Red Hat. All rights reserved.