Package org.apache.cassandra.config
Enum CassandraRelevantProperties
- java.lang.Object
-
- java.lang.Enum<CassandraRelevantProperties>
-
- org.apache.cassandra.config.CassandraRelevantProperties
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<CassandraRelevantProperties>
public enum CassandraRelevantProperties extends java.lang.Enum<CassandraRelevantProperties>
A class that extracts system properties for the cassandra node it runs within.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
CassandraRelevantProperties.PropertyConverter<T>
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clearValue()
Clears the value set in the system property.<T> T
convert(CassandraRelevantProperties.PropertyConverter<T> converter)
static java.lang.String
convertToString(java.lang.Object value)
boolean
getBoolean()
Gets the value of a system property as a boolean.boolean
getBoolean(boolean overrideDefaultValue)
Gets the value of a system property as a boolean.java.lang.String
getDefaultValue()
Returns default value.double
getDouble()
Gets the value of a system property as a double.double
getDouble(double overrideDefaultValue)
Gets the value of a system property as a double.<T extends java.lang.Enum<T>>
TgetEnum(boolean toUppercase, java.lang.Class<T> enumClass)
Gets the value of a system property as an enum, optionally callingString.toUpperCase()
first.<T extends java.lang.Enum<T>>
TgetEnum(boolean toUppercase, T defaultValue)
Gets the value of a system property as a enum, optionally callingString.toUpperCase()
first.<T extends java.lang.Enum<T>>
TgetEnum(T defaultValue)
Gets the value of a system property as a enum, callingString.toUpperCase()
first.int
getInt()
Gets the value of a system property as a int.int
getInt(int overrideDefaultValue)
Gets the value of a system property as an int.java.lang.String
getKey()
long
getLong()
Gets the value of a system property as a long.long
getLong(long overrideDefaultValue)
Gets the value of a system property as a long.long
getSizeInBytes()
Gets the value of a system property, given as a human-readable size in bytes (e.g.long
getSizeInBytes(long overrideDefaultValue)
Gets the value of a system property, given as a human-readable size in bytes (e.g.java.lang.String
getString()
Gets the value of the indicated system property.java.lang.String
getString(java.lang.String overrideDefaultValue)
Gets the value of a system property as a String.boolean
isPresent()
void
reset()
Sets the property to its default value if a default value was specified.java.lang.Boolean
setBoolean(boolean value)
Sets the value into system properties.void
setEnum(java.lang.Enum<?> value)
Sets the value into system properties.java.lang.Integer
setInt(int value)
Sets the value into system properties.java.lang.Long
setLong(long value)
Sets the value into system properties.java.lang.String
setString(java.lang.String value)
Sets the value into system properties.static CassandraRelevantProperties
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static CassandraRelevantProperties[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ACQUIRE_RETRY_SECONDS
public static final CassandraRelevantProperties ACQUIRE_RETRY_SECONDS
-
ACQUIRE_SLEEP_MS
public static final CassandraRelevantProperties ACQUIRE_SLEEP_MS
-
ALLOCATE_TOKENS_FOR_KEYSPACE
public static final CassandraRelevantProperties ALLOCATE_TOKENS_FOR_KEYSPACE
-
ALLOW_ALTER_RF_DURING_RANGE_MOVEMENT
public static final CassandraRelevantProperties ALLOW_ALTER_RF_DURING_RANGE_MOVEMENT
-
ALLOW_DUPLICATE_CONFIG_KEYS
public static final CassandraRelevantProperties ALLOW_DUPLICATE_CONFIG_KEYS
If we should allow having duplicate keys in the config file, default to true for legacy reasons
-
ALLOW_NEW_OLD_CONFIG_KEYS
public static final CassandraRelevantProperties ALLOW_NEW_OLD_CONFIG_KEYS
If we should allow having both new (post CASSANDRA-15234) and old config keys for the same config item in the yaml
-
ALLOW_UNLIMITED_CONCURRENT_VALIDATIONS
public static final CassandraRelevantProperties ALLOW_UNLIMITED_CONCURRENT_VALIDATIONS
-
ALLOW_UNSAFE_AGGRESSIVE_SSTABLE_EXPIRATION
public static final CassandraRelevantProperties ALLOW_UNSAFE_AGGRESSIVE_SSTABLE_EXPIRATION
-
ALLOW_UNSAFE_JOIN
public static final CassandraRelevantProperties ALLOW_UNSAFE_JOIN
-
ALLOW_UNSAFE_REPLACE
public static final CassandraRelevantProperties ALLOW_UNSAFE_REPLACE
-
ALLOW_UNSAFE_TRANSIENT_CHANGES
public static final CassandraRelevantProperties ALLOW_UNSAFE_TRANSIENT_CHANGES
-
APPROXIMATE_TIME_PRECISION_MS
public static final CassandraRelevantProperties APPROXIMATE_TIME_PRECISION_MS
-
AUTH_BCRYPT_GENSALT_LOG2_ROUNDS
public static final CassandraRelevantProperties AUTH_BCRYPT_GENSALT_LOG2_ROUNDS
2 ** GENSALT_LOG2_ROUNDS rounds of hashing will be performed.
-
AUTH_CACHE_WARMING_MAX_RETRIES
public static final CassandraRelevantProperties AUTH_CACHE_WARMING_MAX_RETRIES
We expect default values on cache retries and interval to be sufficient for everyone but have this escape hatch just in case.
-
AUTH_CACHE_WARMING_RETRY_INTERVAL_MS
public static final CassandraRelevantProperties AUTH_CACHE_WARMING_RETRY_INTERVAL_MS
-
AUTOCOMPACTION_ON_STARTUP_ENABLED
public static final CassandraRelevantProperties AUTOCOMPACTION_ON_STARTUP_ENABLED
-
AUTO_BOOTSTRAP
public static final CassandraRelevantProperties AUTO_BOOTSTRAP
-
AUTO_REPAIR_FREQUENCY_SECONDS
public static final CassandraRelevantProperties AUTO_REPAIR_FREQUENCY_SECONDS
-
BATCHLOG_REPLAY_TIMEOUT_IN_MS
public static final CassandraRelevantProperties BATCHLOG_REPLAY_TIMEOUT_IN_MS
-
BATCH_COMMIT_LOG_SYNC_INTERVAL
public static final CassandraRelevantProperties BATCH_COMMIT_LOG_SYNC_INTERVAL
-
BOOTSTRAP_SCHEMA_DELAY_MS
public static final CassandraRelevantProperties BOOTSTRAP_SCHEMA_DELAY_MS
When bootstraping how long to wait for schema versions to be seen.
-
BOOTSTRAP_SKIP_SCHEMA_CHECK
public static final CassandraRelevantProperties BOOTSTRAP_SKIP_SCHEMA_CHECK
When bootstraping we wait for all schema versions found in gossip to be seen, and if not seen in time we fail the bootstrap; this property will avoid failing and allow bootstrap to continue if set to true.
-
BROADCAST_INTERVAL_MS
public static final CassandraRelevantProperties BROADCAST_INTERVAL_MS
-
BTREE_BRANCH_SHIFT
public static final CassandraRelevantProperties BTREE_BRANCH_SHIFT
-
BTREE_FAN_FACTOR
public static final CassandraRelevantProperties BTREE_FAN_FACTOR
-
CACHEABLE_MUTATION_SIZE_LIMIT
public static final CassandraRelevantProperties CACHEABLE_MUTATION_SIZE_LIMIT
Represents the maximum size (in bytes) of a serialized mutation that can be cached
-
CASSANDRA_ALLOW_SIMPLE_STRATEGY
public static final CassandraRelevantProperties CASSANDRA_ALLOW_SIMPLE_STRATEGY
-
CASSANDRA_AVAILABLE_PROCESSORS
public static final CassandraRelevantProperties CASSANDRA_AVAILABLE_PROCESSORS
-
CASSANDRA_CONFIG
public static final CassandraRelevantProperties CASSANDRA_CONFIG
The classpath storage configuration file.
-
CASSANDRA_FOREGROUND
public static final CassandraRelevantProperties CASSANDRA_FOREGROUND
The cassandra-foreground option will tell CassandraDaemon whether to close stdout/stderr, but it's up to us not to background. yes/null
-
CASSANDRA_JMX_AUTHORIZER
public static final CassandraRelevantProperties CASSANDRA_JMX_AUTHORIZER
-
CASSANDRA_JMX_LOCAL_PORT
public static final CassandraRelevantProperties CASSANDRA_JMX_LOCAL_PORT
-
CASSANDRA_JMX_REMOTE_LOGIN_CONFIG
public static final CassandraRelevantProperties CASSANDRA_JMX_REMOTE_LOGIN_CONFIG
-
CASSANDRA_JMX_REMOTE_PORT
public static final CassandraRelevantProperties CASSANDRA_JMX_REMOTE_PORT
Cassandra jmx remote and local port
-
CASSANDRA_MAX_HINT_TTL
public static final CassandraRelevantProperties CASSANDRA_MAX_HINT_TTL
-
CASSANDRA_MINIMUM_REPLICATION_FACTOR
public static final CassandraRelevantProperties CASSANDRA_MINIMUM_REPLICATION_FACTOR
-
CASSANDRA_NETTY_USE_HEAP_ALLOCATOR
public static final CassandraRelevantProperties CASSANDRA_NETTY_USE_HEAP_ALLOCATOR
-
CASSANDRA_PID_FILE
public static final CassandraRelevantProperties CASSANDRA_PID_FILE
-
CASSANDRA_RACKDC_PROPERTIES
public static final CassandraRelevantProperties CASSANDRA_RACKDC_PROPERTIES
-
CASSANDRA_SKIP_AUTOMATIC_UDT_FIX
public static final CassandraRelevantProperties CASSANDRA_SKIP_AUTOMATIC_UDT_FIX
-
CASSANDRA_STREAMING_DEBUG_STACKTRACE_LIMIT
public static final CassandraRelevantProperties CASSANDRA_STREAMING_DEBUG_STACKTRACE_LIMIT
-
CASSANDRA_UNSAFE_TIME_UUID_NODE
public static final CassandraRelevantProperties CASSANDRA_UNSAFE_TIME_UUID_NODE
-
CASSANDRA_VERSION
public static final CassandraRelevantProperties CASSANDRA_VERSION
-
CHECK_DATA_RESURRECTION_HEARTBEAT_PERIOD
public static final CassandraRelevantProperties CHECK_DATA_RESURRECTION_HEARTBEAT_PERIOD
default heartbeating period is 1 minute
-
CHRONICLE_ANALYTICS_DISABLE
public static final CassandraRelevantProperties CHRONICLE_ANALYTICS_DISABLE
-
CHRONICLE_ANNOUNCER_DISABLE
public static final CassandraRelevantProperties CHRONICLE_ANNOUNCER_DISABLE
-
CLOCK_GLOBAL
public static final CassandraRelevantProperties CLOCK_GLOBAL
-
CLOCK_MONOTONIC_APPROX
public static final CassandraRelevantProperties CLOCK_MONOTONIC_APPROX
-
CLOCK_MONOTONIC_PRECISE
public static final CassandraRelevantProperties CLOCK_MONOTONIC_PRECISE
-
COMMITLOG_ALLOW_IGNORE_SYNC_CRC
public static final CassandraRelevantProperties COMMITLOG_ALLOW_IGNORE_SYNC_CRC
-
COMMITLOG_IGNORE_REPLAY_ERRORS
public static final CassandraRelevantProperties COMMITLOG_IGNORE_REPLAY_ERRORS
-
COMMITLOG_MAX_OUTSTANDING_REPLAY_BYTES
public static final CassandraRelevantProperties COMMITLOG_MAX_OUTSTANDING_REPLAY_BYTES
-
COMMITLOG_MAX_OUTSTANDING_REPLAY_COUNT
public static final CassandraRelevantProperties COMMITLOG_MAX_OUTSTANDING_REPLAY_COUNT
-
COMMITLOG_STOP_ON_ERRORS
public static final CassandraRelevantProperties COMMITLOG_STOP_ON_ERRORS
-
COMMIT_LOG_REPLAY_LIST
public static final CassandraRelevantProperties COMMIT_LOG_REPLAY_LIST
Entities to replay mutations for upon commit log replay, property is meant to contain comma-separated entities which are either names of keyspaces or keyspaces and tables or their mix. Examples: just keyspaces -Dcassandra.replayList=ks1,ks2,ks3 specific tables -Dcassandra.replayList=ks1.tb1,ks2.tb2 mix of tables and keyspaces -Dcassandra.replayList=ks1.tb1,ks2 If only keyspaces are specified, mutations for all tables in such keyspace will be replayed
-
COM_SUN_MANAGEMENT_JMXREMOTE_ACCESS_FILE
public static final CassandraRelevantProperties COM_SUN_MANAGEMENT_JMXREMOTE_ACCESS_FILE
This property indicates the location for the access file. If com.sun.management.jmxremote.authenticate is false, then this property and the password and access files, are ignored. Otherwise, the access file must exist and be in the valid format. If the access file is empty or nonexistent, then no access is allowed.
-
COM_SUN_MANAGEMENT_JMXREMOTE_AUTHENTICATE
public static final CassandraRelevantProperties COM_SUN_MANAGEMENT_JMXREMOTE_AUTHENTICATE
This property indicates whether password authentication for remote monitoring is enabled. By default it is disabled - com.sun.management.jmxremote.authenticate
-
COM_SUN_MANAGEMENT_JMXREMOTE_PASSWORD_FILE
public static final CassandraRelevantProperties COM_SUN_MANAGEMENT_JMXREMOTE_PASSWORD_FILE
This property indicates the path to the password file - com.sun.management.jmxremote.password.file
-
COM_SUN_MANAGEMENT_JMXREMOTE_PORT
public static final CassandraRelevantProperties COM_SUN_MANAGEMENT_JMXREMOTE_PORT
Port number to enable JMX RMI connections - com.sun.management.jmxremote.port
-
COM_SUN_MANAGEMENT_JMXREMOTE_RMI_PORT
public static final CassandraRelevantProperties COM_SUN_MANAGEMENT_JMXREMOTE_RMI_PORT
The port number to which the RMI connector will be bound - com.sun.management.jmxremote.rmi.port. An Integer object that represents the value of the second argument is returned if there is no port specified, if the port does not have the correct numeric format, or if the specified name is empty or null.
-
COM_SUN_MANAGEMENT_JMXREMOTE_SSL
public static final CassandraRelevantProperties COM_SUN_MANAGEMENT_JMXREMOTE_SSL
This property indicates whether SSL is enabled for monitoring remotely. Default is set to false.
-
COM_SUN_MANAGEMENT_JMXREMOTE_SSL_ENABLED_CIPHER_SUITES
public static final CassandraRelevantProperties COM_SUN_MANAGEMENT_JMXREMOTE_SSL_ENABLED_CIPHER_SUITES
A comma-delimited list of SSL/TLS cipher suites to enable. Used in conjunction with com.sun.management.jmxremote.ssl - com.sun.management.jmxremote.ssl.enabled.cipher.suites
-
COM_SUN_MANAGEMENT_JMXREMOTE_SSL_ENABLED_PROTOCOLS
public static final CassandraRelevantProperties COM_SUN_MANAGEMENT_JMXREMOTE_SSL_ENABLED_PROTOCOLS
A comma-delimited list of SSL/TLS protocol versions to enable. Used in conjunction with com.sun.management.jmxremote.ssl - com.sun.management.jmxremote.ssl.enabled.protocols
-
COM_SUN_MANAGEMENT_JMXREMOTE_SSL_NEED_CLIENT_AUTH
public static final CassandraRelevantProperties COM_SUN_MANAGEMENT_JMXREMOTE_SSL_NEED_CLIENT_AUTH
This property indicates whether SSL client authentication is enabled - com.sun.management.jmxremote.ssl.need.client.auth. Default is set to false.
-
CONFIG_ALLOW_SYSTEM_PROPERTIES
public static final CassandraRelevantProperties CONFIG_ALLOW_SYSTEM_PROPERTIES
Defaults to false for 4.1 but plan to switch to true in a later release the thinking is that environments may not work right off the bat so safer to add this feature disabled by default
-
CONFIG_LOADER
public static final CassandraRelevantProperties CONFIG_LOADER
-
CONSISTENT_DIRECTORY_LISTINGS
public static final CassandraRelevantProperties CONSISTENT_DIRECTORY_LISTINGS
-
CONSISTENT_RANGE_MOVEMENT
public static final CassandraRelevantProperties CONSISTENT_RANGE_MOVEMENT
-
CONSISTENT_SIMULTANEOUS_MOVES_ALLOW
public static final CassandraRelevantProperties CONSISTENT_SIMULTANEOUS_MOVES_ALLOW
-
CRYPTO_PROVIDER_CLASS_NAME
public static final CassandraRelevantProperties CRYPTO_PROVIDER_CLASS_NAME
-
CUSTOM_GUARDRAILS_CONFIG_PROVIDER_CLASS
public static final CassandraRelevantProperties CUSTOM_GUARDRAILS_CONFIG_PROVIDER_CLASS
-
CUSTOM_QUERY_HANDLER_CLASS
public static final CassandraRelevantProperties CUSTOM_QUERY_HANDLER_CLASS
-
CUSTOM_TRACING_CLASS
public static final CassandraRelevantProperties CUSTOM_TRACING_CLASS
-
DATA_OUTPUT_BUFFER_ALLOCATE_TYPE
public static final CassandraRelevantProperties DATA_OUTPUT_BUFFER_ALLOCATE_TYPE
Controls the type of bufffer (heap/direct) used for shared scratch buffers
-
DATA_OUTPUT_STREAM_PLUS_TEMP_BUFFER_SIZE
public static final CassandraRelevantProperties DATA_OUTPUT_STREAM_PLUS_TEMP_BUFFER_SIZE
-
DECAYING_ESTIMATED_HISTOGRAM_RESERVOIR_STRIPE_COUNT
public static final CassandraRelevantProperties DECAYING_ESTIMATED_HISTOGRAM_RESERVOIR_STRIPE_COUNT
-
DEFAULT_PROVIDE_OVERLAPPING_TOMBSTONES
public static final CassandraRelevantProperties DEFAULT_PROVIDE_OVERLAPPING_TOMBSTONES
-
DETERMINISM_SSTABLE_COMPRESSION_DEFAULT
public static final CassandraRelevantProperties DETERMINISM_SSTABLE_COMPRESSION_DEFAULT
determinism properties for testing
-
DETERMINISM_UNSAFE_UUID_NODE
public static final CassandraRelevantProperties DETERMINISM_UNSAFE_UUID_NODE
-
DIAGNOSTIC_SNAPSHOT_INTERVAL_NANOS
public static final CassandraRelevantProperties DIAGNOSTIC_SNAPSHOT_INTERVAL_NANOS
-
DISABLE_AUTH_CACHES_REMOTE_CONFIGURATION
public static final CassandraRelevantProperties DISABLE_AUTH_CACHES_REMOTE_CONFIGURATION
-
DISABLE_GOSSIP_ENDPOINT_REMOVAL
public static final CassandraRelevantProperties DISABLE_GOSSIP_ENDPOINT_REMOVAL
properties to disable certain behaviours for testing
-
DISABLE_PAXOS_AUTO_REPAIRS
public static final CassandraRelevantProperties DISABLE_PAXOS_AUTO_REPAIRS
-
DISABLE_PAXOS_STATE_FLUSH
public static final CassandraRelevantProperties DISABLE_PAXOS_STATE_FLUSH
-
DISABLE_SSTABLE_ACTIVITY_TRACKING
public static final CassandraRelevantProperties DISABLE_SSTABLE_ACTIVITY_TRACKING
-
DISABLE_STCS_IN_L0
public static final CassandraRelevantProperties DISABLE_STCS_IN_L0
-
DISABLE_TCACTIVE_OPENSSL
public static final CassandraRelevantProperties DISABLE_TCACTIVE_OPENSSL
-
DISK_USAGE_MONITOR_INTERVAL_MS
public static final CassandraRelevantProperties DISK_USAGE_MONITOR_INTERVAL_MS
property for the rate of the scheduled task that monitors disk usage
-
DISK_USAGE_NOTIFY_INTERVAL_MS
public static final CassandraRelevantProperties DISK_USAGE_NOTIFY_INTERVAL_MS
property for the interval on which the repeated client warnings and diagnostic events about disk usage are ignored
-
DOB_DOUBLING_THRESHOLD_MB
public static final CassandraRelevantProperties DOB_DOUBLING_THRESHOLD_MB
-
DOB_MAX_RECYCLE_BYTES
public static final CassandraRelevantProperties DOB_MAX_RECYCLE_BYTES
-
DRAIN_EXECUTOR_TIMEOUT_MS
public static final CassandraRelevantProperties DRAIN_EXECUTOR_TIMEOUT_MS
When draining, how long to wait for mutating executors to shutdown.
-
DROP_OVERSIZED_READ_REPAIR_MUTATIONS
public static final CassandraRelevantProperties DROP_OVERSIZED_READ_REPAIR_MUTATIONS
-
DTEST_API_LOG_TOPOLOGY
public static final CassandraRelevantProperties DTEST_API_LOG_TOPOLOGY
-
DTEST_IS_IN_JVM_DTEST
public static final CassandraRelevantProperties DTEST_IS_IN_JVM_DTEST
This property indicates if the code is running under the in-jvm dtest framework
-
DTEST_JVM_DTESTS_USE_LATEST
public static final CassandraRelevantProperties DTEST_JVM_DTESTS_USE_LATEST
In_JVM dtest property indicating that the test should use "latest" configuration
-
ENABLE_DC_LOCAL_COMMIT
public static final CassandraRelevantProperties ENABLE_DC_LOCAL_COMMIT
-
ENABLE_NODELOCAL_QUERIES
public static final CassandraRelevantProperties ENABLE_NODELOCAL_QUERIES
WhetherConsistencyLevel.NODE_LOCAL
should be allowed.
-
EXPIRATION_DATE_OVERFLOW_POLICY
public static final CassandraRelevantProperties EXPIRATION_DATE_OVERFLOW_POLICY
-
EXPIRATION_OVERFLOW_WARNING_INTERVAL_MINUTES
public static final CassandraRelevantProperties EXPIRATION_OVERFLOW_WARNING_INTERVAL_MINUTES
-
FAILED_BOOTSTRAP_TIMEOUT
public static final CassandraRelevantProperties FAILED_BOOTSTRAP_TIMEOUT
-
FAILURE_LOGGING_INTERVAL_SECONDS
public static final CassandraRelevantProperties FAILURE_LOGGING_INTERVAL_SECONDS
-
FAIL_ON_MISSING_CRYPTO_PROVIDER
public static final CassandraRelevantProperties FAIL_ON_MISSING_CRYPTO_PROVIDER
-
FD_INITIAL_VALUE_MS
public static final CassandraRelevantProperties FD_INITIAL_VALUE_MS
-
FD_MAX_INTERVAL_MS
public static final CassandraRelevantProperties FD_MAX_INTERVAL_MS
-
FILE_CACHE_ENABLED
public static final CassandraRelevantProperties FILE_CACHE_ENABLED
-
FILE_SYSTEM_CHECK_ENABLE
@Deprecated(since="4.1") public static final CassandraRelevantProperties FILE_SYSTEM_CHECK_ENABLE
Deprecated.See CASSANDRA-17797
-
FILE_SYSTEM_CHECK_OWNERSHIP_FILENAME
@Deprecated(since="4.1") public static final CassandraRelevantProperties FILE_SYSTEM_CHECK_OWNERSHIP_FILENAME
Deprecated.See CASSANDRA-17797
-
FILE_SYSTEM_CHECK_OWNERSHIP_TOKEN
@Deprecated(since="4.1") public static final CassandraRelevantProperties FILE_SYSTEM_CHECK_OWNERSHIP_TOKEN
Deprecated.See CASSANDRA-17797
-
FORCE_DEFAULT_INDEXING_PAGE_SIZE
public static final CassandraRelevantProperties FORCE_DEFAULT_INDEXING_PAGE_SIZE
-
FORCE_LOAD_LOCAL_KEYSPACES
public static final CassandraRelevantProperties FORCE_LOAD_LOCAL_KEYSPACES
Used when running in Client mode and the system and schema keyspaces need to be initialized outside of their normal initialization path
-
FORCE_PAXOS_STATE_REBUILD
public static final CassandraRelevantProperties FORCE_PAXOS_STATE_REBUILD
-
GIT_SHA
public static final CassandraRelevantProperties GIT_SHA
-
GOSSIPER_QUARANTINE_DELAY
public static final CassandraRelevantProperties GOSSIPER_QUARANTINE_DELAY
Gossip quarantine delay is used while evaluating membership changes and should only be changed with extreme care.
-
GOSSIPER_SKIP_WAITING_TO_SETTLE
public static final CassandraRelevantProperties GOSSIPER_SKIP_WAITING_TO_SETTLE
-
GOSSIP_DISABLE_THREAD_VALIDATION
public static final CassandraRelevantProperties GOSSIP_DISABLE_THREAD_VALIDATION
-
GOSSIP_SETTLE_MIN_WAIT_MS
public static final CassandraRelevantProperties GOSSIP_SETTLE_MIN_WAIT_MS
Delay before checking if gossip is settled.
-
GOSSIP_SETTLE_POLL_INTERVAL_MS
public static final CassandraRelevantProperties GOSSIP_SETTLE_POLL_INTERVAL_MS
Interval delay between checking gossip is settled.
-
GOSSIP_SETTLE_POLL_SUCCESSES_REQUIRED
public static final CassandraRelevantProperties GOSSIP_SETTLE_POLL_SUCCESSES_REQUIRED
Number of polls without gossip state change to consider gossip as settled.
-
IGNORED_SCHEMA_CHECK_ENDPOINTS
public static final CassandraRelevantProperties IGNORED_SCHEMA_CHECK_ENDPOINTS
-
IGNORED_SCHEMA_CHECK_VERSIONS
public static final CassandraRelevantProperties IGNORED_SCHEMA_CHECK_VERSIONS
-
IGNORE_CORRUPTED_SCHEMA_TABLES
public static final CassandraRelevantProperties IGNORE_CORRUPTED_SCHEMA_TABLES
-
IGNORE_DC
@Deprecated(since="4.1") public static final CassandraRelevantProperties IGNORE_DC
Deprecated.See CASSANDRA-17797
-
IGNORE_DYNAMIC_SNITCH_SEVERITY
public static final CassandraRelevantProperties IGNORE_DYNAMIC_SNITCH_SEVERITY
-
IGNORE_KERNEL_BUG_1057843_CHECK
public static final CassandraRelevantProperties IGNORE_KERNEL_BUG_1057843_CHECK
-
IGNORE_MISSING_NATIVE_FILE_HINTS
public static final CassandraRelevantProperties IGNORE_MISSING_NATIVE_FILE_HINTS
-
IGNORE_RACK
@Deprecated(since="4.1") public static final CassandraRelevantProperties IGNORE_RACK
Deprecated.See CASSANDRA-17797
-
INDEX_SUMMARY_EXPECTED_KEY_SIZE
public static final CassandraRelevantProperties INDEX_SUMMARY_EXPECTED_KEY_SIZE
-
INITIAL_TOKEN
public static final CassandraRelevantProperties INITIAL_TOKEN
-
INTERNODE_EVENT_THREADS
public static final CassandraRelevantProperties INTERNODE_EVENT_THREADS
-
IO_NETTY_EVENTLOOP_THREADS
public static final CassandraRelevantProperties IO_NETTY_EVENTLOOP_THREADS
-
IO_NETTY_TRANSPORT_ESTIMATE_SIZE_ON_SUBMIT
public static final CassandraRelevantProperties IO_NETTY_TRANSPORT_ESTIMATE_SIZE_ON_SUBMIT
-
IO_NETTY_TRANSPORT_NONATIVE
public static final CassandraRelevantProperties IO_NETTY_TRANSPORT_NONATIVE
-
JAVAX_RMI_SSL_CLIENT_ENABLED_CIPHER_SUITES
public static final CassandraRelevantProperties JAVAX_RMI_SSL_CLIENT_ENABLED_CIPHER_SUITES
-
JAVAX_RMI_SSL_CLIENT_ENABLED_PROTOCOLS
public static final CassandraRelevantProperties JAVAX_RMI_SSL_CLIENT_ENABLED_PROTOCOLS
-
JAVA_CLASS_PATH
public static final CassandraRelevantProperties JAVA_CLASS_PATH
Java class path.
-
JAVA_HOME
public static final CassandraRelevantProperties JAVA_HOME
-
JAVA_IO_TMPDIR
public static final CassandraRelevantProperties JAVA_IO_TMPDIR
Indicates the temporary directory used by the Java Virtual Machine (JVM) to create and store temporary files.
-
JAVA_LIBRARY_PATH
public static final CassandraRelevantProperties JAVA_LIBRARY_PATH
Path from which to load native libraries. Default is absolute path to lib directory.
-
JAVA_RMI_DGC_LEASE_VALUE_IN_JVM_DTEST
public static final CassandraRelevantProperties JAVA_RMI_DGC_LEASE_VALUE_IN_JVM_DTEST
Controls the distributed garbage collector lease time for JMX objects. Should only be set by in-jvm dtests.
-
JAVA_RMI_SERVER_HOSTNAME
public static final CassandraRelevantProperties JAVA_RMI_SERVER_HOSTNAME
The value of this property represents the host name string that should be associated with remote stubs for locally created remote objects, in order to allow clients to invoke methods on the remote object.
-
JAVA_RMI_SERVER_RANDOM_ID
public static final CassandraRelevantProperties JAVA_RMI_SERVER_RANDOM_ID
If this value is true, object identifiers for remote objects exported by this VM will be generated by using a cryptographically secure random number generator. The default value is false.
-
JAVA_SECURITY_AUTH_LOGIN_CONFIG
public static final CassandraRelevantProperties JAVA_SECURITY_AUTH_LOGIN_CONFIG
-
JAVA_SECURITY_EGD
public static final CassandraRelevantProperties JAVA_SECURITY_EGD
-
JAVA_VERSION
public static final CassandraRelevantProperties JAVA_VERSION
Java Runtime Environment version
-
JAVA_VM_NAME
public static final CassandraRelevantProperties JAVA_VM_NAME
Java Virtual Machine implementation name
-
JOIN_RING
public static final CassandraRelevantProperties JOIN_RING
-
LIBJEMALLOC
public static final CassandraRelevantProperties LIBJEMALLOC
startup checks properties
-
LINE_SEPARATOR
public static final CassandraRelevantProperties LINE_SEPARATOR
Line separator ("\n" on UNIX).
-
LOAD_RING_STATE
public static final CassandraRelevantProperties LOAD_RING_STATE
Load persistence ring state. Default value istrue
.
-
LOG4J2_DISABLE_JMX
public static final CassandraRelevantProperties LOG4J2_DISABLE_JMX
-
LOG4J2_DISABLE_JMX_LEGACY
public static final CassandraRelevantProperties LOG4J2_DISABLE_JMX_LEGACY
-
LOG4J_SHUTDOWN_HOOK_ENABLED
public static final CassandraRelevantProperties LOG4J_SHUTDOWN_HOOK_ENABLED
-
LOGBACK_CONFIGURATION_FILE
public static final CassandraRelevantProperties LOGBACK_CONFIGURATION_FILE
-
LOGS_VIRTUAL_TABLE_MAX_ROWS
public static final CassandraRelevantProperties LOGS_VIRTUAL_TABLE_MAX_ROWS
Maximum number of rows in system_views.logs table
-
LOG_DIR
public static final CassandraRelevantProperties LOG_DIR
Directory where Cassandra puts its logs, defaults to "." which is current directory.
-
LOG_DIR_AUDIT
public static final CassandraRelevantProperties LOG_DIR_AUDIT
Directory where Cassandra persists logs from audit logging. If this property is not set, the audit log framework will set it automatically toLOG_DIR
+ "/audit".
-
LOOSE_DEF_OF_EMPTY_ENABLED
public static final CassandraRelevantProperties LOOSE_DEF_OF_EMPTY_ENABLED
Loosen the definition of "empty" for gossip state, for use during host replacements if things go awry
-
MAX_CONCURRENT_RANGE_REQUESTS
public static final CassandraRelevantProperties MAX_CONCURRENT_RANGE_REQUESTS
-
MAX_HINT_BUFFERS
public static final CassandraRelevantProperties MAX_HINT_BUFFERS
-
MAX_LOCAL_PAUSE_IN_MS
public static final CassandraRelevantProperties MAX_LOCAL_PAUSE_IN_MS
-
MBEAN_REGISTRATION_CLASS
public static final CassandraRelevantProperties MBEAN_REGISTRATION_CLASS
what class to use for mbean registeration
-
MEMTABLE_OVERHEAD_COMPUTE_STEPS
public static final CassandraRelevantProperties MEMTABLE_OVERHEAD_COMPUTE_STEPS
-
MEMTABLE_OVERHEAD_SIZE
public static final CassandraRelevantProperties MEMTABLE_OVERHEAD_SIZE
-
MEMTABLE_SHARD_COUNT
public static final CassandraRelevantProperties MEMTABLE_SHARD_COUNT
-
MEMTABLE_TRIE_SIZE_LIMIT
public static final CassandraRelevantProperties MEMTABLE_TRIE_SIZE_LIMIT
-
MIGRATION_DELAY
public static final CassandraRelevantProperties MIGRATION_DELAY
-
MONITORING_MAX_OPERATIONS
public static final CassandraRelevantProperties MONITORING_MAX_OPERATIONS
Defines the maximum number of unique timed out queries that will be reported in the logs. Use a negative number to remove any limit.
-
MONITORING_REPORT_INTERVAL_MS
public static final CassandraRelevantProperties MONITORING_REPORT_INTERVAL_MS
Defines the interval for reporting any operations that have timed out.
-
MV_ALLOW_FILTERING_NONKEY_COLUMNS_UNSAFE
public static final CassandraRelevantProperties MV_ALLOW_FILTERING_NONKEY_COLUMNS_UNSAFE
-
MV_ENABLE_COORDINATOR_BATCHLOG
public static final CassandraRelevantProperties MV_ENABLE_COORDINATOR_BATCHLOG
-
MX4JADDRESS
public static final CassandraRelevantProperties MX4JADDRESS
mx4jaddress
-
MX4JPORT
public static final CassandraRelevantProperties MX4JPORT
mx4jport
-
NANOTIMETOMILLIS_TIMESTAMP_UPDATE_INTERVAL
public static final CassandraRelevantProperties NANOTIMETOMILLIS_TIMESTAMP_UPDATE_INTERVAL
-
NATIVE_EPOLL_ENABLED
public static final CassandraRelevantProperties NATIVE_EPOLL_ENABLED
-
NATIVE_TRANSPORT_PORT
public static final CassandraRelevantProperties NATIVE_TRANSPORT_PORT
This is the port used with RPC address for the native protocol to communicate with clients. Now that thrift RPC is no longer in use there is no RPC port.
-
NEVER_PURGE_TOMBSTONES
public static final CassandraRelevantProperties NEVER_PURGE_TOMBSTONES
-
NIO_DATA_OUTPUT_STREAM_PLUS_BUFFER_SIZE
public static final CassandraRelevantProperties NIO_DATA_OUTPUT_STREAM_PLUS_BUFFER_SIZE
-
NODETOOL_JMX_NOTIFICATION_POLL_INTERVAL_SECONDS
public static final CassandraRelevantProperties NODETOOL_JMX_NOTIFICATION_POLL_INTERVAL_SECONDS
-
NON_GRACEFUL_SHUTDOWN
public static final CassandraRelevantProperties NON_GRACEFUL_SHUTDOWN
If set,MessagingService
is shutdown abrtuptly without waiting for anything. This is an optimization used in unit tests becuase we never restart a node there. The only node is stopoped when the JVM terminates. Therefore, we can use such optimization and not wait unnecessarily.
-
ORG_APACHE_CASSANDRA_DISABLE_MBEAN_REGISTRATION
public static final CassandraRelevantProperties ORG_APACHE_CASSANDRA_DISABLE_MBEAN_REGISTRATION
This property indicates whether disable_mbean_registration is true
-
OS_ARCH
public static final CassandraRelevantProperties OS_ARCH
Operating system architecture.
-
OS_NAME
public static final CassandraRelevantProperties OS_NAME
Operating system name.
-
OTCP_LARGE_MESSAGE_THRESHOLD
public static final CassandraRelevantProperties OTCP_LARGE_MESSAGE_THRESHOLD
-
OTC_INTRADC_TCP_NODELAY
public static final CassandraRelevantProperties OTC_INTRADC_TCP_NODELAY
Enabled/disable TCP_NODELAY for intradc connections. Defaults is enabled.
-
OVERRIDE_DECOMMISSION
public static final CassandraRelevantProperties OVERRIDE_DECOMMISSION
-
PARENT_REPAIR_STATUS_CACHE_SIZE
public static final CassandraRelevantProperties PARENT_REPAIR_STATUS_CACHE_SIZE
-
PARENT_REPAIR_STATUS_EXPIRY_SECONDS
public static final CassandraRelevantProperties PARENT_REPAIR_STATUS_EXPIRY_SECONDS
-
PARTITIONER
public static final CassandraRelevantProperties PARTITIONER
-
PAXOS_CLEANUP_SESSION_TIMEOUT_SECONDS
public static final CassandraRelevantProperties PAXOS_CLEANUP_SESSION_TIMEOUT_SECONDS
-
PAXOS_DISABLE_COORDINATOR_LOCKING
public static final CassandraRelevantProperties PAXOS_DISABLE_COORDINATOR_LOCKING
-
PAXOS_LOG_TTL_LINEARIZABILITY_VIOLATIONS
public static final CassandraRelevantProperties PAXOS_LOG_TTL_LINEARIZABILITY_VIOLATIONS
-
PAXOS_MODERN_RELEASE
public static final CassandraRelevantProperties PAXOS_MODERN_RELEASE
-
PAXOS_REPAIR_ALLOW_MULTIPLE_PENDING_UNSAFE
public static final CassandraRelevantProperties PAXOS_REPAIR_ALLOW_MULTIPLE_PENDING_UNSAFE
-
PAXOS_REPAIR_ON_TOPOLOGY_CHANGE_RETRIES
public static final CassandraRelevantProperties PAXOS_REPAIR_ON_TOPOLOGY_CHANGE_RETRIES
-
PAXOS_REPAIR_ON_TOPOLOGY_CHANGE_RETRY_DELAY_SECONDS
public static final CassandraRelevantProperties PAXOS_REPAIR_ON_TOPOLOGY_CHANGE_RETRY_DELAY_SECONDS
-
PAXOS_REPAIR_RETRY_TIMEOUT_IN_MS
public static final CassandraRelevantProperties PAXOS_REPAIR_RETRY_TIMEOUT_IN_MS
-
PAXOS_USE_SELF_EXECUTION
public static final CassandraRelevantProperties PAXOS_USE_SELF_EXECUTION
-
PRINT_HEAP_HISTOGRAM_ON_OUT_OF_MEMORY_ERROR
public static final CassandraRelevantProperties PRINT_HEAP_HISTOGRAM_ON_OUT_OF_MEMORY_ERROR
-
READS_THRESHOLDS_COORDINATOR_DEFENSIVE_CHECKS_ENABLED
public static final CassandraRelevantProperties READS_THRESHOLDS_COORDINATOR_DEFENSIVE_CHECKS_ENABLED
-
RELEASE_VERSION
public static final CassandraRelevantProperties RELEASE_VERSION
-
REPAIR_CLEANUP_INTERVAL_SECONDS
public static final CassandraRelevantProperties REPAIR_CLEANUP_INTERVAL_SECONDS
-
REPAIR_DELETE_TIMEOUT_SECONDS
public static final CassandraRelevantProperties REPAIR_DELETE_TIMEOUT_SECONDS
-
REPAIR_FAIL_TIMEOUT_SECONDS
public static final CassandraRelevantProperties REPAIR_FAIL_TIMEOUT_SECONDS
-
REPAIR_MUTATION_REPAIR_ROWS_PER_BATCH
public static final CassandraRelevantProperties REPAIR_MUTATION_REPAIR_ROWS_PER_BATCH
-
REPAIR_STATUS_CHECK_TIMEOUT_SECONDS
public static final CassandraRelevantProperties REPAIR_STATUS_CHECK_TIMEOUT_SECONDS
-
REPLACEMENT_ALLOW_EMPTY
public static final CassandraRelevantProperties REPLACEMENT_ALLOW_EMPTY
When doing a host replacement its possible that the gossip state is "empty" meaning that the endpoint is known but the current state isn't known. If the host replacement is needed to repair this state, this property must be true.
-
REPLACE_ADDRESS
public static final CassandraRelevantProperties REPLACE_ADDRESS
-
REPLACE_ADDRESS_FIRST_BOOT
public static final CassandraRelevantProperties REPLACE_ADDRESS_FIRST_BOOT
-
REPLACE_NODE
public static final CassandraRelevantProperties REPLACE_NODE
-
REPLACE_TOKEN
public static final CassandraRelevantProperties REPLACE_TOKEN
-
RESET_BOOTSTRAP_PROGRESS
public static final CassandraRelevantProperties RESET_BOOTSTRAP_PROGRESS
Whether we reset any found data from previously run bootstraps.
-
RING_DELAY
public static final CassandraRelevantProperties RING_DELAY
-
SAI_INTERSECTION_CLAUSE_LIMIT
public static final CassandraRelevantProperties SAI_INTERSECTION_CLAUSE_LIMIT
Controls the maximum number of index query intersections that will take part in a query
-
SAI_LATEST_VERSION
public static final CassandraRelevantProperties SAI_LATEST_VERSION
Latest version to be used for SAI index writing
-
SAI_MINIMUM_POSTINGS_LEAVES
public static final CassandraRelevantProperties SAI_MINIMUM_POSTINGS_LEAVES
Minimum number of reachable leaves for a given node to be eligible for an auxiliary posting list
-
SAI_POSTINGS_SKIP
public static final CassandraRelevantProperties SAI_POSTINGS_SKIP
Skip, or the sampling interval, for selecting a balanced tree level that is eligible for an auxiliary posting list. Sampling starts from 0, but balanced tree root node is at level 1. For skip = 4, eligible levels are 4, 8, 12, etc. (no level 0, because there is no node at level 0).
-
SAI_SORTED_TERMS_CLUSTERING_BLOCK_SHIFT
public static final CassandraRelevantProperties SAI_SORTED_TERMS_CLUSTERING_BLOCK_SHIFT
Used to determine the block size and block mask for the clustering sorted terms.
-
SAI_SORTED_TERMS_PARTITION_BLOCK_SHIFT
public static final CassandraRelevantProperties SAI_SORTED_TERMS_PARTITION_BLOCK_SHIFT
Used to determine the block size and block mask for the partition sorted terms.
-
SAI_TEST_BALANCED_TREE_DEBUG_ENABLED
public static final CassandraRelevantProperties SAI_TEST_BALANCED_TREE_DEBUG_ENABLED
-
SAI_TEST_DISABLE_TIMEOUT
public static final CassandraRelevantProperties SAI_TEST_DISABLE_TIMEOUT
-
SAI_VECTOR_ALLOW_CUSTOM_PARAMETERS
public static final CassandraRelevantProperties SAI_VECTOR_ALLOW_CUSTOM_PARAMETERS
Whether to allow the user to specify custom options to the hnsw index
-
SAI_VECTOR_SEARCH_MAX_TOP_K
public static final CassandraRelevantProperties SAI_VECTOR_SEARCH_MAX_TOP_K
Controls the maximum top-k limit for vector search
-
SAI_VECTOR_SEARCH_ORDER_CHUNK_SIZE
public static final CassandraRelevantProperties SAI_VECTOR_SEARCH_ORDER_CHUNK_SIZE
Controls the maximum number of PrimaryKeys that will be read into memory at one time when ordering/limiting the results of an ANN query constrained by non-ANN predicates.
-
SCHEMA_PULL_INTERVAL_MS
public static final CassandraRelevantProperties SCHEMA_PULL_INTERVAL_MS
-
SCHEMA_UPDATE_HANDLER_FACTORY_CLASS
public static final CassandraRelevantProperties SCHEMA_UPDATE_HANDLER_FACTORY_CLASS
-
SEARCH_CONCURRENCY_FACTOR
public static final CassandraRelevantProperties SEARCH_CONCURRENCY_FACTOR
-
SEED_COUNT_WARN_THRESHOLD
public static final CassandraRelevantProperties SEED_COUNT_WARN_THRESHOLD
The maximum number of seeds returned by a seed provider before emmitting a warning. A large seed list may impact effectiveness of the third gossip round. The default used in SimpleSeedProvider is 20.
-
SERIALIZATION_EMPTY_TYPE_NONEMPTY_BEHAVIOR
public static final CassandraRelevantProperties SERIALIZATION_EMPTY_TYPE_NONEMPTY_BEHAVIOR
-
SET_SEP_THREAD_NAME
public static final CassandraRelevantProperties SET_SEP_THREAD_NAME
-
SHUTDOWN_ANNOUNCE_DELAY_IN_MS
public static final CassandraRelevantProperties SHUTDOWN_ANNOUNCE_DELAY_IN_MS
-
SIZE_RECORDER_INTERVAL
public static final CassandraRelevantProperties SIZE_RECORDER_INTERVAL
-
SKIP_PAXOS_REPAIR_ON_TOPOLOGY_CHANGE
public static final CassandraRelevantProperties SKIP_PAXOS_REPAIR_ON_TOPOLOGY_CHANGE
-
SKIP_PAXOS_REPAIR_ON_TOPOLOGY_CHANGE_KEYSPACES
public static final CassandraRelevantProperties SKIP_PAXOS_REPAIR_ON_TOPOLOGY_CHANGE_KEYSPACES
If necessary for operational purposes, permit certain keyspaces to be ignored for paxos topology repairs.
-
SKIP_PAXOS_REPAIR_VERSION_VALIDATION
public static final CassandraRelevantProperties SKIP_PAXOS_REPAIR_VERSION_VALIDATION
-
SKIP_PAXOS_STATE_REBUILD
public static final CassandraRelevantProperties SKIP_PAXOS_STATE_REBUILD
-
SNAPSHOT_CLEANUP_INITIAL_DELAY_SECONDS
public static final CassandraRelevantProperties SNAPSHOT_CLEANUP_INITIAL_DELAY_SECONDS
snapshots ttl cleanup initial delay in seconds
-
SNAPSHOT_CLEANUP_PERIOD_SECONDS
public static final CassandraRelevantProperties SNAPSHOT_CLEANUP_PERIOD_SECONDS
snapshots ttl cleanup period in seconds
-
SNAPSHOT_MIN_ALLOWED_TTL_SECONDS
public static final CassandraRelevantProperties SNAPSHOT_MIN_ALLOWED_TTL_SECONDS
minimum allowed TTL for snapshots
-
SSL_ENABLE
public static final CassandraRelevantProperties SSL_ENABLE
-
SSL_STORAGE_PORT
public static final CassandraRelevantProperties SSL_STORAGE_PORT
-
SSTABLE_FORMAT_DEFAULT
public static final CassandraRelevantProperties SSTABLE_FORMAT_DEFAULT
-
START_GOSSIP
public static final CassandraRelevantProperties START_GOSSIP
-
START_NATIVE_TRANSPORT
public static final CassandraRelevantProperties START_NATIVE_TRANSPORT
-
STORAGE_DIR
public static final CassandraRelevantProperties STORAGE_DIR
-
STORAGE_HOOK
public static final CassandraRelevantProperties STORAGE_HOOK
-
STORAGE_PORT
public static final CassandraRelevantProperties STORAGE_PORT
-
STREAMING_HISTOGRAM_ROUND_SECONDS
public static final CassandraRelevantProperties STREAMING_HISTOGRAM_ROUND_SECONDS
-
STREAMING_SESSION_PARALLELTRANSFERS
public static final CassandraRelevantProperties STREAMING_SESSION_PARALLELTRANSFERS
-
STREAM_HOOK
public static final CassandraRelevantProperties STREAM_HOOK
-
SUN_ARCH_DATA_MODEL
public static final CassandraRelevantProperties SUN_ARCH_DATA_MODEL
Platform word size sun.arch.data.model. Examples: "32", "64", "unknown"
-
SUN_JAVA_COMMAND
public static final CassandraRelevantProperties SUN_JAVA_COMMAND
-
SUN_RMI_TRANSPORT_TCP_THREADKEEPALIVETIME
public static final CassandraRelevantProperties SUN_RMI_TRANSPORT_TCP_THREADKEEPALIVETIME
Controls the JMX server threadpool keap-alive time. Should only be set by in-jvm dtests.
-
SUN_STDERR_ENCODING
public static final CassandraRelevantProperties SUN_STDERR_ENCODING
-
SUN_STDOUT_ENCODING
public static final CassandraRelevantProperties SUN_STDOUT_ENCODING
-
SUPERUSER_SETUP_DELAY_MS
public static final CassandraRelevantProperties SUPERUSER_SETUP_DELAY_MS
-
SYSTEM_AUTH_DEFAULT_RF
public static final CassandraRelevantProperties SYSTEM_AUTH_DEFAULT_RF
-
SYSTEM_DISTRIBUTED_DEFAULT_RF
public static final CassandraRelevantProperties SYSTEM_DISTRIBUTED_DEFAULT_RF
-
SYSTEM_TRACES_DEFAULT_RF
public static final CassandraRelevantProperties SYSTEM_TRACES_DEFAULT_RF
-
TEST_BBFAILHELPER_ENABLED
public static final CassandraRelevantProperties TEST_BBFAILHELPER_ENABLED
-
TEST_BLOB_SHARED_SEED
public static final CassandraRelevantProperties TEST_BLOB_SHARED_SEED
-
TEST_BYTEMAN_TRANSFORMATIONS_DEBUG
public static final CassandraRelevantProperties TEST_BYTEMAN_TRANSFORMATIONS_DEBUG
-
TEST_CASSANDRA_KEEPBRIEFBRIEF
public static final CassandraRelevantProperties TEST_CASSANDRA_KEEPBRIEFBRIEF
-
TEST_CASSANDRA_RELEVANT_PROPERTIES
public static final CassandraRelevantProperties TEST_CASSANDRA_RELEVANT_PROPERTIES
-
TEST_CASSANDRA_SKIP_SYNC
public static final CassandraRelevantProperties TEST_CASSANDRA_SKIP_SYNC
A property for various mechanisms for syncing files that makes it possible it intercept and skip syncing.
-
TEST_CASSANDRA_SUITENAME
public static final CassandraRelevantProperties TEST_CASSANDRA_SUITENAME
-
TEST_CASSANDRA_TESTTAG
public static final CassandraRelevantProperties TEST_CASSANDRA_TESTTAG
-
TEST_COMPRESSION
public static final CassandraRelevantProperties TEST_COMPRESSION
-
TEST_COMPRESSION_ALGO
public static final CassandraRelevantProperties TEST_COMPRESSION_ALGO
-
TEST_DEBUG_REF_COUNT
public static final CassandraRelevantProperties TEST_DEBUG_REF_COUNT
-
TEST_DRIVER_CONNECTION_TIMEOUT_MS
public static final CassandraRelevantProperties TEST_DRIVER_CONNECTION_TIMEOUT_MS
-
TEST_DRIVER_READ_TIMEOUT_MS
public static final CassandraRelevantProperties TEST_DRIVER_READ_TIMEOUT_MS
-
TEST_ENCRYPTION
public static final CassandraRelevantProperties TEST_ENCRYPTION
-
TEST_FAIL_MV_LOCKS_COUNT
public static final CassandraRelevantProperties TEST_FAIL_MV_LOCKS_COUNT
-
TEST_FAIL_WRITES_KS
public static final CassandraRelevantProperties TEST_FAIL_WRITES_KS
-
TEST_FLUSH_LOCAL_SCHEMA_CHANGES
public static final CassandraRelevantProperties TEST_FLUSH_LOCAL_SCHEMA_CHANGES
Flush changes ofSchemaKeyspace
after each schema modification. In production, we always do that. However, tests which do not restart nodes may disable this functionality in order to run faster. Note that this is disabled for unit tests but if an individual test requires schema to be flushed, it can be also done manually for that particular case:flush(SchemaConstants.SCHEMA_KEYSPACE_NAME);
.
-
TEST_IGNORE_SIGAR
public static final CassandraRelevantProperties TEST_IGNORE_SIGAR
-
TEST_INVALID_LEGACY_SSTABLE_ROOT
public static final CassandraRelevantProperties TEST_INVALID_LEGACY_SSTABLE_ROOT
-
TEST_JVM_DTEST_DISABLE_SSL
public static final CassandraRelevantProperties TEST_JVM_DTEST_DISABLE_SSL
-
TEST_LEGACY_SSTABLE_ROOT
public static final CassandraRelevantProperties TEST_LEGACY_SSTABLE_ROOT
-
TEST_ORG_CAFFINITAS_OHC_SEGMENTCOUNT
public static final CassandraRelevantProperties TEST_ORG_CAFFINITAS_OHC_SEGMENTCOUNT
-
TEST_RANDOM_SEED
public static final CassandraRelevantProperties TEST_RANDOM_SEED
-
TEST_READ_ITERATION_DELAY_MS
public static final CassandraRelevantProperties TEST_READ_ITERATION_DELAY_MS
-
TEST_REUSE_PREPARED
public static final CassandraRelevantProperties TEST_REUSE_PREPARED
-
TEST_ROW_CACHE_SIZE
public static final CassandraRelevantProperties TEST_ROW_CACHE_SIZE
-
TEST_SERIALIZATION_WRITES
public static final CassandraRelevantProperties TEST_SERIALIZATION_WRITES
-
TEST_SIMULATOR_DEBUG
public static final CassandraRelevantProperties TEST_SIMULATOR_DEBUG
-
TEST_SIMULATOR_DETERMINISM_CHECK
public static final CassandraRelevantProperties TEST_SIMULATOR_DETERMINISM_CHECK
-
TEST_SIMULATOR_LIVENESS_CHECK
public static final CassandraRelevantProperties TEST_SIMULATOR_LIVENESS_CHECK
-
TEST_SIMULATOR_PRINT_ASM
public static final CassandraRelevantProperties TEST_SIMULATOR_PRINT_ASM
properties for debugging simulator ASM output
-
TEST_SIMULATOR_PRINT_ASM_CLASSES
public static final CassandraRelevantProperties TEST_SIMULATOR_PRINT_ASM_CLASSES
-
TEST_SIMULATOR_PRINT_ASM_OPTS
public static final CassandraRelevantProperties TEST_SIMULATOR_PRINT_ASM_OPTS
-
TEST_SIMULATOR_PRINT_ASM_TYPES
public static final CassandraRelevantProperties TEST_SIMULATOR_PRINT_ASM_TYPES
-
TEST_SKIP_CRYPTO_PROVIDER_INSTALLATION
public static final CassandraRelevantProperties TEST_SKIP_CRYPTO_PROVIDER_INSTALLATION
-
TEST_SSTABLE_FORMAT_DEVELOPMENT
public static final CassandraRelevantProperties TEST_SSTABLE_FORMAT_DEVELOPMENT
-
TEST_STORAGE_COMPATIBILITY_MODE
public static final CassandraRelevantProperties TEST_STORAGE_COMPATIBILITY_MODE
StorageCompatibilityMode
mode sets how the node will behave, sstable or messaging versions to use etc. according to a yaml setting. But many tests don't load the config hence we need to force it otherwise they would run always under the default. Config is null for junits that don't load the config. Get from env var that CI/build.xml sets. This is a dev/CI only property. Do not use otherwise.
-
TEST_STRICT_LCS_CHECKS
public static final CassandraRelevantProperties TEST_STRICT_LCS_CHECKS
-
TEST_STRICT_RUNTIME_CHECKS
public static final CassandraRelevantProperties TEST_STRICT_RUNTIME_CHECKS
Turns some warnings into exceptions for testing.
-
TEST_UNSAFE_VERBOSE_DEBUG_CLIENT_PROTOCOL
public static final CassandraRelevantProperties TEST_UNSAFE_VERBOSE_DEBUG_CLIENT_PROTOCOL
Not to be used in production, this causes a Netty logging handler to be added to the pipeline, which will throttle a system under any normal load.
-
TEST_USE_PREPARED
public static final CassandraRelevantProperties TEST_USE_PREPARED
-
TEST_UTIL_ALLOW_TOOL_REINIT_FOR_TEST
public static final CassandraRelevantProperties TEST_UTIL_ALLOW_TOOL_REINIT_FOR_TEST
-
TEST_WRITE_SURVEY
public static final CassandraRelevantProperties TEST_WRITE_SURVEY
Activate write survey mode. The node not becoming an active ring member, and you must use JMX StorageService->joinRing() to finalize the ring joining.
-
TOLERATE_SSTABLE_SIZE
public static final CassandraRelevantProperties TOLERATE_SSTABLE_SIZE
-
TRIGGERS_DIR
public static final CassandraRelevantProperties TRIGGERS_DIR
-
TRUNCATE_BALLOT_METADATA
public static final CassandraRelevantProperties TRUNCATE_BALLOT_METADATA
-
TYPE_UDT_CONFLICT_BEHAVIOR
public static final CassandraRelevantProperties TYPE_UDT_CONFLICT_BEHAVIOR
-
UCS_BASE_SHARD_COUNT
public static final CassandraRelevantProperties UCS_BASE_SHARD_COUNT
-
UCS_MIN_SSTABLE_SIZE
public static final CassandraRelevantProperties UCS_MIN_SSTABLE_SIZE
-
UCS_OVERLAP_INCLUSION_METHOD
public static final CassandraRelevantProperties UCS_OVERLAP_INCLUSION_METHOD
-
UCS_SCALING_PARAMETER
public static final CassandraRelevantProperties UCS_SCALING_PARAMETER
-
UCS_SSTABLE_GROWTH
public static final CassandraRelevantProperties UCS_SSTABLE_GROWTH
-
UCS_SURVIVAL_FACTOR
public static final CassandraRelevantProperties UCS_SURVIVAL_FACTOR
-
UCS_TARGET_SSTABLE_SIZE
public static final CassandraRelevantProperties UCS_TARGET_SSTABLE_SIZE
-
UDF_EXECUTOR_THREAD_KEEPALIVE_MS
public static final CassandraRelevantProperties UDF_EXECUTOR_THREAD_KEEPALIVE_MS
-
UNSAFE_SYSTEM
public static final CassandraRelevantProperties UNSAFE_SYSTEM
-
USER_HOME
public static final CassandraRelevantProperties USER_HOME
User's home directory.
-
USE_NIX_RECURSIVE_DELETE
public static final CassandraRelevantProperties USE_NIX_RECURSIVE_DELETE
When enabled, recursive directory deletion will be executed using a unix command `rm -rf` instead of traversing and removing individual files. This is now used only tests, but eventually we will make it true by default.
-
VERY_LONG_TIME_MS
public static final CassandraRelevantProperties VERY_LONG_TIME_MS
Gossiper compute expiration timeout. Default value 3 days.
-
WAIT_FOR_TRACING_EVENTS_TIMEOUT_SECS
public static final CassandraRelevantProperties WAIT_FOR_TRACING_EVENTS_TIMEOUT_SECS
-
-
Method Detail
-
values
public static CassandraRelevantProperties[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CassandraRelevantProperties c : CassandraRelevantProperties.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CassandraRelevantProperties valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getKey
public java.lang.String getKey()
-
getString
public java.lang.String getString()
Gets the value of the indicated system property.- Returns:
- system property value if it exists, defaultValue otherwise.
-
getDefaultValue
public java.lang.String getDefaultValue()
Returns default value.- Returns:
- default value, if any, otherwise null.
-
reset
public void reset()
Sets the property to its default value if a default value was specified. Remove the property otherwise.
-
getString
public java.lang.String getString(java.lang.String overrideDefaultValue)
Gets the value of a system property as a String.- Returns:
- system property String value if it exists, overrideDefaultValue otherwise.
-
convert
public <T> T convert(CassandraRelevantProperties.PropertyConverter<T> converter)
-
convertToString
public static java.lang.String convertToString(@Nullable java.lang.Object value)
-
setString
public java.lang.String setString(java.lang.String value)
Sets the value into system properties.- Parameters:
value
- to set
-
getBoolean
public boolean getBoolean()
Gets the value of a system property as a boolean.- Returns:
- system property boolean value if it exists, false otherwise().
-
getBoolean
public boolean getBoolean(boolean overrideDefaultValue)
Gets the value of a system property as a boolean.- Returns:
- system property boolean value if it exists, overrideDefaultValue otherwise.
-
setBoolean
public java.lang.Boolean setBoolean(boolean value)
Sets the value into system properties.- Parameters:
value
- to set- Returns:
- Previous value if it exists.
-
clearValue
public void clearValue()
Clears the value set in the system property.
-
getInt
public int getInt()
Gets the value of a system property as a int.- Returns:
- System property value if it exists, defaultValue otherwise. Throws an exception if no default value is set.
-
getLong
public long getLong()
Gets the value of a system property as a long.- Returns:
- System property value if it exists, defaultValue otherwise. Throws an exception if no default value is set.
-
getLong
public long getLong(long overrideDefaultValue)
Gets the value of a system property as a long.- Returns:
- system property long value if it exists, defaultValue otherwise.
-
getDouble
public double getDouble()
Gets the value of a system property as a double.- Returns:
- System property value if it exists, defaultValue otherwise. Throws an exception if no default value is set.
-
getDouble
public double getDouble(double overrideDefaultValue)
Gets the value of a system property as a double.- Returns:
- system property value if it exists, defaultValue otherwise.
-
getSizeInBytes
public long getSizeInBytes()
Gets the value of a system property, given as a human-readable size in bytes (e.g. 100MiB, 10GB, 500B).- Returns:
- System property value if it exists, defaultValue otherwise. Throws an exception if no default value is set.
-
getSizeInBytes
public long getSizeInBytes(long overrideDefaultValue)
Gets the value of a system property, given as a human-readable size in bytes (e.g. 100MiB, 10GB, 500B).- Returns:
- System property value if it exists, defaultValue otherwise.
-
getInt
public int getInt(int overrideDefaultValue)
Gets the value of a system property as an int.- Returns:
- system property int value if it exists, overrideDefaultValue otherwise.
-
setInt
public java.lang.Integer setInt(int value)
Sets the value into system properties.- Parameters:
value
- to set- Returns:
- Previous value or null if it did not have one.
-
setLong
public java.lang.Long setLong(long value)
Sets the value into system properties.- Parameters:
value
- to set- Returns:
- Previous value or null if it did not have one.
-
getEnum
public <T extends java.lang.Enum<T>> T getEnum(T defaultValue)
Gets the value of a system property as a enum, callingString.toUpperCase()
first.- Type Parameters:
T
- type- Parameters:
defaultValue
- to return when not defined- Returns:
- enum value
-
getEnum
public <T extends java.lang.Enum<T>> T getEnum(boolean toUppercase, T defaultValue)
Gets the value of a system property as a enum, optionally callingString.toUpperCase()
first.- Type Parameters:
T
- type- Parameters:
toUppercase
- before converting to enumdefaultValue
- to return when not defined- Returns:
- enum value
-
getEnum
public <T extends java.lang.Enum<T>> T getEnum(boolean toUppercase, java.lang.Class<T> enumClass)
Gets the value of a system property as an enum, optionally callingString.toUpperCase()
first. If the value is missing, the default value for this property is used- Type Parameters:
T
- type- Parameters:
toUppercase
- before converting to enumenumClass
- enumeration class- Returns:
- enum value
-
setEnum
public void setEnum(java.lang.Enum<?> value)
Sets the value into system properties.- Parameters:
value
- to set
-
isPresent
public boolean isPresent()
- Returns:
- whether a system property is present or not.
-
-