Class WaitUntilReadyOptions
java.lang.Object
com.couchbase.client.java.diagnostics.WaitUntilReadyOptions
public class WaitUntilReadyOptions extends Object
Allows to customize the diagnostics report.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classWaitUntilReadyOptions.Built -
Method Summary
Modifier and Type Method Description WaitUntilReadyOptions.Builtbuild()WaitUntilReadyOptionsdesiredState(ClusterState desiredState)Allows to customize the desired state to wait for.WaitUntilReadyOptionsserviceTypes(ServiceType... serviceTypes)Allows to customize the set of services to wait for.WaitUntilReadyOptionsserviceTypes(Set<ServiceType> serviceTypes)Allows to customize the set of services to wait for.static WaitUntilReadyOptionswaitUntilReadyOptions()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
WaitUntilReadyOptionsto 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
WaitUntilReadyOptionsto allow method chaining.
-
desiredState
Allows to customize the desired state to wait for.- Parameters:
desiredState- the state the sdk should wait for.- Returns:
- the
WaitUntilReadyOptionsto allow method chaining.
-
build
-