public static enum DataChannel.FlushStatus extends Enum<DataChannel.FlushStatus>
| Enum Constant and Description |
|---|
AGAIN
Flush not complete because there is something left to flush.
|
CONTENTION
Flush not complete due to a concurrent competing operation.
|
DISABLED
Flushes are not being used.
|
DONE
Nothing needs to be flushed.
|
SO_WAIT_WRITE
Flush not complete because socket is busy.
|
| Modifier and Type | Method and Description |
|---|---|
static DataChannel.FlushStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DataChannel.FlushStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DataChannel.FlushStatus DISABLED
public static final DataChannel.FlushStatus DONE
public static final DataChannel.FlushStatus AGAIN
public static final DataChannel.FlushStatus SO_WAIT_WRITE
public static final DataChannel.FlushStatus CONTENTION
public static DataChannel.FlushStatus[] values()
for (DataChannel.FlushStatus c : DataChannel.FlushStatus.values()) System.out.println(c);
public static DataChannel.FlushStatus 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 © 2024. All rights reserved.