Class WaitUntilReadyHelper
java.lang.Object
com.couchbase.client.core.diagnostics.WaitUntilReadyHelper
Helper class to perform the "wait until ready" logic.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
static class
Encapsulates the state of where a wait until ready flow is in. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic CompletableFuture<Void>
waitUntilReady
(Core core, Set<ServiceType> serviceTypes, Duration timeout, ClusterState desiredState, Optional<String> bucketName)
-
Constructor Details
-
WaitUntilReadyHelper
public WaitUntilReadyHelper()
-
-
Method Details
-
waitUntilReady
public static CompletableFuture<Void> waitUntilReady(Core core, @Nullable Set<ServiceType> serviceTypes, Duration timeout, ClusterState desiredState, Optional<String> bucketName)
-