public static enum CloneConfiguration.Mode extends java.lang.Enum<CloneConfiguration.Mode>
Enum Constant and Description |
---|
FORK
eg.
|
PROMOTE
Once received events from upstream install are under a certain threshold,
trigger
IInstallation.demoteLeader() on the source installation. |
TAIL
Keeps the clone loop running.
|
Modifier and Type | Method and Description |
---|---|
static CloneConfiguration.Mode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CloneConfiguration.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CloneConfiguration.Mode TAIL
IInstallation.promoteLeader()
should be
called on the tailing clone to trigger the promote process.public static final CloneConfiguration.Mode PROMOTE
IInstallation.demoteLeader()
on the source installation.public static final CloneConfiguration.Mode FORK
public static CloneConfiguration.Mode[] values()
for (CloneConfiguration.Mode c : CloneConfiguration.Mode.values()) System.out.println(c);
public static CloneConfiguration.Mode 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 © 2022. All Rights Reserved.