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 class
WaitUntilReadyOptions.Built
-
Method Summary
Modifier and Type Method Description WaitUntilReadyOptions.Built
build()
WaitUntilReadyOptions
desiredState(ClusterState desiredState)
Allows to customize the desired state to wait for.WaitUntilReadyOptions
serviceTypes(ServiceType... serviceTypes)
Allows to customize the set of services to wait for.WaitUntilReadyOptions
serviceTypes(Set<ServiceType> serviceTypes)
Allows to customize the set of services to wait for.static WaitUntilReadyOptions
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
-