Enum ImplType

java.lang.Object
java.lang.Enum<ImplType>
org.apache.hadoop.hbase.thrift.ImplType
All Implemented Interfaces:
Serializable, Comparable<ImplType>

@Private public enum ImplType extends Enum<ImplType>
An enum of server implementation selections
  • Enum Constant Details

  • Field Details

  • Constructor Details

    • ImplType

      private ImplType(String option, boolean isAlwaysFramed, Class<? extends org.apache.thrift.server.TServer> serverClass, boolean canSpecifyBindIP)
  • Method Details

    • values

      public static ImplType[] 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 ImplType 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
    • toString

      public String toString()
      Returns -option
      Overrides:
      toString in class Enum<ImplType>
    • getOption

      public String getOption()
    • isAlwaysFramed

      public boolean isAlwaysFramed()
    • getDescription

    • createOptionGroup

      static org.apache.hbase.thirdparty.org.apache.commons.cli.OptionGroup createOptionGroup()
    • getServerImpl

      public static ImplType getServerImpl(org.apache.hadoop.conf.Configuration conf)
    • setServerImpl

      static void setServerImpl(org.apache.hbase.thirdparty.org.apache.commons.cli.CommandLine cmd, org.apache.hadoop.conf.Configuration conf)
    • simpleClassName

    • serversThatCannotSpecifyBindIP