public static enum LoopbackBus.AgentQueueWaitStrategy extends Enum<LoopbackBus.AgentQueueWaitStrategy>
Enum Constant and Description |
---|
Blocking |
BusySpin |
Sleeping |
Yielding |
Modifier and Type | Method and Description |
---|---|
static LoopbackBus.AgentQueueWaitStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LoopbackBus.AgentQueueWaitStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LoopbackBus.AgentQueueWaitStrategy Blocking
public static final LoopbackBus.AgentQueueWaitStrategy BusySpin
public static final LoopbackBus.AgentQueueWaitStrategy Sleeping
public static final LoopbackBus.AgentQueueWaitStrategy Yielding
public static LoopbackBus.AgentQueueWaitStrategy[] values()
for (LoopbackBus.AgentQueueWaitStrategy c : LoopbackBus.AgentQueueWaitStrategy.values()) System.out.println(c);
public static LoopbackBus.AgentQueueWaitStrategy 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 nullCopyright © 2019 Neeve Research, LLC. All Rights Reserved.