public class SeedNodesRequest extends AbstractCouchbaseRequest implements ClusterRequest
ClusterFacade
.**
For stability reasons, it is advised to always provide more than one seed node (but not necessarily all nodes from
the cluster) so that the cluster can correctly bootstrap the bucket, even if one of the hosts in the list is
currently not available.Constructor and Description |
---|
SeedNodesRequest()
Creates a
SeedNodesRequest with the default hostname ("localhost"). |
SeedNodesRequest(List<String> nodes)
Creates a
SeedNodesRequest with the given list of hostnames. |
SeedNodesRequest(String... nodes)
Creates a
SeedNodesRequest with the given hostnames. |
Modifier and Type | Method and Description |
---|---|
Set<String> |
nodes()
Returns the set list of seed hostnames.
|
afterSpanSet, bucket, complete, creationTime, dispatchHostname, dispatchHostname, emit, fail, incrementRetryCount, isActive, lastLocalId, lastLocalId, lastLocalSocket, lastLocalSocket, lastRemoteSocket, lastRemoteSocket, maxRetryDuration, maxRetryDuration, observable, operationId, password, retryAfter, retryAfter, retryCount, retryDelay, retryDelay, span, span, subscriber, succeed, toString, username
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
bucket, complete, dispatchHostname, dispatchHostname, emit, fail, incrementRetryCount, isActive, lastLocalId, lastLocalId, lastLocalSocket, lastLocalSocket, lastRemoteSocket, lastRemoteSocket, maxRetryDuration, maxRetryDuration, observable, operationId, password, retryAfter, retryAfter, retryCount, retryDelay, retryDelay, span, span, subscriber, succeed, username
creationTime
public SeedNodesRequest()
SeedNodesRequest
with the default hostname ("localhost").public SeedNodesRequest(String... nodes)
SeedNodesRequest
with the given hostnames.nodes
- the seed node hostnames.public SeedNodesRequest(List<String> nodes)
SeedNodesRequest
with the given list of hostnames.nodes
- the seed node hostnames.Copyright © 2021 Couchbase, Inc.. All rights reserved.