static enum ClosingFuture.State extends java.lang.Enum<ClosingFuture.State>
ClosingFuture.CloseableList
.Enum Constant and Description |
---|
CLOSED
The
ClosingFuture.CloseableList has been closed. |
CLOSING
The callback that closes the
ClosingFuture.CloseableList is running, but it has not completed. |
OPEN
The
ClosingFuture.CloseableList has not been subsumed or closed. |
SUBSUMED
The
ClosingFuture.CloseableList has been subsumed into another. |
WILL_CLOSE
Some
ListenableFuture has a callback attached that will close the ClosingFuture.CloseableList , but it has not yet run. |
WILL_CREATE_VALUE_AND_CLOSER
|
Modifier and Type | Method and Description |
---|---|
static ClosingFuture.State |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ClosingFuture.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClosingFuture.State OPEN
ClosingFuture.CloseableList
has not been subsumed or closed.public static final ClosingFuture.State SUBSUMED
ClosingFuture.CloseableList
has been subsumed into another. It may not be closed or subsumed
into any other.public static final ClosingFuture.State WILL_CLOSE
ListenableFuture
has a callback attached that will close the ClosingFuture.CloseableList
, but it has not yet run. The ClosingFuture.CloseableList
may not be subsumed.public static final ClosingFuture.State CLOSING
ClosingFuture.CloseableList
is running, but it has not completed. The
ClosingFuture.CloseableList
may not be subsumed.public static final ClosingFuture.State CLOSED
ClosingFuture.CloseableList
has been closed. It may not be further subsumed.public static final ClosingFuture.State WILL_CREATE_VALUE_AND_CLOSER
ClosingFuture.finishToValueAndCloser(ValueAndCloserConsumer, Executor)
has been
called. The step may not be further subsumed, nor may ClosingFuture.finishToFuture()
be called.public static ClosingFuture.State[] values()
for (ClosingFuture.State c : ClosingFuture.State.values()) System.out.println(c);
public static ClosingFuture.State 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 null