public static enum ExclusionOp.OpType extends Enum<ExclusionOp.OpType>
| Enum Constant and Description |
|---|
DELETERemove an exclusion on the given broker. |
SETExclude the given broker. |
UNKNOWNFor forwards-compatibility, any op that is not recognized by this version of the client will fall back to this. |
| Modifier and Type | Method and Description |
|---|---|
static ExclusionOp.OpType | forId(byte id) |
byte | id() |
static ExclusionOp.OpType | valueOf(String name)Returns the enum constant of this type with the specified name. |
static ExclusionOp.OpType[] | values()Returns an array containing the constants of this enum type, in the order they are declared. |
public static final ExclusionOp.OpType UNKNOWN
public static final ExclusionOp.OpType SET
public static final ExclusionOp.OpType DELETE
public static ExclusionOp.OpType[] values()
for (ExclusionOp.OpType c : ExclusionOp.OpType.values()) System.out.println(c);
public static ExclusionOp.OpType 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 byte id()
public static ExclusionOp.OpType forId(byte id)