public final class IgniteSystemProperties extends Object
Modifier and Type | Field and Description |
---|---|
static String |
IGNITE_AFFINITY_HISTORY_SIZE
Maximum size for affinity assignment history.
|
static String |
IGNITE_ATOMIC_CACHE_DELETE_HISTORY_SIZE
Maximum size for atomic cache queue delete history (default is 200 000 entries per partition).
|
static String |
IGNITE_ATOMIC_DEFERRED_ACK_BUFFER_SIZE
Atomic cache deferred update response buffer size.
|
static String |
IGNITE_ATOMIC_DEFERRED_ACK_TIMEOUT
Atomic cache deferred update timeout.
|
static String |
IGNITE_CACHE_CLIENT
Property controlling default behavior of cache client flag.
|
static String |
IGNITE_CACHE_KEY_VALIDATION_DISABLED
Flag indicating whether validation of keys put to cache should be disabled.
|
static String |
IGNITE_CACHE_RETRIES_COUNT
Number of cache operation retries in case of topology exceptions.
|
static String |
IGNITE_CONFIG_URL
System property to hold optional configuration URL.
|
static String |
IGNITE_CONSOLE_APPENDER
If this property is set to
true (default) and Ignite is launched
in verbose mode (see IGNITE_QUIET ) and no console appenders can be found
in configuration, then default console appender will be added. |
static String |
IGNITE_DAEMON
Presence of this system property with value
true will make the grid
node start as a daemon node. |
static String |
IGNITE_DEP_MODE_OVERRIDE
System property to override deployment mode configuration parameter.
|
static String |
IGNITE_DISABLE_HOSTNAME_VERIFIER
System property to disable
HostnameVerifier for SSL connections. |
static String |
IGNITE_DISCOVERY_HISTORY_SIZE
Maximum size for discovery messages history.
|
static String |
IGNITE_DUMP_PENDING_OBJECTS_THRESHOLD
Number of times pending cache objects will be dumped to the log in case of partition exchange timeout.
|
static String |
IGNITE_EXCEPTION_REGISTRY_MAX_SIZE
Property controlling size of buffer holding last exception.
|
static String |
IGNITE_H2_DEBUG_CONSOLE
If this property set then debug console will be opened for H2 indexing SPI.
|
static String |
IGNITE_HOME
Defines Ignite installation folder.
|
static String |
IGNITE_IPC_SHMEM_SPACE_DEBUG
If this property is set to
true then shared memory space native debug will be enabled. |
static String |
IGNITE_JCACHE_DEFAULT_ISOLATED
Property controlling whether CacheManager will start grid with isolated IP finder when default URL
is passed in.
|
static String |
IGNITE_JDBC_DRIVER_CURSOR_REMOVE_DELAY
JDBC driver cursor remove delay.
|
static String |
IGNITE_JETTY_HOST
This property allows to override Jetty host for REST processor.
|
static String |
IGNITE_JETTY_LOG_NO_OVERRIDE
This property does not allow Ignite to override Jetty log configuration for REST processor.
|
static String |
IGNITE_JETTY_PORT
This property allows to override Jetty local port for REST processor.
|
static String |
IGNITE_JOBS_HISTORY_SIZE
System property to override default job processor maps sizes for finished jobs and
cancellation requests.
|
static String |
IGNITE_JOBS_METRICS_CONCURRENCY_LEVEL
System property to override default job metrics processor property defining
concurrency level for structure holding job metrics snapshots.
|
static String |
IGNITE_LOCAL_HOST
Name of system property to set system-wide local IP address or host.
|
static String |
IGNITE_LOG_DIR
Environment variable to override logging directory that has been set in logger configuration.
|
static String |
IGNITE_LOG_GRID_NAME
If this system property is present the Ignite will include grid name into verbose log.
|
static String |
IGNITE_MAP_CONCURRENCY_LEVEL
Concurrency level for all concurrent hash maps created by Ignite.
|
static String |
IGNITE_MARSHAL_BUFFERS_RECHECK
System property to specify how often in milliseconds marshal buffers
should be rechecked and potentially trimmed.
|
static String |
IGNITE_MAX_COMPLETED_TX_COUNT
Property controlling size of buffer holding completed transaction versions.
|
static String |
IGNITE_MBEAN_APPEND_CLASS_LOADER_ID
If this property is set to
true then Ignite will append
hash code of class loader to MXBean name. |
static String |
IGNITE_MBEAN_APPEND_JVM_ID
If this property is set to
true then Ignite will append
hash code of Ignite class as hex string and append
JVM name returned by RuntimeMXBean.getName() . |
static String |
IGNITE_MIN_BUFFERED_COMMUNICATION_MSG_CNT
Deprecated.
Not used anymore.
|
static String |
IGNITE_NEAR_GET_MAX_REMAPS
This property defines the maximum number of attempts to remap near get to the same
primary node.
|
static String |
IGNITE_NO_ASCII
If this system property is present (any value) - no ASCII logo will
be printed.
|
static String |
IGNITE_NO_DISCO_ORDER
Name of the system property to disable requirement for proper node ordering
by discovery SPI.
|
static String |
IGNITE_NO_SHUTDOWN_HOOK
If this system property is set to
false - no shutdown hook will be set. |
static String |
IGNITE_OFFHEAP_SAFE_RELEASE
Flag that will force Ignite to fill memory block with some recognisable pattern right before
this memory block is released.
|
static String |
IGNITE_OPTIMIZED_MARSHALLER_USE_DEFAULT_SUID
|
static String |
IGNITE_OVERRIDE_MCAST_GRP
System property to override multicast group taken from configuration.
|
static String |
IGNITE_PERFORMANCE_SUGGESTIONS_DISABLED
Flag indicating whether performance suggestions output on start should be disabled.
|
static String |
IGNITE_PRELOAD_RESEND_TIMEOUT
System property to hold preload resend timeout for evicted partitions.
|
static String |
IGNITE_PROG_NAME
Name of the system property defining name of command line program.
|
static String |
IGNITE_QUIET
Set to either
true or false to enable or disable quiet mode
of Ignite. |
static String |
IGNITE_REFLECTION_CACHE_SIZE
System property to override default reflection cache size.
|
static String |
IGNITE_REST_MAX_TASK_RESULTS
This property allows to override maximum count of task results stored on one node
in REST processor.
|
static String |
IGNITE_REST_SESSION_TIMEOUT
This property allow rewriting default (
30 ) rest session expire time (in seconds). |
static String |
IGNITE_RESTART_CODE
This property is used internally to pass an exit code to loader when
Ignite instance is being restarted.
|
static String |
IGNITE_SKIP_CONFIGURATION_CONSISTENCY_CHECK
Property allowing to skip configuration consistency checks.
|
static String |
IGNITE_SLOW_TX_WARN_TIMEOUT
Transactions that take more time, than value of this property, will be output to log
with warning level.
|
static String |
IGNITE_SQL_MERGE_TABLE_MAX_SIZE
Property controlling maximum number of SQL result rows which can be fetched into a merge table.
|
static String |
IGNITE_SSH_HOST
System property to hold SSH host for visor-started nodes.
|
static String |
IGNITE_SSH_USER_NAME
System property to hold SSH user name for visor-started nodes.
|
static String |
IGNITE_STARVATION_CHECK_INTERVAL
This system property defines interval in milliseconds in which Ignite will check
thread pool state for starvation.
|
static String |
IGNITE_SUCCESS_FILE
Name of the system property defining success file name.
|
static String |
IGNITE_TCP_DISCOVERY_ADDRESSES
Comma separated list of addresses in format "10.100.22.100:45000,10.100.22.101:45000".
|
static String |
IGNITE_TX_SALVAGE_TIMEOUT
Timeout after which all uncompleted transactions originated by left node will be
salvaged (i.e. invalidated and committed).
|
static String |
IGNITE_UPDATE_NOTIFIER
If this system property is set to
false - no checks for new versions will
be performed by Ignite. |
static String |
IGNITE_WORK_DIR
Environment variable to set work directory.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
getBoolean(String name)
Gets either system property or environment variable with given name.
|
static boolean |
getBoolean(String name,
boolean dflt)
Gets either system property or environment variable with given name.
|
static double |
getDouble(String name,
double dflt)
Gets either system property or environment variable with given name.
|
static int |
getInteger(String name,
int dflt)
Gets either system property or environment variable with given name.
|
static long |
getLong(String name,
long dflt)
Gets either system property or environment variable with given name.
|
static String |
getString(String name)
Gets either system property or environment variable with given name.
|
static String |
getString(String name,
String dflt)
Gets either system property or environment variable with given name.
|
static Properties |
snapshot()
Gets snapshot of system properties.
|
public static final String IGNITE_LOG_GRID_NAME
public static final String IGNITE_RESTART_CODE
public static final String IGNITE_DAEMON
true
will make the grid
node start as a daemon node. Node that this system property will override
IgniteConfiguration.isDaemon()
configuration.public static final String IGNITE_HOME
public static final String IGNITE_NO_SHUTDOWN_HOOK
false
- no shutdown hook will be set.public static final String IGNITE_NO_DISCO_ORDER
true
, then any discovery SPI can be used
with distributed cache, otherwise, only discovery SPIs that have annotation
@GridDiscoverySpiOrderSupport(true)
will
be allowed.public static final String IGNITE_UPDATE_NOTIFIER
false
- no checks for new versions will
be performed by Ignite. By default, Ignite periodically checks for the new
version and prints out the message into the log if new version of Ignite is
available for download.public static final String IGNITE_STARVATION_CHECK_INTERVAL
public static final String IGNITE_NO_ASCII
public static final String IGNITE_JETTY_HOST
public static final String IGNITE_JETTY_PORT
public static final String IGNITE_JETTY_LOG_NO_OVERRIDE
public static final String IGNITE_REST_SESSION_TIMEOUT
30
) rest session expire time (in seconds).public static final String IGNITE_REST_MAX_TASK_RESULTS
public static final String IGNITE_NEAR_GET_MAX_REMAPS
public static final String IGNITE_QUIET
true
or false
to enable or disable quiet mode
of Ignite. In quiet mode, only warning and errors are printed into the log
additionally to a shortened version of standard output on the start.
Note that if you use ignite.{sh|bat} scripts to start Ignite they start by default in quiet mode. You can supply -v flag to override it.
public static final String IGNITE_CONSOLE_APPENDER
true
(default) and Ignite is launched
in verbose mode (see IGNITE_QUIET
) and no console appenders can be found
in configuration, then default console appender will be added.
Set this property to false
if no appenders should be added.public static final String IGNITE_PROG_NAME
public static final String IGNITE_SUCCESS_FILE
public static final String IGNITE_LOCAL_HOST
Note that system-wide local bind address can also be set via IgniteConfiguration.getLocalHost()
method. However, system properties have priority over configuration properties specified in
IgniteConfiguration
.
public static final String IGNITE_DEP_MODE_OVERRIDE
public static final String IGNITE_MAX_COMPLETED_TX_COUNT
102400
. In
most cases this value is large enough and does not need to be changed.public static final String IGNITE_MAP_CONCURRENCY_LEVEL
public static final String IGNITE_SLOW_TX_WARN_TIMEOUT
0
(default value) disables warning on slow transactions.public static final String IGNITE_TX_SALVAGE_TIMEOUT
public static final String IGNITE_OVERRIDE_MCAST_GRP
public static final String IGNITE_REFLECTION_CACHE_SIZE
128
.public static final String IGNITE_JOBS_HISTORY_SIZE
10240
.public static final String IGNITE_JOBS_METRICS_CONCURRENCY_LEVEL
64
.public static final String IGNITE_CONFIG_URL
public static final String IGNITE_SSH_HOST
public static final String IGNITE_SSH_USER_NAME
public static final String IGNITE_PRELOAD_RESEND_TIMEOUT
public static final String IGNITE_MARSHAL_BUFFERS_RECHECK
10,000ms
.public static final String IGNITE_DISABLE_HOSTNAME_VERIFIER
HostnameVerifier
for SSL connections.
Can be used for development with self-signed certificates. Default value is false
.@Deprecated public static final String IGNITE_MIN_BUFFERED_COMMUNICATION_MSG_CNT
512
.public static final String IGNITE_OFFHEAP_SAFE_RELEASE
public static final String IGNITE_ATOMIC_CACHE_DELETE_HISTORY_SIZE
public static final String IGNITE_TCP_DISCOVERY_ADDRESSES
TcpDiscoveryVmIpFinder
.public static final String IGNITE_PERFORMANCE_SUGGESTIONS_DISABLED
public static final String IGNITE_ATOMIC_DEFERRED_ACK_BUFFER_SIZE
public static final String IGNITE_ATOMIC_DEFERRED_ACK_TIMEOUT
public static final String IGNITE_H2_DEBUG_CONSOLE
public static final String IGNITE_IPC_SHMEM_SPACE_DEBUG
true
then shared memory space native debug will be enabled.public static final String IGNITE_SKIP_CONFIGURATION_CONSISTENCY_CHECK
public static final String IGNITE_CACHE_KEY_VALIDATION_DISABLED
public static final String IGNITE_LOG_DIR
public static final String IGNITE_WORK_DIR
IgniteConfiguration.setWorkDirectory(java.lang.String)
has higher
priority.public static final String IGNITE_MBEAN_APPEND_JVM_ID
true
then Ignite will append
hash code of Ignite
class as hex string and append
JVM name returned by RuntimeMXBean.getName()
.
This may be helpful when running Ignite in some application server clusters or similar environments to avoid MBean name collisions.
Default is false
.
public static final String IGNITE_MBEAN_APPEND_CLASS_LOADER_ID
true
then Ignite will append
hash code of class loader to MXBean name.
Default is true
.
public static final String IGNITE_EXCEPTION_REGISTRY_MAX_SIZE
1000
.public static final String IGNITE_CACHE_CLIENT
public static final String IGNITE_JCACHE_DEFAULT_ISOLATED
public static final String IGNITE_SQL_MERGE_TABLE_MAX_SIZE
public static final String IGNITE_AFFINITY_HISTORY_SIZE
public static final String IGNITE_DISCOVERY_HISTORY_SIZE
public static final String IGNITE_CACHE_RETRIES_COUNT
public static final String IGNITE_DUMP_PENDING_OBJECTS_THRESHOLD
public static final String IGNITE_JDBC_DRIVER_CURSOR_REMOVE_DELAY
public static final String IGNITE_OPTIMIZED_MARSHALLER_USE_DEFAULT_SUID
@Nullable public static String getString(String name)
name
- Name of the system property or environment variable.null
if neither can be found for given name.@Nullable public static String getString(String name, String dflt)
name
- Name of the system property or environment variable.dflt
- Default value.null
if neither can be found for given name.public static boolean getBoolean(String name)
boolean
using Boolean.valueOf()
method.name
- Name of the system property or environment variable.False
in case neither system property
nor environment variable with given name is found.public static boolean getBoolean(String name, boolean dflt)
boolean
using Boolean.valueOf()
method.name
- Name of the system property or environment variable.dflt
- Default value.public static int getInteger(String name, int dflt)
int
using Integer.parseInt()
method.name
- Name of the system property or environment variable.dflt
- Default valuepublic static long getLong(String name, long dflt)
long
using Long.parseLong()
method.name
- Name of the system property or environment variable.dflt
- Default valuepublic static double getDouble(String name, double dflt)
double
using Double.parseDouble()
method.name
- Name of the system property or environment variable.dflt
- Default valuepublic static Properties snapshot()
Follow @ApacheIgnite
Ignite Fabric : ver. 1.5.0.final Release Date : December 29 2015