public final class ClientProperty extends Object
| Modifier and Type | Field and Description | 
|---|---|
| static HazelcastProperty | BACKPRESSURE_BACKOFF_TIMEOUT_MILLISControl the maximum timeout in millis to wait for an invocation space to be available. | 
| static HazelcastProperty | CONCURRENT_WINDOW_MSProperty needed for concurrency detection so that write through and dynamic response handling
 can be done correctly. | 
| static HazelcastProperty | DISCOVERY_SPI_ENABLEDEnables the Discovery SPI | 
| static HazelcastProperty | DISCOVERY_SPI_PUBLIC_IP_ENABLEDEnables the Discovery Joiner to use public IP from DiscoveredNode. | 
| static HazelcastProperty | EVENT_QUEUE_CAPACITYCapacity of the executor that handles the incoming event packets. | 
| static HazelcastProperty | EVENT_THREAD_COUNTNumber of the threads to handle the incoming event packets. | 
| static HazelcastProperty | FAIL_ON_INDETERMINATE_OPERATION_STATEWhen 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_TOKENToken to use when discovering cluster via hazelcast.cloud | 
| static HazelcastProperty | HEARTBEAT_INTERVALTime interval between the heartbeats sent by the client to the nodes. | 
| static HazelcastProperty | HEARTBEAT_TIMEOUTClient sends heartbeat messages to the members and this is the timeout for this sending operations. | 
| static HazelcastProperty | INVOCATION_RETRY_PAUSE_MILLISPause time between each retry cycle of an invocation in milliseconds. | 
| static HazelcastProperty | INVOCATION_TIMEOUT_SECONDSWhen an invocation gets an exception because :
 - Member throws an exception. | 
| static HazelcastProperty | IO_BALANCER_INTERVAL_SECONDSThe interval in seconds between  IOBalancerexecutions. | 
| static HazelcastProperty | IO_INPUT_THREAD_COUNTControls the number of IO input threads. | 
| static HazelcastProperty | IO_OUTPUT_THREAD_COUNTControls the number of IO output threads. | 
| static HazelcastProperty | IO_WRITE_THROUGH_ENABLEDOptimization that allows sending of packets over the network to be done on the calling thread if the
 conditions are right. | 
| static HazelcastProperty | MAX_CONCURRENT_INVOCATIONSThe maximum number of concurrent invocations allowed. | 
| static HazelcastProperty | METRICS_COLLECTION_FREQUENCYSets the metrics collection frequency in seconds. | 
| static HazelcastProperty | METRICS_DEBUGEnables collecting debug metrics. | 
| static HazelcastProperty | METRICS_ENABLEDEnables/disables metrics collection altogether. | 
| static HazelcastProperty | METRICS_JMX_ENABLEDEnables/disables exposing metrics on JMX. | 
| static HazelcastProperty | OPERATION_BACKUP_TIMEOUT_MILLISIf an operation has backups, this property specifies how long the invocation will wait for acks from the backup replicas. | 
| static HazelcastProperty | RESPONSE_THREAD_COUNTThe number of response threads. | 
| static HazelcastProperty | RESPONSE_THREAD_DYNAMICEnabled dynamic switching between processing responses on the io threads
 and offloading the response threads. | 
| static HazelcastProperty | SHUFFLE_MEMBER_LISTClient shuffles the given member list to prevent all clients to connect to the same node when
 this property is set to true. | 
| static HazelcastProperty | STATISTICS_ENABLEDUse to enable the client statistics collection. | 
| static HazelcastProperty | STATISTICS_PERIOD_SECONDSThe period in seconds the statistics run. | 
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
To prevent the system from overloading, user can apply a constraint on the number of concurrent invocations. If the maximum number of concurrent invocations has been exceeded and a new invocation comes in, then hazelcast will throw HazelcastOverloadException
By default it is configured as Integer.MaxValue.
public static final HazelcastProperty BACKPRESSURE_BACKOFF_TIMEOUT_MILLIS
 If an invocation can't be made because there are too many pending invocations, then an exponential backoff is done
 to give the system time to deal with the backlog of invocations. This property controls how long an invocation is
 allowed to wait before getting a HazelcastOverloadException.
 
 When set to -1 then HazelcastOverloadException is thrown immediately without any waiting.
public static final HazelcastProperty DISCOVERY_SPI_ENABLED
Enables the Discovery SPI
Discovery SPI is disabled by default
public static final HazelcastProperty DISCOVERY_SPI_PUBLIC_IP_ENABLED
Enables the Discovery Joiner to use public IP from DiscoveredNode.
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.public static final HazelcastProperty STATISTICS_ENABLED
The default is false.
public static final HazelcastProperty STATISTICS_PERIOD_SECONDS
public static final HazelcastProperty METRICS_ENABLED
 NOTE: This property overrides BaseMetricsConfig.isEnabled().
 
 Using BaseMetricsConfig.setEnabled(boolean) and the declarative
 counterparts are preferred over using this property. The main purpose
 of making metrics collection configurable from properties too is
 allowing operators to configure the metrics subsystem from the outside
 during investigation without touching or copying the configuration
 potentially embedded into a signed artifact.
public static final HazelcastProperty METRICS_JMX_ENABLED
 NOTE: This property overrides MetricsJmxConfig.isEnabled().
 
 Using MetricsJmxConfig.setEnabled(boolean) and the declarative
 counterparts are preferred over using this property. The main purpose
 of making metrics collection configurable from properties too is
 allowing operators to configure the metrics subsystem from the outside
 during investigation without touching or copying the configuration
 potentially embedded into a signed artifact.
public static final HazelcastProperty METRICS_DEBUG
public static final HazelcastProperty METRICS_COLLECTION_FREQUENCY
 NOTE: This property overrides BaseMetricsConfig.getCollectionFrequencySeconds().
 
 Using BaseMetricsConfig.setCollectionFrequencySeconds(int) and the declarative
 counterparts are preferred over using this property. The main purpose
 of making metrics collection configurable from properties too is
 allowing operators to configure the metrics subsystem from the outside
 during investigation without touching or copying the configuration
 potentially embedded into a signed artifact.
Copyright © 2020 Hazelcast, Inc.. All rights reserved.