@PrivateApi public enum GroupProperty extends Enum<GroupProperty> implements HazelcastProperty
Type | Property and Description |
---|---|
String |
clearSystem
Clears the environmental value of the property.
|
Enum Constant and Description |
---|
APPLICATION_VALIDATION_TOKEN
Use this property to verify that Hazelcast nodes only join the cluster when their 'application' level configuration is the
same.
|
BACKPRESSURE_BACKOFF_TIMEOUT_MILLIS
Control the maximum timeout in millis to wait for an invocation space to be available.
|
BACKPRESSURE_ENABLED
Using back pressure, you can prevent an overload of pending asynchronous backups.
|
BACKPRESSURE_MAX_CONCURRENT_INVOCATIONS_PER_PARTITION
The maximum number of concurrent invocations per partition.
|
BACKPRESSURE_SYNCWINDOW
Controls the frequency of a BackupAwareOperation getting its async backups converted to a sync backups.
|
CACHE_INVALIDATION_MESSAGE_BATCH_ENABLED
Defines cache invalidation event batch sending is enabled or not.
|
CACHE_INVALIDATION_MESSAGE_BATCH_FREQUENCY_SECONDS
Defines the cache invalidation event batch sending frequency in seconds.
|
CACHE_INVALIDATION_MESSAGE_BATCH_SIZE
Defines the maximum number of cache invalidation events to be drained and sent to the event listeners in a batch.
|
CLIENT_ENGINE_THREAD_COUNT
The number of threads that the client engine has available for processing requests that are not partition specific.
|
CLIENT_HEARTBEAT_TIMEOUT_SECONDS |
CLUSTER_SHUTDOWN_TIMEOUT_SECONDS |
CONNECT_ALL_WAIT_SECONDS |
CONNECTION_MONITOR_INTERVAL |
CONNECTION_MONITOR_MAX_FAULTS |
DISCOVERY_SPI_ENABLED
Enables the Discovery SPI lookup over the old native implementations.
|
DISCOVERY_SPI_PUBLIC_IP_ENABLED
Enables the Discovery Joiner to use public ips from DiscoveredNode.
|
ENABLE_JMX |
ENABLE_JMX_DETAILED |
ENTERPRISE_LICENSE_KEY |
EVENT_QUEUE_CAPACITY |
EVENT_QUEUE_TIMEOUT_MILLIS |
EVENT_THREAD_COUNT |
GENERIC_OPERATION_THREAD_COUNT
The number of generic operation handler threads per Member.
|
GRACEFUL_SHUTDOWN_MAX_WAIT |
HEALTH_MONITORING_DELAY_SECONDS |
HEALTH_MONITORING_LEVEL |
HEARTBEAT_INTERVAL_SECONDS |
ICMP_ENABLED |
ICMP_TIMEOUT |
ICMP_TTL |
INITIAL_MIN_CLUSTER_SIZE |
INITIAL_WAIT_SECONDS |
IO_BALANCER_INTERVAL_SECONDS
The interval in seconds between
IOBalancer
executions. |
IO_INPUT_THREAD_COUNT
Controls the number of socket input threads.
|
IO_OUTPUT_THREAD_COUNT
Controls the number of socket output threads.
|
IO_THREAD_COUNT
The number of threads doing socket input and the number of threads doing socket output.
|
JCACHE_PROVIDER_TYPE
Forces the JCache provider, which can have values client or server, to force the provider type.
|
LOCK_MAX_LEASE_TIME_SECONDS |
LOGGING_TYPE |
MAP_EXPIRY_DELAY_SECONDS
You can use MAP_EXPIRY_DELAY_SECONDS to deal with some possible edge cases, such as using EntryProcessor.
|
MAP_INVALIDATION_MESSAGE_BATCH_ENABLED
Defines near-cache invalidation event batch sending is enabled or not.
|
MAP_INVALIDATION_MESSAGE_BATCH_FREQUENCY_SECONDS
Defines the near-cache invalidation event batch sending frequency in seconds.
|
MAP_INVALIDATION_MESSAGE_BATCH_SIZE
Defines the maximum number of near-cache invalidation events to be drained and sent to the event near-caches in a batch.
|
MAP_LOAD_CHUNK_SIZE |
MAP_REPLICA_SCHEDULED_TASK_DELAY_SECONDS |
MAP_WRITE_BEHIND_QUEUE_CAPACITY
Setting this capacity is valid if you set
MapStoreConfig.writeCoalescing to false . |
MASTER_CONFIRMATION_INTERVAL_SECONDS |
MAX_JOIN_MERGE_TARGET_SECONDS |
MAX_JOIN_SECONDS |
MAX_NO_HEARTBEAT_SECONDS |
MAX_NO_MASTER_CONFIRMATION_SECONDS |
MAX_WAIT_SECONDS_BEFORE_JOIN |
MC_MAX_VISIBLE_INSTANCE_COUNT |
MC_MAX_VISIBLE_SLOW_OPERATION_COUNT |
MC_URL_CHANGE_ENABLED |
MEMBER_LIST_PUBLISH_INTERVAL_SECONDS |
MEMCACHE_ENABLED |
MERGE_FIRST_RUN_DELAY_SECONDS |
MERGE_NEXT_RUN_DELAY_SECONDS |
MIGRATION_MIN_DELAY_ON_MEMBER_REMOVED_SECONDS |
OPERATION_BACKUP_TIMEOUT_MILLIS
If an operation has backups and the backups don't complete in time, then some cleanup logic can be executed.
|
OPERATION_CALL_TIMEOUT_MILLIS |
PARTITION_BACKUP_SYNC_INTERVAL |
PARTITION_COUNT
Total number of partitions in the Hazelcast cluster.
|
PARTITION_MAX_PARALLEL_REPLICATIONS |
PARTITION_MIGRATION_INTERVAL |
PARTITION_MIGRATION_TIMEOUT |
PARTITION_MIGRATION_ZIP_ENABLED |
PARTITION_OPERATION_THREAD_COUNT
The number of partition operation handler threads per Member.
|
PARTITION_TABLE_SEND_INTERVAL |
PARTITIONING_STRATEGY_CLASS |
PERFORMANCE_METRICS_LEVEL
The minimum level for probes is MANDATORY, but it can be changed to INFO or DEBUG.
|
PERFORMANCE_MONITOR_DELAY_SECONDS
The delay in seconds between monitor of the performance.
|
PERFORMANCE_MONITOR_ENABLED
Use the performance monitor to see internal performance metrics.
|
PERFORMANCE_MONITOR_HUMAN_FRIENDLY_FORMAT
If a human friendly, but more difficult to parse, output format should be selected for dumping the metrics.
|
PERFORMANCE_MONITOR_MAX_ROLLED_FILE_COUNT
The PerformanceMonitor uses a rolling file approach to prevent eating too much disk space.
|
PERFORMANCE_MONITOR_MAX_ROLLED_FILE_SIZE_MB
The PerformanceMonitor uses a rolling file approach to prevent eating too much disk space.
|
PHONE_HOME_ENABLED |
PREFER_IPv4_STACK |
QUERY_MAX_LOCAL_PARTITION_LIMIT_FOR_PRE_CHECK
Maximum value of local partitions to trigger local pre-check for
TruePredicate query operations on maps. |
QUERY_OPTIMIZER_TYPE
Type of Query Optimizer.
|
QUERY_PREDICATE_PARALLEL_EVALUATION
Run Query Evaluations for multiple partitions in parallel.
|
QUERY_RESULT_SIZE_LIMIT
Result size limit for query operations on maps.
|
REST_ENABLED |
SERIALIZATION_VERSION
Hazelcast serialization version.
|
SHUTDOWNHOOK_ENABLED |
SLOW_INVOCATION_DETECTOR_THRESHOLD_MILLIS
Defines a threshold above which a running invocation in
OperationService is considered
to be slow. |
SLOW_OPERATION_DETECTOR_ENABLED
Enables or disables the
SlowOperationDetector . |
SLOW_OPERATION_DETECTOR_LOG_PURGE_INTERVAL_SECONDS
Purge interval for slow operation logs.
|
SLOW_OPERATION_DETECTOR_LOG_RETENTION_SECONDS
This value defines the retention time of invocations in slow operation logs.
|
SLOW_OPERATION_DETECTOR_STACK_TRACE_LOGGING_ENABLED
Defines if the stacktraces of slow operations are logged in the log file.
|
SLOW_OPERATION_DETECTOR_THRESHOLD_MILLIS
Defines a threshold above which a running operation in
OperationService is considered to be slow. |
SOCKET_BIND_ANY |
SOCKET_CLIENT_BIND |
SOCKET_CLIENT_BIND_ANY |
SOCKET_CLIENT_RECEIVE_BUFFER_SIZE
Overrides receive buffer size for connections opened by clients.
|
SOCKET_CLIENT_SEND_BUFFER_SIZE
Overrides send buffer size for connections opened by clients.
|
SOCKET_CONNECT_TIMEOUT_SECONDS |
SOCKET_KEEP_ALIVE |
SOCKET_LINGER_SECONDS |
SOCKET_NO_DELAY |
SOCKET_RECEIVE_BUFFER_SIZE |
SOCKET_SEND_BUFFER_SIZE |
SOCKET_SERVER_BIND_ANY |
SYSTEM_LOG_ENABLED |
TCP_JOIN_PORT_TRY_COUNT
The number of incremental ports, starting with port number defined in network configuration,
that will be used to connect to a host which is defined without a port in the TCP-IP member list
while a node is searching for a cluster.
|
VERSION_CHECK_ENABLED
Deprecated.
|
WAIT_SECONDS_BEFORE_JOIN |
Modifier and Type | Method and Description |
---|---|
String |
clearSystemProperty()
Clears the environmental value of the property.
|
String |
getDefaultValue()
Returns the default value of the property.
|
int |
getIndex()
Gets the index of the property.
|
String |
getName()
Returns the property name.
|
GroupProperty |
getParent()
Returns the parent
GroupProperty of the property. |
String |
getSystemProperty()
Gets the environmental value of the property.
|
TimeUnit |
getTimeUnit()
Returns the
TimeUnit of the property. |
void |
setSystemProperty(String value)
Sets the environmental value of the property.
|
String |
toString() |
static GroupProperty |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GroupProperty[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GroupProperty APPLICATION_VALIDATION_TOKEN
public static final GroupProperty PARTITION_COUNT
public static final GroupProperty PARTITION_OPERATION_THREAD_COUNT
public static final GroupProperty GENERIC_OPERATION_THREAD_COUNT
public static final GroupProperty CLIENT_ENGINE_THREAD_COUNT
public static final GroupProperty EVENT_THREAD_COUNT
public static final GroupProperty EVENT_QUEUE_CAPACITY
public static final GroupProperty EVENT_QUEUE_TIMEOUT_MILLIS
public static final GroupProperty HEALTH_MONITORING_LEVEL
public static final GroupProperty HEALTH_MONITORING_DELAY_SECONDS
public static final GroupProperty PERFORMANCE_MONITOR_ENABLED
public static final GroupProperty PERFORMANCE_METRICS_LEVEL
public static final GroupProperty PERFORMANCE_MONITOR_DELAY_SECONDS
public static final GroupProperty PERFORMANCE_MONITOR_MAX_ROLLED_FILE_SIZE_MB
public static final GroupProperty PERFORMANCE_MONITOR_MAX_ROLLED_FILE_COUNT
public static final GroupProperty PERFORMANCE_MONITOR_HUMAN_FRIENDLY_FORMAT
public static final GroupProperty IO_THREAD_COUNT
IO_INPUT_THREAD_COUNT
and IO_OUTPUT_THREAD_COUNT
.
The default is 3 (so 6 threads).public static final GroupProperty IO_INPUT_THREAD_COUNT
IO_THREAD_COUNT
.public static final GroupProperty IO_OUTPUT_THREAD_COUNT
IO_THREAD_COUNT
.public static final GroupProperty 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 GroupProperty PREFER_IPv4_STACK
@Deprecated public static final GroupProperty VERSION_CHECK_ENABLED
public static final GroupProperty PHONE_HOME_ENABLED
public static final GroupProperty CONNECT_ALL_WAIT_SECONDS
public static final GroupProperty MEMCACHE_ENABLED
public static final GroupProperty REST_ENABLED
public static final GroupProperty MAP_LOAD_CHUNK_SIZE
public static final GroupProperty MERGE_FIRST_RUN_DELAY_SECONDS
public static final GroupProperty MERGE_NEXT_RUN_DELAY_SECONDS
public static final GroupProperty OPERATION_CALL_TIMEOUT_MILLIS
public static final GroupProperty OPERATION_BACKUP_TIMEOUT_MILLIS
public static final GroupProperty SOCKET_BIND_ANY
public static final GroupProperty SOCKET_SERVER_BIND_ANY
public static final GroupProperty SOCKET_CLIENT_BIND_ANY
public static final GroupProperty SOCKET_CLIENT_BIND
public static final GroupProperty SOCKET_RECEIVE_BUFFER_SIZE
public static final GroupProperty SOCKET_SEND_BUFFER_SIZE
public static final GroupProperty SOCKET_CLIENT_RECEIVE_BUFFER_SIZE
public static final GroupProperty SOCKET_CLIENT_SEND_BUFFER_SIZE
public static final GroupProperty SOCKET_LINGER_SECONDS
public static final GroupProperty SOCKET_CONNECT_TIMEOUT_SECONDS
public static final GroupProperty SOCKET_KEEP_ALIVE
public static final GroupProperty SOCKET_NO_DELAY
public static final GroupProperty SHUTDOWNHOOK_ENABLED
public static final GroupProperty WAIT_SECONDS_BEFORE_JOIN
public static final GroupProperty MAX_WAIT_SECONDS_BEFORE_JOIN
public static final GroupProperty MAX_JOIN_SECONDS
public static final GroupProperty MAX_JOIN_MERGE_TARGET_SECONDS
public static final GroupProperty HEARTBEAT_INTERVAL_SECONDS
public static final GroupProperty MAX_NO_HEARTBEAT_SECONDS
public static final GroupProperty MASTER_CONFIRMATION_INTERVAL_SECONDS
public static final GroupProperty MAX_NO_MASTER_CONFIRMATION_SECONDS
public static final GroupProperty MEMBER_LIST_PUBLISH_INTERVAL_SECONDS
public static final GroupProperty CLIENT_HEARTBEAT_TIMEOUT_SECONDS
public static final GroupProperty MIGRATION_MIN_DELAY_ON_MEMBER_REMOVED_SECONDS
public static final GroupProperty CLUSTER_SHUTDOWN_TIMEOUT_SECONDS
public static final GroupProperty ICMP_ENABLED
public static final GroupProperty ICMP_TIMEOUT
public static final GroupProperty ICMP_TTL
public static final GroupProperty INITIAL_MIN_CLUSTER_SIZE
public static final GroupProperty INITIAL_WAIT_SECONDS
public static final GroupProperty TCP_JOIN_PORT_TRY_COUNT
public static final GroupProperty MAP_REPLICA_SCHEDULED_TASK_DELAY_SECONDS
public static final GroupProperty MAP_EXPIRY_DELAY_SECONDS
public static final GroupProperty LOGGING_TYPE
public static final GroupProperty ENABLE_JMX
public static final GroupProperty ENABLE_JMX_DETAILED
public static final GroupProperty MC_MAX_VISIBLE_INSTANCE_COUNT
public static final GroupProperty MC_MAX_VISIBLE_SLOW_OPERATION_COUNT
public static final GroupProperty MC_URL_CHANGE_ENABLED
public static final GroupProperty CONNECTION_MONITOR_INTERVAL
public static final GroupProperty CONNECTION_MONITOR_MAX_FAULTS
public static final GroupProperty PARTITION_MIGRATION_INTERVAL
public static final GroupProperty PARTITION_MIGRATION_TIMEOUT
public static final GroupProperty PARTITION_MIGRATION_ZIP_ENABLED
public static final GroupProperty PARTITION_TABLE_SEND_INTERVAL
public static final GroupProperty PARTITION_BACKUP_SYNC_INTERVAL
public static final GroupProperty PARTITION_MAX_PARALLEL_REPLICATIONS
public static final GroupProperty PARTITIONING_STRATEGY_CLASS
public static final GroupProperty GRACEFUL_SHUTDOWN_MAX_WAIT
public static final GroupProperty SYSTEM_LOG_ENABLED
public static final GroupProperty SLOW_OPERATION_DETECTOR_ENABLED
SlowOperationDetector
.public static final GroupProperty SLOW_OPERATION_DETECTOR_THRESHOLD_MILLIS
OperationService
is considered to be slow.
These operations will log a warning and will be shown in the Management Center with detailed information, e.g. stacktrace.public static final GroupProperty SLOW_OPERATION_DETECTOR_LOG_RETENTION_SECONDS
public static final GroupProperty SLOW_OPERATION_DETECTOR_LOG_PURGE_INTERVAL_SECONDS
public static final GroupProperty SLOW_OPERATION_DETECTOR_STACK_TRACE_LOGGING_ENABLED
public static final GroupProperty SLOW_INVOCATION_DETECTOR_THRESHOLD_MILLIS
OperationService
is considered
to be slow. Any slow invocation will be logged.
This is an experimental feature and we do not provide any backwards compatibility guarantees on it.
The default is -1 indicating there is no detection.public static final GroupProperty LOCK_MAX_LEASE_TIME_SECONDS
public static final GroupProperty ENTERPRISE_LICENSE_KEY
public static final GroupProperty MAP_WRITE_BEHIND_QUEUE_CAPACITY
MapStoreConfig.writeCoalescing
to false
.
Otherwise its value will not be taken into account.
The per node maximum write-behind queue capacity is the total of all write-behind queue sizes in a node, including backups.
The maximum value which can be set is Integer.MAX_VALUE
public static final GroupProperty CACHE_INVALIDATION_MESSAGE_BATCH_ENABLED
public static final GroupProperty CACHE_INVALIDATION_MESSAGE_BATCH_SIZE
public static final GroupProperty CACHE_INVALIDATION_MESSAGE_BATCH_FREQUENCY_SECONDS
CACHE_INVALIDATION_MESSAGE_BATCH_SIZE
in the given time period (which
is defined by this property), those events are gathered into a batch and sent to target.public static final GroupProperty MAP_INVALIDATION_MESSAGE_BATCH_ENABLED
public static final GroupProperty MAP_INVALIDATION_MESSAGE_BATCH_SIZE
public static final GroupProperty MAP_INVALIDATION_MESSAGE_BATCH_FREQUENCY_SECONDS
MAP_INVALIDATION_MESSAGE_BATCH_SIZE
in the given time period (which
is defined by this property), those events are gathered into a batch and sent to target.public static final GroupProperty BACKPRESSURE_ENABLED
public static final GroupProperty BACKPRESSURE_SYNCWINDOW
public static final GroupProperty BACKPRESSURE_BACKOFF_TIMEOUT_MILLIS
HazelcastOverloadException
.
The value needs to be equal or larger than 0.public static final GroupProperty BACKPRESSURE_MAX_CONCURRENT_INVOCATIONS_PER_PARTITION
public static final GroupProperty QUERY_PREDICATE_PARALLEL_EVALUATION
public static final GroupProperty QUERY_RESULT_SIZE_LIMIT
QueryResultSizeExceededException
will be thrown.
This feature prevents an OOME if a single node is requesting the whole data set of the cluster, such as by
executing a query with TruePredicate
. This applies internally for the IMap.values()
, IMap.keySet()
and IMap.entrySet()
methods, which are good candidates for OOME in large clusters.
This feature depends on an equal distribution of the data on the cluster nodes to calculate the result size limit per node.
Therefore, there is a minimum value of defined in
QueryResultSizeLimiter
. Configured values below the minimum will be increased to the minimum.
The feature can be disabled by setting its value to -1 (which is the default value).public static final GroupProperty QUERY_MAX_LOCAL_PARTITION_LIMIT_FOR_PRE_CHECK
TruePredicate
query operations on maps.
To limit the result size of a query (PROP_QUERY_RESULT_SIZE_LIMIT
), a local pre-check on the requesting node can be
done before the query is sent to the cluster. Since this may increase the latency, the pre-check is limited to a maximum
number of local partitions.
By increasing this parameter, you can prevent the execution of the query on the cluster. Increasing this parameter
increases the latency due to the prolonged local pre-check.
The pre-check can be disabled by setting the value to -1.QUERY_RESULT_SIZE_LIMIT
public static final GroupProperty QUERY_OPTIMIZER_TYPE
public static final GroupProperty JCACHE_PROVIDER_TYPE
public static final GroupProperty 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 GroupProperty 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 GroupProperty SERIALIZATION_VERSION
BuildInfo.getSerializationVersion()
clearSystemProperty
in interface HazelcastProperty
public static GroupProperty[] values()
for (GroupProperty c : GroupProperty.values()) System.out.println(c);
public static GroupProperty valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getIndex()
HazelcastProperty
getIndex
in interface HazelcastProperty
public String getName()
HazelcastProperty
getName
in interface HazelcastProperty
public String getDefaultValue()
HazelcastProperty
getDefaultValue
in interface HazelcastProperty
public TimeUnit getTimeUnit()
HazelcastProperty
TimeUnit
of the property.getTimeUnit
in interface HazelcastProperty
TimeUnit
public GroupProperty getParent()
HazelcastProperty
GroupProperty
of the property.getParent
in interface HazelcastProperty
GroupProperty
or null if none is definedpublic void setSystemProperty(String value)
HazelcastProperty
setSystemProperty
in interface HazelcastProperty
value
- the value to setpublic String getSystemProperty()
HazelcastProperty
getSystemProperty
in interface HazelcastProperty
public String clearSystemProperty()
HazelcastProperty
clearSystemProperty
in interface HazelcastProperty
public String toString()
toString
in class Enum<GroupProperty>
Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.