public class WaitUntilReadyOptions extends Object
Modifier and Type | Class and Description |
---|---|
class |
WaitUntilReadyOptions.Built |
Modifier and Type | Method and Description |
---|---|
WaitUntilReadyOptions.Built |
build() |
WaitUntilReadyOptions |
desiredState(ClusterState desiredState)
Allows to customize the desired state 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 of
WaitUntilReadyOptions . |
public static WaitUntilReadyOptions waitUntilReadyOptions()
WaitUntilReadyOptions
.public WaitUntilReadyOptions serviceTypes(Set<ServiceType> serviceTypes)
If no set is provided, all possible services are waited for.
serviceTypes
- the service types that should be waited for.WaitUntilReadyOptions
to allow method chaining.public WaitUntilReadyOptions desiredState(ClusterState desiredState)
desiredState
- the state the sdk should wait for.WaitUntilReadyOptions
to allow method chaining.@Stability.Internal public WaitUntilReadyOptions.Built build()
Copyright © 2020 Couchbase, Inc.. All rights reserved.