public enum TopologyActions extends Enum<TopologyActions>
Enum Constant and Description |
---|
ACTIVATE |
DO_REBALANCE |
GAIN_LEADERSHIP |
INACTIVATE |
KILL |
REBALANCE |
REMOVE |
Modifier and Type | Method and Description |
---|---|
static TopologyActions |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TopologyActions[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TopologyActions GAIN_LEADERSHIP
public static final TopologyActions INACTIVATE
public static final TopologyActions ACTIVATE
public static final TopologyActions REBALANCE
public static final TopologyActions KILL
public static final TopologyActions DO_REBALANCE
public static final TopologyActions REMOVE
public static TopologyActions[] values()
for (TopologyActions c : TopologyActions.values()) System.out.println(c);
public static TopologyActions 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 © 2023 The Apache Software Foundation. All rights reserved.