Enum ThriftServerType

  • All Implemented Interfaces:
    Serializable, Comparable<ThriftServerType>

    public enum ThriftServerType
    extends Enum<ThriftServerType>
    The type of configured Thrift server to start. This is meant more as a developer knob to ensure that appropriate Thrift servers can be constructed to make a better test on the overhead of SSL or SASL. Both SSL and SASL don't presently work with TFramedTransport which means that the Thrift servers with asynchronous support will fail with these transports. As such, we want to ensure that any benchmarks against "unsecure" Accumulo use the same type of Thrift server.
    • Method Detail

      • values

        public static ThriftServerType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (ThriftServerType c : ThriftServerType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ThriftServerType 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