Class WaitUntilReadyOptions
java.lang.Object
com.couchbase.client.java.diagnostics.WaitUntilReadyOptions
Allows to customize the diagnostics report.
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
desiredState
(ClusterState desiredState) Allows to customize the desired state to wait for.serviceTypes
(ServiceType... serviceTypes) Allows to customize the set of services to wait for.serviceTypes
(Set<ServiceType> serviceTypes) Allows to customize the set of services to wait for.static WaitUntilReadyOptions
Creates a new set ofWaitUntilReadyOptions
.
-
Method Details
-
waitUntilReadyOptions
Creates a new set ofWaitUntilReadyOptions
.- Returns:
- options to customize.
-
serviceTypes
Allows to customize the set of services to wait for.If no set is provided, all possible services are waited for.
- Parameters:
serviceTypes
- the service types that should be waited for. If none are specified, wait for all.- Returns:
- the
WaitUntilReadyOptions
to allow method chaining.
-
serviceTypes
Allows to customize the set of services to wait for.If no service types are provided, all possible services are waited for.
- Parameters:
serviceTypes
- the service types that should be waited for. If none are specified, wait for all.- Returns:
- the
WaitUntilReadyOptions
to allow method chaining.
-
desiredState
Allows to customize the desired state to wait for.- Parameters:
desiredState
- the state the sdk should wait for.- Returns:
- the
WaitUntilReadyOptions
to allow method chaining.
-
build
-