Enum OMDirectoryCreateRequest.Result

java.lang.Object
java.lang.Enum<OMDirectoryCreateRequest.Result>
org.apache.hadoop.ozone.om.request.file.OMDirectoryCreateRequest.Result
All Implemented Interfaces:
Serializable, Comparable<OMDirectoryCreateRequest.Result>
Enclosing class:
OMDirectoryCreateRequest

public static enum OMDirectoryCreateRequest.Result extends Enum<OMDirectoryCreateRequest.Result>
Stores the result of request execution in OMClientRequest#validateAndUpdateCache.
  • Enum Constant Details

  • Method Details

    • values

      public static OMDirectoryCreateRequest.Result[] 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 OMDirectoryCreateRequest.Result 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