20 #ifndef HAZELCAST_ClientProperties 21 #define HAZELCAST_ClientProperties 25 #include "hazelcast/util/HazelcastDll.h" 26 #include "hazelcast/util/IOUtil.h" 28 #if defined(WIN32) || defined(_WIN32) || defined(WIN64) || defined(_WIN64) 30 #pragma warning(disable: 4251) //for dll export 46 std::string getName()
const;
48 std::string getValue()
const;
52 return util::IOUtil::to_value<T>(value);
55 int getInteger()
const;
57 bool getBoolean()
const;
59 int64_t getLong()
const;
61 const std::string &getDefaultValue()
const;
66 std::string defaultValue;
101 const ClientProperty &getBackpressureBackoffTimeoutMillis()
const;
116 static const std::string PROP_HEARTBEAT_TIMEOUT_DEFAULT;
125 static const std::string PROP_HEARTBEAT_INTERVAL_DEFAULT;
137 static const std::string PROP_REQUEST_RETRY_COUNT_DEFAULT;
149 static const std::string PROP_REQUEST_RETRY_WAIT_TIME_DEFAULT;
157 static const std::string PROP_AWS_MEMBER_PORT_DEFAULT;
163 static const std::string CLEAN_RESOURCES_PERIOD_MILLIS_DEFAULT;
169 static const std::string INVOCATION_RETRY_PAUSE_MILLIS_DEFAULT;
182 static const std::string INVOCATION_TIMEOUT_SECONDS_DEFAULT;
188 static const std::string EVENT_THREAD_COUNT_DEFAULT;
194 static const std::string EVENT_QUEUE_CAPACITY_DEFAULT;
196 static const std::string INTERNAL_EXECUTOR_POOL_SIZE;
197 static const std::string INTERNAL_EXECUTOR_POOL_SIZE_DEFAULT;
205 static const std::string SHUFFLE_MEMBER_LIST_DEFAULT;
217 static const std::string MAX_CONCURRENT_INVOCATIONS_DEFAULT;
231 static const std::string BACKPRESSURE_BACKOFF_TIMEOUT_MILLIS_DEFAULT;
239 static const std::string STATISTICS_ENABLED_DEFAULT;
245 static const std::string STATISTICS_PERIOD_SECONDS_DEFAULT;
270 #if defined(WIN32) || defined(_WIN32) || defined(WIN64) || defined(_WIN64) 274 #endif //HAZELCAST_ClientProperties static const std::string PROP_REQUEST_RETRY_COUNT
Client will retry requests which either inherently retryable(idempotent client) or ClientNetworkConfi...
Definition: ClientProperties.h:136
static const std::string PROP_HEARTBEAT_TIMEOUT
Client will be sending heartbeat messages to members and this is the timeout.
Definition: ClientProperties.h:115
static const std::string PROP_AWS_MEMBER_PORT
The discovery mechanism will discover only IP addresses.
Definition: ClientProperties.h:156
static const std::string STATISTICS_PERIOD_SECONDS
The period in seconds the statistics sent to the cluster.
Definition: ClientProperties.h:244
static const std::string EVENT_THREAD_COUNT
Number of the threads to handle the incoming event packets.
Definition: ClientProperties.h:187
static const std::string STATISTICS_ENABLED
Use to enable the client statistics collection.
Definition: ClientProperties.h:238
static const std::string PROP_HEARTBEAT_INTERVAL
Time interval in seconds between heartbeats to nodes from client.
Definition: ClientProperties.h:124
A client property is a configuration for hazelcast client.
Definition: ClientProperties.h:42
Client Properties is an internal class.
Definition: ClientProperties.h:75
static const std::string EVENT_QUEUE_CAPACITY
Capacity of the executor that handles the incoming event packets.
Definition: ClientProperties.h:193
static const std::string INVOCATION_TIMEOUT_SECONDS
When an invocation gets an exception because :
Definition: ClientProperties.h:181
static const std::string PROP_REQUEST_RETRY_WAIT_TIME
Client will retry requests which either inherently retryable(idempotent client) or ClientNetworkConfi...
Definition: ClientProperties.h:148
static const std::string BACKPRESSURE_BACKOFF_TIMEOUT_MILLIS
Control the maximum timeout in millis to wait for an invocation space to be available.
Definition: ClientProperties.h:230
static const std::string MAX_CONCURRENT_INVOCATIONS
The maximum number of concurrent invocations allowed.
Definition: ClientProperties.h:216
static const std::string SHUFFLE_MEMBER_LIST
Client shuffles the given member list to prevent all clients to connect to the same node when this pr...
Definition: ClientProperties.h:204
PN (Positive-Negative) CRDT counter.
Definition: MapEntryView.h:32
static const std::string INVOCATION_RETRY_PAUSE_MILLIS
Pause time between each retry cycle of an invocation in milliseconds.
Definition: ClientProperties.h:168
static const std::string CLEAN_RESOURCES_PERIOD_MILLIS
The period in milliseconds at which the resource cleaning is run (e.g.
Definition: ClientProperties.h:162
HazelcastClient configuration class.
Definition: ClientConfig.h:59