public enum SlowConsumerPolicy extends Enum<SlowConsumerPolicy>
| Modifier and Type | Method and Description |
|---|---|
static SlowConsumerPolicy |
getType(int type) |
static SlowConsumerPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SlowConsumerPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SlowConsumerPolicy KILL
public static final SlowConsumerPolicy NOTIFY
public static SlowConsumerPolicy[] values()
for (SlowConsumerPolicy c : SlowConsumerPolicy.values()) System.out.println(c);
public static SlowConsumerPolicy 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 static SlowConsumerPolicy getType(int type)
Copyright © 2021 JBoss by Red Hat. All rights reserved.