public class DefaultBucketInfo extends Object implements BucketInfo
BucketInfo
.Modifier and Type | Method and Description |
---|---|
static DefaultBucketInfo |
create(JsonObject raw) |
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.
|
String |
toString() |
BucketType |
type()
The type of the bucket.
|
public static DefaultBucketInfo create(JsonObject raw)
public String name()
BucketInfo
name
in interface BucketInfo
public BucketType type()
BucketInfo
type
in interface BucketInfo
public int nodeCount()
BucketInfo
nodeCount
in interface BucketInfo
public int replicaCount()
BucketInfo
replicaCount
in interface BucketInfo
public List<InetAddress> nodeList()
BucketInfo
nodeList
in interface BucketInfo
public JsonObject raw()
BucketInfo
raw
in interface BucketInfo
Copyright © 2015 Couchbase, Inc.