public final class ClientProperty extends Object
Modifier and Type | Field and Description |
---|---|
static HazelcastProperty |
BACKPRESSURE_BACKOFF_TIMEOUT_MILLIS
Control the maximum timeout in millis to wait for an invocation space to be available.
|
static HazelcastProperty |
CONCURRENT_WINDOW_MS
Property needed for concurrency detection so that write through and dynamic response handling
can be done correctly.
|
static HazelcastProperty |
DISCOVERY_SPI_ENABLED
Enables the Discovery SPI lookup over the old native implementations.
|
static HazelcastProperty |
DISCOVERY_SPI_PUBLIC_IP_ENABLED
Enables the Discovery Joiner to use public ips from DiscoveredNode.
|
static HazelcastProperty |
EVENT_QUEUE_CAPACITY
Capacity of the executor that handles the incoming event packets.
|
static HazelcastProperty |
EVENT_THREAD_COUNT
Number of the threads to handle the incoming event packets.
|
static HazelcastProperty |
FAIL_ON_INDETERMINATE_OPERATION_STATE
When this configuration is enabled, if an operation has sync backups and acks are not received from backup replicas
in time, or the member which owns primary replica of the target partition leaves the cluster, then the invocation fails
with
IndeterminateOperationStateException . |
static HazelcastProperty |
HAZELCAST_CLOUD_DISCOVERY_TOKEN
Token to use when discovering cluster via hazelcast.cloud
|
static HazelcastProperty |
HEARTBEAT_INTERVAL
Time interval between the heartbeats sent by the client to the nodes.
|
static HazelcastProperty |
HEARTBEAT_TIMEOUT
Client sends heartbeat messages to the members and this is the timeout for this sending operations.
|
static HazelcastProperty |
INVOCATION_RETRY_PAUSE_MILLIS
Pause time between each retry cycle of an invocation in milliseconds.
|
static HazelcastProperty |
INVOCATION_TIMEOUT_SECONDS
When an invocation gets an exception because :
- Member throws an exception.
|
static HazelcastProperty |
IO_BALANCER_INTERVAL_SECONDS
The interval in seconds between
IOBalancer
executions. |
static HazelcastProperty |
IO_INPUT_THREAD_COUNT
Controls the number of IO input threads.
|
static HazelcastProperty |
IO_OUTPUT_THREAD_COUNT
Controls the number of IO output threads.
|
static HazelcastProperty |
IO_WRITE_THROUGH_ENABLED
Optimization that allows sending of packets over the network to be done on the calling thread if the
conditions are right.
|
static HazelcastProperty |
MAX_CONCURRENT_INVOCATIONS
The maximum number of concurrent invocations allowed.
|
static HazelcastProperty |
OPERATION_BACKUP_TIMEOUT_MILLIS
If an operation has backups, this property specifies how long the invocation will wait for acks from the backup replicas.
|
static HazelcastProperty |
RESPONSE_THREAD_COUNT
The number of response threads.
|
static HazelcastProperty |
RESPONSE_THREAD_DYNAMIC
Enabled dynamic switching between processing responses on the io threads
and offloading the response threads.
|
static HazelcastProperty |
SHUFFLE_MEMBER_LIST
Client shuffles the given member list to prevent all clients to connect to the same node when
this property is set to true.
|
public static final HazelcastProperty SHUFFLE_MEMBER_LIST
public static final HazelcastProperty HEARTBEAT_TIMEOUT
public static final HazelcastProperty HEARTBEAT_INTERVAL
public static final HazelcastProperty EVENT_THREAD_COUNT
public static final HazelcastProperty EVENT_QUEUE_CAPACITY
public static final HazelcastProperty INVOCATION_TIMEOUT_SECONDS
public static final HazelcastProperty INVOCATION_RETRY_PAUSE_MILLIS
public static final HazelcastProperty MAX_CONCURRENT_INVOCATIONS
public static final HazelcastProperty BACKPRESSURE_BACKOFF_TIMEOUT_MILLIS
HazelcastOverloadException
.
When set to -1 then HazelcastOverloadException
is thrown immediately without any waiting.
public static final HazelcastProperty DISCOVERY_SPI_ENABLED
Enables the Discovery SPI lookup over the old native implementations. This property is temporary and will eventually be removed when the experimental marker is removed.
Discovery SPI is disabled by default
public static final HazelcastProperty DISCOVERY_SPI_PUBLIC_IP_ENABLED
Enables the Discovery Joiner to use public ips from DiscoveredNode. This property is temporary and will eventually be removed when the experimental marker is removed.
Discovery SPI is disabled by default
public static final HazelcastProperty IO_INPUT_THREAD_COUNT
public static final HazelcastProperty IO_OUTPUT_THREAD_COUNT
public static final HazelcastProperty IO_BALANCER_INTERVAL_SECONDS
IOBalancer
executions. The shorter intervals will catch I/O Imbalance faster, but they will cause higher overhead.
Please see the documentation of IOBalancer
for a detailed explanation of the problem.
The default is 20 seconds. A value smaller than 1 disables the balancer.public static final HazelcastProperty IO_WRITE_THROUGH_ENABLED
public static final HazelcastProperty CONCURRENT_WINDOW_MS
public static final HazelcastProperty RESPONSE_THREAD_COUNT
public static final HazelcastProperty RESPONSE_THREAD_DYNAMIC
public static final HazelcastProperty HAZELCAST_CLOUD_DISCOVERY_TOKEN
public static final HazelcastProperty OPERATION_BACKUP_TIMEOUT_MILLIS
public static final HazelcastProperty FAIL_ON_INDETERMINATE_OPERATION_STATE
IndeterminateOperationStateException
. However, even if the invocation fails,
there will not be any rollback on other successful replicas.Copyright © 2019 Hazelcast, Inc.. All rights reserved.