public static enum ReplicationConfig.Mode extends Enum<ReplicationConfig.Mode>
ReplicationConfig.REPLICATION_MODE_PROP
config property.Modifier and Type | Method and Description |
---|---|
static String[] |
stringValues() |
static ReplicationConfig.Mode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReplicationConfig.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReplicationConfig.Mode PULL
public static final ReplicationConfig.Mode PULL_PUSH
public static ReplicationConfig.Mode[] values()
for (ReplicationConfig.Mode c : ReplicationConfig.Mode.values()) System.out.println(c);
public static ReplicationConfig.Mode 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 nullpublic static String[] stringValues()