Enum ClientProperty

    • Enum Constant Detail

      • INSTANCE_ZOOKEEPERS

        public static final ClientProperty INSTANCE_ZOOKEEPERS
      • INSTANCE_ZOOKEEPERS_TIMEOUT

        public static final ClientProperty INSTANCE_ZOOKEEPERS_TIMEOUT
      • BATCH_WRITER_MEMORY_MAX

        public static final ClientProperty BATCH_WRITER_MEMORY_MAX
      • BATCH_WRITER_LATENCY_MAX

        public static final ClientProperty BATCH_WRITER_LATENCY_MAX
      • BATCH_WRITER_TIMEOUT_MAX

        public static final ClientProperty BATCH_WRITER_TIMEOUT_MAX
      • BATCH_WRITER_THREADS_MAX

        public static final ClientProperty BATCH_WRITER_THREADS_MAX
      • BATCH_WRITER_DURABILITY

        public static final ClientProperty BATCH_WRITER_DURABILITY
      • SCANNER_BATCH_SIZE

        public static final ClientProperty SCANNER_BATCH_SIZE
      • BATCH_SCANNER_NUM_QUERY_THREADS

        public static final ClientProperty BATCH_SCANNER_NUM_QUERY_THREADS
      • BULK_LOAD_THREADS

        public static final ClientProperty BULK_LOAD_THREADS
      • SSL_KEYSTORE_PASSWORD

        public static final ClientProperty SSL_KEYSTORE_PASSWORD
      • SSL_KEYSTORE_PATH

        public static final ClientProperty SSL_KEYSTORE_PATH
      • SSL_KEYSTORE_TYPE

        public static final ClientProperty SSL_KEYSTORE_TYPE
      • SSL_TRUSTSTORE_PASSWORD

        public static final ClientProperty SSL_TRUSTSTORE_PASSWORD
      • SSL_TRUSTSTORE_PATH

        public static final ClientProperty SSL_TRUSTSTORE_PATH
      • SSL_TRUSTSTORE_TYPE

        public static final ClientProperty SSL_TRUSTSTORE_TYPE
      • SASL_KERBEROS_SERVER_PRIMARY

        public static final ClientProperty SASL_KERBEROS_SERVER_PRIMARY
      • TRACE_SPAN_RECEIVERS

        public static final ClientProperty TRACE_SPAN_RECEIVERS
      • TRACE_ZOOKEEPER_PATH

        public static final ClientProperty TRACE_ZOOKEEPER_PATH
    • Method Detail

      • values

        public static ClientProperty[] 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 (ClientProperty c : ClientProperty.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ClientProperty 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
      • getKey

        public String getKey()
      • getDefaultValue

        public String getDefaultValue()
      • getDescription

        public String getDescription()
      • getSince

        public String getSince()
      • isRequired

        public boolean isRequired()
      • isEmpty

        public boolean isEmpty​(Properties properties)
      • getTimeInMillis

        public Long getTimeInMillis​(Properties properties)
      • getBoolean

        public boolean getBoolean​(Properties properties)
      • setBytes

        public void setBytes​(Properties properties,
                             Long bytes)
      • setTimeInMillis

        public void setTimeInMillis​(Properties properties,
                                    Long milliseconds)
      • setKerberosKeytab

        public static void setKerberosKeytab​(Properties properties,
                                             String keytabPath)
      • validate

        public static void validate​(Properties properties,
                                    boolean validateToken)