| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.flume.api.RpcClientConfigurationConstants
public final class RpcClientConfigurationConstants
Configuration constants used by the RpcClient. These configuration keys can be specified via a Properties object to the appropriate method of RpcClientFactory in order to obtain a customized RPC client.
| Field Summary | |
|---|---|
| static String | CONFIG_BACKOFF | 
| static String | CONFIG_BATCH_SIZEConfiguration key used to specify the batch size. | 
| static String | CONFIG_CLIENT_TYPEConfiguration key to specify the RpcClient type to be used. | 
| static String | CONFIG_COMPRESSION_LEVEL | 
| static String | CONFIG_COMPRESSION_TYPEThe following are const for the NettyAvro Client. | 
| static String | CONFIG_CONNECT_TIMEOUTConfiguration key to specify connection timeout in milliseconds. | 
| static String | CONFIG_CONNECTION_POOL_SIZEMaximum number of connections each Thrift Rpc client can open to a given host. | 
| static String | CONFIG_EXCLUDE_PROTOCOLS | 
| static String | CONFIG_HOST_SELECTORThe selector type used by the LoadBalancingRpcClient. | 
| static String | CONFIG_HOSTSHosts configuration key to specify a space delimited list of named hosts. | 
| static String | CONFIG_HOSTS_PREFIXHosts prefix to specify address of a particular named host. | 
| static String | CONFIG_MAX_ATTEMPTSMaximum attempts to be made by the FailoverRpcClient in case of failures. | 
| static String | CONFIG_MAX_BACKOFF | 
| static String | CONFIG_REQUEST_TIMEOUTConfiguration key to specify request timeout in milliseconds. | 
| static String | CONFIG_SSLConfiguration 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_SIZEDefault batch size. | 
| static String | DEFAULT_CLIENT_TYPEThe default client type to be created if no explicit type is specified. | 
| static int | DEFAULT_COMPRESSION_LEVEL | 
| static long | DEFAULT_CONNECT_TIMEOUT_MILLISDefault connection, handshake, and initial request timeout in milliseconds. | 
| static int | DEFAULT_CONNECTION_POOL_SIZE | 
| static long | DEFAULT_REQUEST_TIMEOUT_MILLISDefault request timeout in milliseconds. | 
| static String | HOST_SELECTOR_RANDOM | 
| static String | HOST_SELECTOR_ROUND_ROBIN | 
| static String | KERBEROS_KEY | 
| static String | MAX_IO_WORKERSConfiguration constants for the NettyAvroRpcClient NioClientSocketChannelFactory | 
| Method Summary | 
|---|
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
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 KERBEROS_KEY
public static final String MAX_IO_WORKERS
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||