public enum ClientIOOperation extends 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(String text)
Creates an instance type from the string.
|
static boolean |
isPosRead(ClientIOOperation operation) |
static boolean |
isRead(ClientIOOperation operation) |
String |
toString() |
static ClientIOOperation |
valueOf(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(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 static boolean isRead(ClientIOOperation operation)
operation
- the operationpublic static boolean isPosRead(ClientIOOperation operation)
operation
- the operationpublic String toString()
toString
in class Enum<ClientIOOperation>
public static ClientIOOperation fromString(String text)
text
- the instance type in stringCopyright © 2023. All Rights Reserved.