java.io.Serializable, java.lang.Comparable<Durability.ReplicaAckPolicy>, oracle.kv.impl.util.FastExternalizablepublic static enum Durability.ReplicaAckPolicy extends java.lang.Enum<Durability.ReplicaAckPolicy> implements oracle.kv.impl.util.FastExternalizable
| Enum Constant | Description |
|---|---|
ALL |
All replicas must acknowledge that they have committed the
transaction.
|
NONE |
No transaction commit acknowledgments are required and the master
will never wait for replica acknowledgments.
|
SIMPLE_MAJORITY |
A simple majority of replicas must acknowledge that they have
committed the transaction.
|
| Modifier and Type | Method | Description |
|---|---|---|
static Durability.ReplicaAckPolicy |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static Durability.ReplicaAckPolicy[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Durability.ReplicaAckPolicy ALL
public static final Durability.ReplicaAckPolicy NONE
public static final Durability.ReplicaAckPolicy SIMPLE_MAJORITY
public static Durability.ReplicaAckPolicy[] values()
for (Durability.ReplicaAckPolicy c : Durability.ReplicaAckPolicy.values()) System.out.println(c);
public static Durability.ReplicaAckPolicy valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullCopyright (c) 2011, 2018 Oracle and/or its affiliates. All rights reserved.