public enum ClientIOOperation extends Enum<ClientIOOperation>
Enum Constant and Description |
---|
PosRead
Positioned read api.
|
PosReadFully
Positioned read fully api.
|
ReadArray
Streaming read api, using arrays.
|
ReadByteBuffer
Streaming read api, using byte buffers.
|
ReadFully
Streaming read fully api.
|
Write
The write operation, for writing data for the read operations.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
isPosRead(ClientIOOperation operation) |
static boolean |
isRead(ClientIOOperation operation) |
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 ReadArray
public static final ClientIOOperation ReadByteBuffer
public static final ClientIOOperation ReadFully
public static final ClientIOOperation PosRead
public static final ClientIOOperation PosReadFully
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 operationCopyright © 2023. All Rights Reserved.