java.io.Serializable, java.lang.Comparable<QueueState>@Public @Stable public enum QueueState extends java.lang.Enum<QueueState>
A queue is in one of:
| Enum Constant | Description |
|---|---|
DRAINING |
Draining - Not accepting submissions of new applications,
and waiting for applications finish.
|
RUNNING |
Running - normal operation.
|
STOPPED |
Stopped - Not accepting submissions of new applications.
|
| Modifier and Type | Method | Description |
|---|---|---|
static QueueState |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static QueueState[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QueueState STOPPED
public static final QueueState DRAINING
public static final QueueState RUNNING
public static QueueState[] values()
for (QueueState c : QueueState.values()) System.out.println(c);
public static QueueState valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullCopyright © 2008–2025 Apache Software Foundation. All rights reserved.