Package alluxio.stress.master
Enum Operation
- java.lang.Object
-
- java.lang.Enum<Operation>
-
- alluxio.stress.master.Operation
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CREATE_DELETE_FILECREATE_DIRCREATE_FILECREATE_TREECRURDDELETE_FILEGET_BLOCK_LOCATIONSGET_FILE_STATUSLIST_DIRLIST_DIR_LOCATEDLOAD_METADATAOPEN_FILERENAME_FILESET_ATTRIBUTE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OperationfromString(java.lang.String text)Creates an instance type from the string.java.lang.StringtoString()static OperationvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Operation[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CREATE_FILE
public static final Operation CREATE_FILE
-
GET_BLOCK_LOCATIONS
public static final Operation GET_BLOCK_LOCATIONS
-
GET_FILE_STATUS
public static final Operation GET_FILE_STATUS
-
LIST_DIR
public static final Operation LIST_DIR
-
LIST_DIR_LOCATED
public static final Operation LIST_DIR_LOCATED
-
OPEN_FILE
public static final Operation OPEN_FILE
-
RENAME_FILE
public static final Operation RENAME_FILE
-
DELETE_FILE
public static final Operation DELETE_FILE
-
SET_ATTRIBUTE
public static final Operation SET_ATTRIBUTE
-
CRURD
public static final Operation CRURD
-
CREATE_DELETE_FILE
public static final Operation CREATE_DELETE_FILE
-
CREATE_DIR
public static final Operation CREATE_DIR
-
CREATE_TREE
public static final Operation CREATE_TREE
-
LOAD_METADATA
public static final Operation LOAD_METADATA
-
-
Method Detail
-
values
public static Operation[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Operation c : Operation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Operation valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Enum<Operation>
-
fromString
public static Operation fromString(java.lang.String text)
Creates an instance type from the string. This method is case insensitive.- Parameters:
text- the instance type in string- Returns:
- the created instance
-
-