Enum DNAction

java.lang.Object
java.lang.Enum<DNAction>
org.apache.hadoop.ozone.audit.DNAction
All Implemented Interfaces:
Serializable, Comparable<DNAction>, org.apache.hadoop.ozone.audit.AuditAction

public enum DNAction extends Enum<DNAction> implements org.apache.hadoop.ozone.audit.AuditAction
Enum to define Audit Action types for Datanode.
  • Enum Constant Details

    • CREATE_CONTAINER

      public static final DNAction CREATE_CONTAINER
    • READ_CONTAINER

      public static final DNAction READ_CONTAINER
    • UPDATE_CONTAINER

      public static final DNAction UPDATE_CONTAINER
    • DELETE_CONTAINER

      public static final DNAction DELETE_CONTAINER
    • LIST_CONTAINER

      public static final DNAction LIST_CONTAINER
    • PUT_BLOCK

      public static final DNAction PUT_BLOCK
    • GET_BLOCK

      public static final DNAction GET_BLOCK
    • DELETE_BLOCK

      public static final DNAction DELETE_BLOCK
    • LIST_BLOCK

      public static final DNAction LIST_BLOCK
    • READ_CHUNK

      public static final DNAction READ_CHUNK
    • DELETE_CHUNK

      public static final DNAction DELETE_CHUNK
    • WRITE_CHUNK

      public static final DNAction WRITE_CHUNK
    • LIST_CHUNK

      public static final DNAction LIST_CHUNK
    • COMPACT_CHUNK

      public static final DNAction COMPACT_CHUNK
    • PUT_SMALL_FILE

      public static final DNAction PUT_SMALL_FILE
    • GET_SMALL_FILE

      public static final DNAction GET_SMALL_FILE
    • CLOSE_CONTAINER

      public static final DNAction CLOSE_CONTAINER
    • GET_COMMITTED_BLOCK_LENGTH

      public static final DNAction GET_COMMITTED_BLOCK_LENGTH
    • STREAM_INIT

      public static final DNAction STREAM_INIT
    • FINALIZE_BLOCK

      public static final DNAction FINALIZE_BLOCK
    • ECHO

      public static final DNAction ECHO
    • GET_CONTAINER_CHECKSUM_INFO

      public static final DNAction GET_CONTAINER_CHECKSUM_INFO
  • Method Details

    • values

      public static DNAction[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static DNAction valueOf(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:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • getAction

      public String getAction()
      Specified by:
      getAction in interface org.apache.hadoop.ozone.audit.AuditAction