public enum ClientIOOperation extends java.lang.Enum<ClientIOOperation>
| Enum Constant and Description |
|---|
POS_READ
Positioned read api.
|
POS_READ_FULLY
Positioned read fully api.
|
READ_ARRAY
Streaming read api, using arrays.
|
READ_BYTE_BUFFER
Streaming read api, using byte buffers.
|
READ_FULLY
Streaming read fully api.
|
WRITE
The write operation, for writing data for the read operations.
|
| Modifier and Type | Method and Description |
|---|---|
static ClientIOOperation |
fromString(java.lang.String text)
Creates an instance type from the string.
|
static boolean |
isPosRead(ClientIOOperation operation) |
static boolean |
isRead(ClientIOOperation operation) |
java.lang.String |
toString() |
static ClientIOOperation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ClientIOOperation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClientIOOperation WRITE
public static final ClientIOOperation READ_ARRAY
public static final ClientIOOperation READ_BYTE_BUFFER
public static final ClientIOOperation READ_FULLY
public static final ClientIOOperation POS_READ
public static final ClientIOOperation POS_READ_FULLY
public static ClientIOOperation[] values()
for (ClientIOOperation c : ClientIOOperation.values()) System.out.println(c);
public static ClientIOOperation 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 nullpublic static boolean isRead(ClientIOOperation operation)
operation - the operationpublic static boolean isPosRead(ClientIOOperation operation)
operation - the operationpublic java.lang.String toString()
toString in class java.lang.Enum<ClientIOOperation>public static ClientIOOperation fromString(java.lang.String text)
text - the instance type in stringCopyright © 2023. All Rights Reserved.