@InterfaceStability.Committed @InterfaceAudience.Public public interface BucketInfo
Bucket
.
Selected bucket properties are available through explicit getters, the full (raw JSON) response from the server
is accessible through the raw()
method. Note that the response is subject to change across server
versions and therefore should be properly checked before being used.Modifier and Type | Method and Description |
---|---|
String |
name()
The name of the bucket.
|
int |
nodeCount()
The number of nodes on the bucket.
|
List<InetAddress> |
nodeList()
Returns a list of nodes that is interacting with the bucket.
|
JsonObject |
raw()
Raw JSON server response for advanced analysis.
|
int |
replicaCount()
The number of replicas configured.
|
BucketType |
type()
The type of the bucket.
|
String name()
BucketType type()
int nodeCount()
int replicaCount()
JsonObject raw()
List<InetAddress> nodeList()
Copyright © 2015 Couchbase, Inc.