public static enum StateMetaInfoSnapshot.BackendStateType extends Enum<StateMetaInfoSnapshot.BackendStateType>
Enum Constant and Description |
---|
BROADCAST |
KEY_VALUE |
OPERATOR |
PRIORITY_QUEUE |
Modifier and Type | Method and Description |
---|---|
static StateMetaInfoSnapshot.BackendStateType |
byCode(int code) |
byte |
getCode() |
static StateMetaInfoSnapshot.BackendStateType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StateMetaInfoSnapshot.BackendStateType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StateMetaInfoSnapshot.BackendStateType KEY_VALUE
public static final StateMetaInfoSnapshot.BackendStateType OPERATOR
public static final StateMetaInfoSnapshot.BackendStateType BROADCAST
public static final StateMetaInfoSnapshot.BackendStateType PRIORITY_QUEUE
public static StateMetaInfoSnapshot.BackendStateType[] values()
for (StateMetaInfoSnapshot.BackendStateType c : StateMetaInfoSnapshot.BackendStateType.values()) System.out.println(c);
public static StateMetaInfoSnapshot.BackendStateType 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 getCode()
public static StateMetaInfoSnapshot.BackendStateType byCode(int code)
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.