public enum WriteState extends Enum<WriteState>
AsyncWrite| Enum Constant and Description |
|---|
Canceled |
Error |
Queued |
Ready |
Writing |
Written |
| Modifier and Type | Field and Description |
|---|---|
static EnumSet<WriteState> |
CANCELABLE_STATES |
static EnumSet<WriteState> |
FINAL_STATES |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isFinal() |
static WriteState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WriteState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WriteState Ready
public static final WriteState Queued
public static final WriteState Writing
public static final WriteState Written
public static final WriteState Canceled
public static final WriteState Error
public static final EnumSet<WriteState> FINAL_STATES
public static final EnumSet<WriteState> CANCELABLE_STATES
public static WriteState[] values()
for (WriteState c : WriteState.values()) System.out.println(c);
public static WriteState 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 nullpublic boolean isFinal()
Copyright © 2026. All rights reserved.