public static enum ReplicaNode.ReplicationType extends java.lang.Enum<ReplicaNode.ReplicationType>
Enum Constant and Description |
---|
ASYNCHRONOUS
All creates, updates, and deletes to a partitioned object are
are sent asynchronously in a separate transaction after the
calling transaction commits.
|
SYNCHRONOUS
All creates, updates, and deletes to a partitioned object are
sent synchronously within the same transaction.
|
Modifier and Type | Method and Description |
---|---|
static ReplicaNode.ReplicationType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ReplicaNode.ReplicationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReplicaNode.ReplicationType SYNCHRONOUS
public static final ReplicaNode.ReplicationType ASYNCHRONOUS
public static ReplicaNode.ReplicationType[] values()
for (ReplicaNode.ReplicationType c : ReplicaNode.ReplicationType.values()) System.out.println(c);
public static ReplicaNode.ReplicationType 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 null