Hazelcast C++ Client
Public Member Functions | Static Public Attributes | List of all members
hazelcast::client::ClientProperties Class Reference

Client Properties is an internal class. More...

#include <ClientProperties.h>

Public Member Functions

 ClientProperties (ClientConfig &clientConfig)
 
const ClientPropertygetHeartbeatTimeout () const
 
const ClientPropertygetHeartbeatInterval () const
 
const ClientPropertygetRetryCount () const
 
const ClientPropertygetRetryWaitTime () const
 
const ClientPropertygetAwsMemberPort () const
 

Static Public Attributes

static const std::string PROP_HEARTBEAT_TIMEOUT = "hazelcast_client_heartbeat_timeout"
 Client will be sending heartbeat messages to members and this is the timeout. More...
 
static const std::string PROP_HEARTBEAT_TIMEOUT_DEFAULT = "60"
 
static const std::string PROP_HEARTBEAT_INTERVAL = "hazelcast_client_heartbeat_interval"
 Time interval in seconds between heartbeats to nodes from client. More...
 
static const std::string PROP_HEARTBEAT_INTERVAL_DEFAULT = "10"
 
static const std::string PROP_REQUEST_RETRY_COUNT = "hazelcast_client_request_retry_count"
 Client will retry requests which either inherently retryable(idempotent client) or ClientNetworkConfig#redoOperation is set to true_ This property is to configure retry count before client give up retrying. More...
 
static const std::string PROP_REQUEST_RETRY_COUNT_DEFAULT = "20"
 
static const std::string PROP_REQUEST_RETRY_WAIT_TIME = "hazelcast_client_request_retry_wait_time"
 Client will retry requests which either inherently retryable(idempotent client) or ClientNetworkConfig#redoOperation is set to true. More...
 
static const std::string PROP_REQUEST_RETRY_WAIT_TIME_DEFAULT = "1"
 
static const std::string PROP_AWS_MEMBER_PORT = "hz-port"
 The discovery mechanism will discover only IP addresses. More...
 
static const std::string PROP_AWS_MEMBER_PORT_DEFAULT = "5701"
 

Detailed Description

Client Properties is an internal class.

Only use properties documentations as references to be used in ClientConfig::setProperty

Member Data Documentation

const std::string hazelcast::client::ClientProperties::PROP_AWS_MEMBER_PORT = "hz-port"
static

The discovery mechanism will discover only IP addresses.

You can define the port on which Hazelcast is expected to be running here. This port number is not used by the discovery mechanism itself, it is only returned by the discovery mechanism. The default port is PROP_AWS_MEMBER_PORT_DEFAULT

const std::string hazelcast::client::ClientProperties::PROP_HEARTBEAT_INTERVAL = "hazelcast_client_heartbeat_interval"
static

Time interval in seconds between heartbeats to nodes from client.

attribute "hazelcast_client_heartbeat_interval" default value "10"

const std::string hazelcast::client::ClientProperties::PROP_HEARTBEAT_TIMEOUT = "hazelcast_client_heartbeat_timeout"
static

Client will be sending heartbeat messages to members and this is the timeout.

If there is no any message passing between client and member within the given time via this property in seconds the connection will be closed.

attribute "hazelcast_client_heartbeat_timeout" default value "60"

const std::string hazelcast::client::ClientProperties::PROP_REQUEST_RETRY_COUNT = "hazelcast_client_request_retry_count"
static

Client will retry requests which either inherently retryable(idempotent client) or ClientNetworkConfig#redoOperation is set to true_ This property is to configure retry count before client give up retrying.

attribute "hazelcast_client_request_retry_count" default value "20"

const std::string hazelcast::client::ClientProperties::PROP_REQUEST_RETRY_WAIT_TIME = "hazelcast_client_request_retry_wait_time"
static

Client will retry requests which either inherently retryable(idempotent client) or ClientNetworkConfig#redoOperation is set to true.

Time delay in seconds between retries.

attribute "hazelcast_client_request_retry_wait_time" default value "1"


The documentation for this class was generated from the following files: