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