public class GetBucketConfigRequest extends AbstractKeyValueRequest implements BootstrapMessage
Request which fetches a bucket configuration through carrier publication.
Note that it is not advisable to send such a request from outside of the core. It is used by the configuration handling mechanism to regularly and on bootstrap load new configurations.
DEFAULT_PARTITION| Constructor and Description |
|---|
GetBucketConfigRequest(String bucket,
NetworkAddress hostname)
Creates a new
GetBucketConfigRequest. |
| Modifier and Type | Method and Description |
|---|---|
NetworkAddress |
hostname()
Returns the hostname of the node from where the config should be loaded.
|
short |
partition()
The partition (vbucket) to use for this request.
|
key, keyBytes, opaque, partitionbucket, creationTime, incrementRetryCount, maxRetryDuration, maxRetryDuration, observable, password, retryAfter, retryAfter, retryCount, retryDelay, retryDelay, toString, usernameclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitbucket, incrementRetryCount, maxRetryDuration, maxRetryDuration, observable, password, retryAfter, retryAfter, retryCount, retryDelay, retryDelay, usernamecreationTimepublic GetBucketConfigRequest(String bucket, NetworkAddress hostname)
Creates a new GetBucketConfigRequest.
bucket - the name of the bucket.hostname - the hostname of the node.public NetworkAddress hostname()
Returns the hostname of the node from where the config should be loaded.
public short partition()
BinaryRequestThe partition (vbucket) to use for this request.
partition in interface BinaryRequestpartition in class AbstractKeyValueRequestCopyright © 2017 Couchbase, Inc.. All rights reserved.