@InterfaceAudience.Private @InterfaceStability.Unstable public enum FSEditLogOpCodes extends Enum<FSEditLogOpCodes>
Modifier and Type | Method and Description |
---|---|
static FSEditLogOpCodes |
fromByte(byte opCode)
Converts byte to FSEditLogOpCodes enum value
|
byte |
getOpCode()
return the byte value of the enum
|
static FSEditLogOpCodes |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FSEditLogOpCodes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FSEditLogOpCodes OP_INVALID
public static final FSEditLogOpCodes OP_ADD
public static final FSEditLogOpCodes OP_RENAME_OLD
public static final FSEditLogOpCodes OP_DELETE
public static final FSEditLogOpCodes OP_MKDIR
public static final FSEditLogOpCodes OP_SET_REPLICATION
@Deprecated public static final FSEditLogOpCodes OP_DATANODE_ADD
@Deprecated public static final FSEditLogOpCodes OP_DATANODE_REMOVE
public static final FSEditLogOpCodes OP_SET_PERMISSIONS
public static final FSEditLogOpCodes OP_SET_OWNER
public static final FSEditLogOpCodes OP_CLOSE
public static final FSEditLogOpCodes OP_SET_GENSTAMP_V1
public static final FSEditLogOpCodes OP_SET_NS_QUOTA
public static final FSEditLogOpCodes OP_CLEAR_NS_QUOTA
public static final FSEditLogOpCodes OP_TIMES
public static final FSEditLogOpCodes OP_SET_QUOTA
public static final FSEditLogOpCodes OP_RENAME
public static final FSEditLogOpCodes OP_CONCAT_DELETE
public static final FSEditLogOpCodes OP_SYMLINK
public static final FSEditLogOpCodes OP_GET_DELEGATION_TOKEN
public static final FSEditLogOpCodes OP_RENEW_DELEGATION_TOKEN
public static final FSEditLogOpCodes OP_CANCEL_DELEGATION_TOKEN
public static final FSEditLogOpCodes OP_UPDATE_MASTER_KEY
public static final FSEditLogOpCodes OP_REASSIGN_LEASE
public static final FSEditLogOpCodes OP_END_LOG_SEGMENT
public static final FSEditLogOpCodes OP_START_LOG_SEGMENT
public static final FSEditLogOpCodes OP_UPDATE_BLOCKS
public static final FSEditLogOpCodes OP_CREATE_SNAPSHOT
public static final FSEditLogOpCodes OP_DELETE_SNAPSHOT
public static final FSEditLogOpCodes OP_RENAME_SNAPSHOT
public static final FSEditLogOpCodes OP_ALLOW_SNAPSHOT
public static final FSEditLogOpCodes OP_DISALLOW_SNAPSHOT
public static final FSEditLogOpCodes OP_SET_GENSTAMP_V2
public static final FSEditLogOpCodes OP_ALLOCATE_BLOCK_ID
public static FSEditLogOpCodes[] values()
for (FSEditLogOpCodes c : FSEditLogOpCodes.values()) System.out.println(c);
public static FSEditLogOpCodes 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 byte getOpCode()
public static FSEditLogOpCodes fromByte(byte opCode)
opCode
- get enum for this opCodeCopyright © 2013 Apache Software Foundation. All rights reserved.