public static enum DcpSetVbucketStateMessage.State extends Enum<DcpSetVbucketStateMessage.State>
| Modifier and Type | Method and Description |
|---|---|
static DcpSetVbucketStateMessage.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DcpSetVbucketStateMessage.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DcpSetVbucketStateMessage.State ACTIVE
public static final DcpSetVbucketStateMessage.State REPLICA
public static final DcpSetVbucketStateMessage.State PENDING
public static final DcpSetVbucketStateMessage.State DEAD
public static DcpSetVbucketStateMessage.State[] values()
for (DcpSetVbucketStateMessage.State c : DcpSetVbucketStateMessage.State.values()) System.out.println(c);
public static DcpSetVbucketStateMessage.State valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2021 Couchbase, Inc.. All rights reserved.