public class ClientProperties extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ClientProperties.ClientProperty |
Modifier and Type | Field and Description |
---|---|
ClientProperties.ClientProperty |
heartbeatInterval |
ClientProperties.ClientProperty |
heartbeatTimeout |
ClientProperties.ClientProperty |
maxFailedHeartbeatCount |
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
|
ClientProperties.ClientProperty |
retryCount |
ClientProperties.ClientProperty |
retryWaitTime |
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_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 final ClientProperties.ClientProperty heartbeatTimeout
public final ClientProperties.ClientProperty heartbeatInterval
public final ClientProperties.ClientProperty maxFailedHeartbeatCount
public final ClientProperties.ClientProperty retryCount
public final ClientProperties.ClientProperty retryWaitTime
public ClientProperties(ClientConfig clientConfig)
Copyright © 2014 Hazelcast, Inc.. All Rights Reserved.