public static enum Observe.ObserveReplicateTo extends Enum<Observe.ObserveReplicateTo>
Enum Constant and Description |
---|
NONE
Do not observe any replication constraint.
|
ONE
Observe replication to one replica.
|
THREE
Observe replication to three replicas.
|
TWO
Observe replication to two replicas.
|
Modifier and Type | Method and Description |
---|---|
boolean |
touchesReplica()
Identifies if this enum property will touch a replica or just the active.
|
short |
value()
Returns the actual internal replication representation for the enum.
|
static Observe.ObserveReplicateTo |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Observe.ObserveReplicateTo[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Observe.ObserveReplicateTo NONE
public static final Observe.ObserveReplicateTo ONE
public static final Observe.ObserveReplicateTo TWO
public static final Observe.ObserveReplicateTo THREE
public static Observe.ObserveReplicateTo[] values()
for (Observe.ObserveReplicateTo c : Observe.ObserveReplicateTo.values()) System.out.println(c);
public static Observe.ObserveReplicateTo 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 nullpublic short value()
public boolean touchesReplica()
Copyright © 2020 Couchbase, Inc.. All rights reserved.