public final class RpcClientConfigurationConstants extends Object
Modifier and Type | Field and Description |
---|---|
static String |
CONFIG_BACKOFF |
static String |
CONFIG_BATCH_SIZE
Configuration key used to specify the batch size.
|
static String |
CONFIG_CLIENT_TYPE
Configuration key to specify the RpcClient type to be used.
|
static String |
CONFIG_COMPRESSION_LEVEL |
static String |
CONFIG_COMPRESSION_TYPE
The following are const for the NettyAvro Client.
|
static String |
CONFIG_CONNECT_TIMEOUT
Configuration key to specify connection timeout in milliseconds.
|
static String |
CONFIG_CONNECTION_POOL_SIZE
Maximum number of connections each Thrift Rpc client can open to a given
host.
|
static String |
CONFIG_EXCLUDE_CIPHER_SUITES |
static String |
CONFIG_EXCLUDE_PROTOCOLS |
static String |
CONFIG_HOST_SELECTOR
The selector type used by the LoadBalancingRpcClient.
|
static String |
CONFIG_HOSTS
Hosts configuration key to specify a space delimited list of named
hosts.
|
static String |
CONFIG_HOSTS_PREFIX
Hosts prefix to specify address of a particular named host.
|
static String |
CONFIG_INCLUDE_CIPHER_SUITES |
static String |
CONFIG_INCLUDE_PROTOCOLS |
static String |
CONFIG_MAX_ATTEMPTS
Maximum attempts to be made by the FailoverRpcClient in case of
failures.
|
static String |
CONFIG_MAX_BACKOFF |
static String |
CONFIG_REQUEST_TIMEOUT
Configuration key to specify request timeout in milliseconds.
|
static String |
CONFIG_SSL
Configuration constants for SSL support
|
static String |
CONFIG_TRUST_ALL_CERTS |
static String |
CONFIG_TRUSTSTORE |
static String |
CONFIG_TRUSTSTORE_PASSWORD |
static String |
CONFIG_TRUSTSTORE_TYPE |
static String |
DEFAULT_BACKOFF |
static Integer |
DEFAULT_BATCH_SIZE
Default batch size.
|
static String |
DEFAULT_CLIENT_TYPE
The default client type to be created if no explicit type is specified.
|
static int |
DEFAULT_COMPRESSION_LEVEL |
static long |
DEFAULT_CONNECT_TIMEOUT_MILLIS
Default connection, handshake, and initial request timeout in milliseconds.
|
static int |
DEFAULT_CONNECTION_POOL_SIZE |
static long |
DEFAULT_REQUEST_TIMEOUT_MILLIS
Default request timeout in milliseconds.
|
static String |
HOST_SELECTOR_RANDOM |
static String |
HOST_SELECTOR_ROUND_ROBIN |
static String |
KERBEROS_KEY |
static String |
MAX_IO_WORKERS
Configuration constants for the NettyAvroRpcClient
NioClientSocketChannelFactory
|
public static final String CONFIG_HOSTS
hosts = h1 h2
public static final String CONFIG_HOSTS_PREFIX
hosts.h1 = server1.example.com:12121 hosts.h2 = server2.example.com:12121
public static final String CONFIG_BATCH_SIZE
public static final String CONFIG_CONNECT_TIMEOUT
public static final String CONFIG_REQUEST_TIMEOUT
public static final Integer DEFAULT_BATCH_SIZE
public static final long DEFAULT_CONNECT_TIMEOUT_MILLIS
public static final long DEFAULT_REQUEST_TIMEOUT_MILLIS
public static final String CONFIG_MAX_ATTEMPTS
public static final String CONFIG_CLIENT_TYPE
public static final String DEFAULT_CLIENT_TYPE
public static final String CONFIG_HOST_SELECTOR
public static final String HOST_SELECTOR_ROUND_ROBIN
public static final String HOST_SELECTOR_RANDOM
public static final String CONFIG_MAX_BACKOFF
public static final String CONFIG_BACKOFF
public static final String DEFAULT_BACKOFF
public static final String CONFIG_CONNECTION_POOL_SIZE
public static final int DEFAULT_CONNECTION_POOL_SIZE
public static final String CONFIG_COMPRESSION_TYPE
public static final String CONFIG_COMPRESSION_LEVEL
public static final int DEFAULT_COMPRESSION_LEVEL
public static final String CONFIG_SSL
public static final String CONFIG_TRUST_ALL_CERTS
public static final String CONFIG_TRUSTSTORE
public static final String CONFIG_TRUSTSTORE_PASSWORD
public static final String CONFIG_TRUSTSTORE_TYPE
public static final String CONFIG_EXCLUDE_PROTOCOLS
public static final String CONFIG_INCLUDE_PROTOCOLS
public static final String CONFIG_EXCLUDE_CIPHER_SUITES
public static final String CONFIG_INCLUDE_CIPHER_SUITES
public static final String KERBEROS_KEY
public static final String MAX_IO_WORKERS
Copyright © 2009–2019 Apache Software Foundation. All rights reserved.