Enum NwConstants.IdManagerShards
- java.lang.Object
-
- java.lang.Enum<NwConstants.IdManagerShards>
-
- org.opendaylight.genius.mdsalutil.NwConstants.IdManagerShards
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<NwConstants.IdManagerShards>
- Enclosing interface:
- NwConstants
public static enum NwConstants.IdManagerShards extends java.lang.Enum<NwConstants.IdManagerShards>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DefaultConfig
DefaultOper
EntityOper
InventoryConfig
InventoryOper
TopologyConfig
TopologyOper
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.List<java.lang.String>
getShardList()
static NwConstants.IdManagerShards
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static NwConstants.IdManagerShards[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DefaultConfig
public static final NwConstants.IdManagerShards DefaultConfig
-
DefaultOper
public static final NwConstants.IdManagerShards DefaultOper
-
InventoryConfig
public static final NwConstants.IdManagerShards InventoryConfig
-
InventoryOper
public static final NwConstants.IdManagerShards InventoryOper
-
TopologyConfig
public static final NwConstants.IdManagerShards TopologyConfig
-
TopologyOper
public static final NwConstants.IdManagerShards TopologyOper
-
EntityOper
public static final NwConstants.IdManagerShards EntityOper
-
-
Method Detail
-
values
public static NwConstants.IdManagerShards[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (NwConstants.IdManagerShards c : NwConstants.IdManagerShards.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NwConstants.IdManagerShards valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getShardList
public static java.util.List<java.lang.String> getShardList()
-
-