public static enum ClusterBackup.SourceType extends Enum<ClusterBackup.SourceType>
| Enum Constant and Description |
|---|
ANY
Receive from any node in the cluster.
|
FOLLOWER
Receive data from any node that is not the leader.
|
LEADER
Only receive data from the leader node.
|
| Modifier and Type | Method and Description |
|---|---|
static ClusterBackup.SourceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClusterBackup.SourceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClusterBackup.SourceType ANY
public static final ClusterBackup.SourceType LEADER
public static final ClusterBackup.SourceType FOLLOWER
public static ClusterBackup.SourceType[] values()
for (ClusterBackup.SourceType c : ClusterBackup.SourceType.values()) System.out.println(c);
public static ClusterBackup.SourceType 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 © 2014-2023 Real Logic Limited. All Rights Reserved.