java.io.Serializable, java.lang.Comparable<FSEditLogOpCodes>@Private @Unstable public enum FSEditLogOpCodes extends java.lang.Enum<FSEditLogOpCodes>
| Modifier and Type | Method | Description |
|---|---|---|
static FSEditLogOpCodes |
fromByte(byte opCode) |
Converts byte to FSEditLogOpCodes enum value
|
java.lang.Class<? extends FSEditLogOp> |
getOpClass() |
|
byte |
getOpCode() |
return the byte value of the enum
|
static FSEditLogOpCodes |
valueOf(java.lang.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_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 final FSEditLogOpCodes OP_ADD_BLOCK
public static final FSEditLogOpCodes OP_ADD_CACHE_DIRECTIVE
public static final FSEditLogOpCodes OP_REMOVE_CACHE_DIRECTIVE
public static final FSEditLogOpCodes OP_ADD_CACHE_POOL
public static final FSEditLogOpCodes OP_MODIFY_CACHE_POOL
public static final FSEditLogOpCodes OP_REMOVE_CACHE_POOL
public static final FSEditLogOpCodes OP_MODIFY_CACHE_DIRECTIVE
public static final FSEditLogOpCodes OP_SET_ACL
public static final FSEditLogOpCodes OP_ROLLING_UPGRADE_START
public static final FSEditLogOpCodes OP_ROLLING_UPGRADE_FINALIZE
public static final FSEditLogOpCodes OP_SET_XATTR
public static final FSEditLogOpCodes OP_REMOVE_XATTR
public static final FSEditLogOpCodes OP_SET_STORAGE_POLICY
public static final FSEditLogOpCodes OP_TRUNCATE
public static final FSEditLogOpCodes OP_APPEND
public static final FSEditLogOpCodes OP_SET_QUOTA_BY_STORAGETYPE
public static final FSEditLogOpCodes OP_ADD_ERASURE_CODING_POLICY
public static final FSEditLogOpCodes OP_ENABLE_ERASURE_CODING_POLICY
public static final FSEditLogOpCodes OP_DISABLE_ERASURE_CODING_POLICY
public static final FSEditLogOpCodes OP_REMOVE_ERASURE_CODING_POLICY
public static final FSEditLogOpCodes OP_INVALID
public static FSEditLogOpCodes[] values()
for (FSEditLogOpCodes c : FSEditLogOpCodes.values()) System.out.println(c);
public static FSEditLogOpCodes valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic byte getOpCode()
public java.lang.Class<? extends FSEditLogOp> getOpClass()
public static FSEditLogOpCodes fromByte(byte opCode)
opCode - get enum for this opCodeCopyright © 2008–2025 Apache Software Foundation. All rights reserved.