Enum ResourceBatchingManager.ShardResource
- java.lang.Object
-
- java.lang.Enum<ResourceBatchingManager.ShardResource>
-
- org.opendaylight.genius.utils.batching.ResourceBatchingManager.ShardResource
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ResourceBatchingManager.ShardResource>
- Enclosing class:
- ResourceBatchingManager
public static enum ResourceBatchingManager.ShardResource extends java.lang.Enum<ResourceBatchingManager.ShardResource>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONFIG_INVENTORY
CONFIG_TOPOLOGY
OPERATIONAL_INVENTORY
OPERATIONAL_TOPOLOGY
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.opendaylight.mdsal.common.api.LogicalDatastoreType
getDatastoreType()
static ResourceBatchingManager.ShardResource
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ResourceBatchingManager.ShardResource[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CONFIG_TOPOLOGY
public static final ResourceBatchingManager.ShardResource CONFIG_TOPOLOGY
-
OPERATIONAL_TOPOLOGY
public static final ResourceBatchingManager.ShardResource OPERATIONAL_TOPOLOGY
-
CONFIG_INVENTORY
public static final ResourceBatchingManager.ShardResource CONFIG_INVENTORY
-
OPERATIONAL_INVENTORY
public static final ResourceBatchingManager.ShardResource OPERATIONAL_INVENTORY
-
-
Method Detail
-
values
public static ResourceBatchingManager.ShardResource[] 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 (ResourceBatchingManager.ShardResource c : ResourceBatchingManager.ShardResource.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ResourceBatchingManager.ShardResource 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
-
getDatastoreType
public org.opendaylight.mdsal.common.api.LogicalDatastoreType getDatastoreType()
-
-