public enum DequeueStrategy extends Enum<DequeueStrategy>
| Enum Constant and Description |
|---|
FIFO |
HASH |
ROUND_ROBIN |
| Modifier and Type | Method and Description |
|---|---|
static DequeueStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DequeueStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DequeueStrategy FIFO
public static final DequeueStrategy ROUND_ROBIN
public static final DequeueStrategy HASH
public static DequeueStrategy[] values()
for (DequeueStrategy c : DequeueStrategy.values()) System.out.println(c);
public static DequeueStrategy 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 © 2016 Cask Data, Inc. Licensed under the Apache License, Version 2.0.