@InterfaceStability.Committed
@InterfaceAudience.Public
public interface BucketInfo
Provides information about a 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()
The name of the bucket.
BucketType type()
The type of the bucket.
int nodeCount()
The number of nodes on the bucket.
int replicaCount()
The number of replicas configured.
JsonObject raw()
Raw JSON server response for advanced analysis.
List<InetAddress> nodeList()
Returns a list of nodes that is interacting with the bucket.
Copyright © 2014 Couchbase, Inc.