Serializable, Comparable<ReplicationMode>public enum ReplicationMode extends Enum<ReplicationMode>
| Enum Constant | Description |
|---|---|
ASYNCHRONOUS |
|
SYNCHRONOUS |
| Modifier and Type | Method | Description |
|---|---|---|
static ReplicationMode |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static ReplicationMode[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReplicationMode SYNCHRONOUS
public static final ReplicationMode ASYNCHRONOUS
public static ReplicationMode[] values()
for (ReplicationMode c : ReplicationMode.values()) System.out.println(c);
public static ReplicationMode 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 © 2018 JBoss by Red Hat. All rights reserved.