public enum FuseIOOperation extends Enum<FuseIOOperation>
Enum Constant and Description |
---|
CLUSTER_READ
Read <numAllFiles>/<numJobWorker> number of files evenly from all directories
created by all job workers through local Fuse mount point.
|
LIST_FILE
List the files before reading can help cache the metadata and gain more accurate reading
performance, if client-side metadata cache is enabled.
|
LOCAL_READ
Each job worker, or client, will read the files it wrote through local Fuse mount point.
|
REMOTE_READ
Each job worker will evenly read the files written by other job workers via local Fuse mount
point.
|
WRITE
Write operation to test the write throughput or prepare data for reading.
|
Modifier and Type | Method and Description |
---|---|
static FuseIOOperation |
fromString(String text)
Creates an instance type from the string.
|
static boolean |
isRead(FuseIOOperation operation) |
String |
toString() |
static FuseIOOperation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FuseIOOperation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FuseIOOperation CLUSTER_READ
public static final FuseIOOperation LIST_FILE
public static final FuseIOOperation LOCAL_READ
public static final FuseIOOperation REMOTE_READ
public static final FuseIOOperation WRITE
public static FuseIOOperation[] values()
for (FuseIOOperation c : FuseIOOperation.values()) System.out.println(c);
public static FuseIOOperation 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(FuseIOOperation operation)
operation
- the operationpublic String toString()
toString
in class Enum<FuseIOOperation>
public static FuseIOOperation fromString(String text)
text
- the instance type in stringCopyright © 2023. All Rights Reserved.