Class OcpMongoReplicaSetMember
java.lang.Object
io.debezium.testing.system.tools.databases.mongodb.sharded.OcpMongoDeploymentManager
io.debezium.testing.system.tools.databases.mongodb.sharded.OcpMongoReplicaSetMember
- All Implemented Interfaces:
AutoCloseable,org.testcontainers.lifecycle.Startable
Mongo deployment, that is part of a replica set
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionOcpMongoReplicaSetMember(io.fabric8.kubernetes.api.model.apps.Deployment deployment, io.fabric8.kubernetes.api.model.Service service, String serviceUrl, io.fabric8.openshift.client.OpenShiftClient ocp, String project, int replicaNum) -
Method Summary
Methods inherited from class io.debezium.testing.system.tools.databases.mongodb.sharded.OcpMongoDeploymentManager
getDeployment, getHostname, getOcp, getOcpUtils, getProject, getService, getServiceUrl, start, stop, waitForStoppedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.testcontainers.lifecycle.Startable
close, getDependencies
-
Field Details
-
replicaNum
private final int replicaNum
-
-
Constructor Details
-
OcpMongoReplicaSetMember
-
-
Method Details
-
getReplicaNum
public int getReplicaNum() -
builder
-