public enum DistributionQueueType extends Enum<DistributionQueueType>
DistributionQueue
Enum Constant and Description |
---|
ORDERED
ordered queue type (items get processed FIFO)
|
PARALLEL
parallel queue type (items get processed independently from one another, regardless of their order in the queue)
|
Modifier and Type | Method and Description |
---|---|
static DistributionQueueType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DistributionQueueType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DistributionQueueType ORDERED
public static final DistributionQueueType PARALLEL
public static DistributionQueueType[] values()
for (DistributionQueueType c : DistributionQueueType.values()) System.out.println(c);
public static DistributionQueueType 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 © 2007–2018 The Apache Software Foundation. All rights reserved.