public class ClientProperties extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ClientProperties.ClientProperty |
Modifier and Type | Field and Description |
---|---|
static String |
PROP_EVENT_QUEUE_CAPACITY
Capacity of executor that will handle incoming event packets.
|
static String |
PROP_EVENT_QUEUE_CAPACITY_DEFAULT
Default value of capacity of executor that will handle incoming event packets.
|
static String |
PROP_EVENT_THREAD_COUNT
Number of threads to handle incoming event packets
|
static String |
PROP_EVENT_THREAD_COUNT_DEFAULT
Default value of number of threads to handle incoming event packets
|
static String |
PROP_HEARTBEAT_INTERVAL
Time interval between heartbeats to nodes from client
|
static String |
PROP_HEARTBEAT_INTERVAL_DEFAULT
Default value of PROP_HEARTBEAT_INTERVAL when user not set it explicitly
|
static String |
PROP_HEARTBEAT_TIMEOUT
Client will be sending heartbeat messages to members and this is the timeout.
|
static String |
PROP_HEARTBEAT_TIMEOUT_DEFAULT
Default value of heartbeat timeout when user not set it explicitly
|
static String |
PROP_REQUEST_RETRY_COUNT
Client will retry requests which either inherently retryable(idempotent client)
or
ClientNetworkConfig.redoOperation is set to true. |
static String |
PROP_REQUEST_RETRY_COUNT_DEFAULT
Default value of PROP_REQUEST_RETRY_COUNT when user not set it explicitly
|
static String |
PROP_REQUEST_RETRY_WAIT_TIME
Client will retry requests which either inherently retryable(idempotent client)
or
ClientNetworkConfig.redoOperation is set to true. |
static String |
PROP_REQUEST_RETRY_WAIT_TIME_DEFAULT
Default value of PROP_REQUEST_RETRY_WAIT_TIME when user not set it explicitly
|
Constructor and Description |
---|
ClientProperties(ClientConfig clientConfig) |
public static final String PROP_HEARTBEAT_TIMEOUT
public static final String PROP_HEARTBEAT_TIMEOUT_DEFAULT
public static final String PROP_HEARTBEAT_INTERVAL
public static final String PROP_HEARTBEAT_INTERVAL_DEFAULT
public static final String PROP_REQUEST_RETRY_COUNT
ClientNetworkConfig.redoOperation
is set to true.
This property is to configure retry count before client give up retrying.public static final String PROP_REQUEST_RETRY_COUNT_DEFAULT
public static final String PROP_REQUEST_RETRY_WAIT_TIME
ClientNetworkConfig.redoOperation
is set to true.
Time delay in milisecond between retries.public static final String PROP_REQUEST_RETRY_WAIT_TIME_DEFAULT
public static final String PROP_EVENT_THREAD_COUNT
public static final String PROP_EVENT_THREAD_COUNT_DEFAULT
public static final String PROP_EVENT_QUEUE_CAPACITY
public static final String PROP_EVENT_QUEUE_CAPACITY_DEFAULT
public ClientProperties(ClientConfig clientConfig)
public ClientProperties.ClientProperty getHeartbeatTimeout()
public ClientProperties.ClientProperty getHeartbeatInterval()
public ClientProperties.ClientProperty getRetryCount()
public ClientProperties.ClientProperty getRetryWaitTime()
public ClientProperties.ClientProperty getEventQueueCapacity()
public ClientProperties.ClientProperty getEventThreadCount()
Copyright © 2014 Hazelcast, Inc.. All Rights Reserved.