public static enum CommandSubscribe.SubType extends Enum<CommandSubscribe.SubType>
| Enum Constant and Description |
|---|
Exclusive |
Failover |
Key_Shared |
Shared |
| Modifier and Type | Field and Description |
|---|---|
static int |
Exclusive_VALUE |
static int |
Failover_VALUE |
static int |
Key_Shared_VALUE |
static int |
Shared_VALUE |
| Modifier and Type | Method and Description |
|---|---|
int |
getValue() |
static CommandSubscribe.SubType |
valueOf(int n) |
static CommandSubscribe.SubType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CommandSubscribe.SubType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommandSubscribe.SubType Exclusive
public static final CommandSubscribe.SubType Shared
public static final CommandSubscribe.SubType Failover
public static final CommandSubscribe.SubType Key_Shared
public static final int Exclusive_VALUE
public static final int Shared_VALUE
public static final int Failover_VALUE
public static final int Key_Shared_VALUE
public static CommandSubscribe.SubType[] values()
for (CommandSubscribe.SubType c : CommandSubscribe.SubType.values()) System.out.println(c);
public static CommandSubscribe.SubType 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 int getValue()
public static CommandSubscribe.SubType valueOf(int n)
Copyright © 2017–2022 Apache Software Foundation. All rights reserved.