|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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_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_CONNECT_TIMEOUT
Configuration key to specify connection timeout in milliseconds. |
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_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 |
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 long |
DEFAULT_CONNECT_TIMEOUT_MILLIS
Default connection, handshake, and initial request timeout in milliseconds. |
static long |
DEFAULT_REQUEST_TIMEOUT_MILLIS
Default request timeout in milliseconds. |
static String |
HOST_SELECTOR_RANDOM
|
static String |
HOST_SELECTOR_ROUND_ROBIN
|
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |