public static enum DistributedUpdateProcessor.DistribPhase extends Enum<DistributedUpdateProcessor.DistribPhase>
DISTRIB_UPDATE_PARAM
.
This is an implementation detail exposed solely for tests.Enum Constant and Description |
---|
FROMLEADER |
NONE |
TOLEADER |
Modifier and Type | Method and Description |
---|---|
static DistributedUpdateProcessor.DistribPhase |
parseParam(String param) |
static DistributedUpdateProcessor.DistribPhase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DistributedUpdateProcessor.DistribPhase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DistributedUpdateProcessor.DistribPhase NONE
public static final DistributedUpdateProcessor.DistribPhase TOLEADER
public static final DistributedUpdateProcessor.DistribPhase FROMLEADER
public static DistributedUpdateProcessor.DistribPhase[] values()
for (DistributedUpdateProcessor.DistribPhase c : DistributedUpdateProcessor.DistribPhase.values()) System.out.println(c);
public static DistributedUpdateProcessor.DistribPhase 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 DistributedUpdateProcessor.DistribPhase parseParam(String param)
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.