public static enum NetricsRecOp.Op extends java.lang.Enum<NetricsRecOp.Op>
| Enum Constant and Description |
|---|
ADD
Add a record to the table, it is an error if it already exists.
|
DEL
Delete a record, it is an error if it doesn't exist.
|
RPL
Replace a record, it is an error if it doesn't exist.
|
UPD
Add a record if it doesn't exist, otherwise replace the record.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
toString()
Return the string name for this Operation code.
|
static NetricsRecOp.Op |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NetricsRecOp.Op[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NetricsRecOp.Op ADD
public static final NetricsRecOp.Op UPD
public static final NetricsRecOp.Op RPL
public static final NetricsRecOp.Op DEL
public static NetricsRecOp.Op[] values()
for (NetricsRecOp.Op c : NetricsRecOp.Op.values()) System.out.println(c);
public static NetricsRecOp.Op valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String toString()
toString in class java.lang.Enum<NetricsRecOp.Op>