public class ClientProperties extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ClientProperties.ClientProperty |
Modifier and Type | Field and Description |
---|---|
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_MAX_FAILED_HEARTBEAT_COUNT
Connection is assumed that when max failed heartbeat count exceeds given failed heartbeat count.
|
static String |
PROP_MAX_FAILED_HEARTBEAT_COUNT_DEFAULT
Default value of PROP_MAX_FAILED_HEARTBEAT_COUNT when user not set it explicitly
|
static String |
PROP_REQUEST_RETRY_COUNT
Client will retry requests which either inherently retryable(idempotent requests)
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 requests)
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) |
Modifier and Type | Method and Description |
---|---|
ClientProperties.ClientProperty |
getHeartbeatInterval() |
ClientProperties.ClientProperty |
getHeartbeatTimeout() |
ClientProperties.ClientProperty |
getMaxFailedHeartbeatCount() |
ClientProperties.ClientProperty |
getRetryCount() |
ClientProperties.ClientProperty |
getRetryWaitTime() |
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_MAX_FAILED_HEARTBEAT_COUNT
public static final String PROP_MAX_FAILED_HEARTBEAT_COUNT_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 ClientProperties(ClientConfig clientConfig)
public ClientProperties.ClientProperty getHeartbeatTimeout()
public ClientProperties.ClientProperty getHeartbeatInterval()
public ClientProperties.ClientProperty getMaxFailedHeartbeatCount()
public ClientProperties.ClientProperty getRetryCount()
public ClientProperties.ClientProperty getRetryWaitTime()
Copyright © 2014 Hazelcast, Inc.. All Rights Reserved.