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