public class TypedDriverOption<ValueT> extends Object
DriverOption
, that encodes the intended value type of each
option.
This type was introduced in conjunction with DriverConfigLoader.fromMap(OptionsMap)
.
Unfortunately, for backward compatibility reasons, it wasn't possible to retrofit the rest of the
driver to use it; therefore the APIs used to read the configuration, such as DriverConfig
and DriverExecutionProfile
, still use the untyped DriverOption
.
Modifier and Type | Field and Description |
---|---|
static TypedDriverOption<String> |
ADDRESS_TRANSLATOR_CLASS
The class of the address translator to use to convert the addresses sent by Cassandra nodes
into ones that the driver uses to connect.
|
static TypedDriverOption<String> |
APPLICATION_NAME
The name of the application using the session.
|
static TypedDriverOption<String> |
APPLICATION_VERSION
The version of the application using the session.
|
static TypedDriverOption<String> |
AUTH_PROVIDER_AUTHORIZATION_ID
Proxy authentication for GSSAPI authentication: allows to login as another user or role.
|
static TypedDriverOption<String> |
AUTH_PROVIDER_CLASS
The class of the authentication provider.
|
static TypedDriverOption<String> |
AUTH_PROVIDER_LOGIN_CONFIGURATION
Login configuration for GSSAPI authentication.
|
static TypedDriverOption<String> |
AUTH_PROVIDER_PASSWORD
Plain text auth provider password.
|
static TypedDriverOption<Map<String,String>> |
AUTH_PROVIDER_SASL_PROPERTIES
Internal SASL properties, if any, such as QOP, for GSSAPI authentication.
|
static TypedDriverOption<String> |
AUTH_PROVIDER_SERVICE
Service name for GSSAPI authentication.
|
static TypedDriverOption<String> |
AUTH_PROVIDER_USER_NAME
Plain text auth provider username.
|
static TypedDriverOption<String> |
CLOUD_SECURE_CONNECT_BUNDLE
The location of the cloud secure bundle used to connect to Datastax Apache Cassandra as a
service.
|
static TypedDriverOption<Duration> |
COALESCER_INTERVAL
The coalescer reschedule interval.
|
static TypedDriverOption<Integer> |
COALESCER_MAX_RUNS
Deprecated.
This option was removed in version 4.6.1.
|
static TypedDriverOption<Duration> |
CONFIG_RELOAD_INTERVAL
How often the driver tries to reload the configuration.
|
static TypedDriverOption<Duration> |
CONNECTION_CONNECT_TIMEOUT
The timeout to use when establishing driver connections.
|
static TypedDriverOption<Duration> |
CONNECTION_INIT_QUERY_TIMEOUT
The timeout to use for internal queries that run as part of the initialization process.
|
static TypedDriverOption<Integer> |
CONNECTION_MAX_ORPHAN_REQUESTS
The maximum number of "orphaned" requests before a connection gets closed automatically.
|
static TypedDriverOption<Integer> |
CONNECTION_MAX_REQUESTS
The maximum number of requests that can be executed concurrently on a connection.
|
static TypedDriverOption<Integer> |
CONNECTION_POOL_LOCAL_SIZE
The number of connections in the LOCAL pool.
|
static TypedDriverOption<Integer> |
CONNECTION_POOL_REMOTE_SIZE
The number of connections in the REMOTE pool.
|
static TypedDriverOption<Duration> |
CONNECTION_SET_KEYSPACE_TIMEOUT
The timeout to use when the driver changes the keyspace on a connection at runtime.
|
static TypedDriverOption<Boolean> |
CONNECTION_WARN_INIT_ERROR
Whether to log non-fatal errors when the driver tries to open a new connection.
|
static TypedDriverOption<List<String>> |
CONTACT_POINTS
The contact points to use for the initial connection to the cluster.
|
static TypedDriverOption<Integer> |
CONTINUOUS_PAGING_MAX_ENQUEUED_PAGES
The maximum number of continuous pages that can be stored in the local queue.
|
static TypedDriverOption<Integer> |
CONTINUOUS_PAGING_MAX_PAGES
The maximum number of continuous pages to return.
|
static TypedDriverOption<Integer> |
CONTINUOUS_PAGING_MAX_PAGES_PER_SECOND
The maximum number of continuous pages per second.
|
static TypedDriverOption<Integer> |
CONTINUOUS_PAGING_METRICS_SESSION_CQL_REQUESTS_DIGITS
The number of significant decimal digits to which internal structures will maintain for
continuous requests.
|
static TypedDriverOption<Duration> |
CONTINUOUS_PAGING_METRICS_SESSION_CQL_REQUESTS_HIGHEST
The largest latency that we expect to record for continuous requests.
|
static TypedDriverOption<Duration> |
CONTINUOUS_PAGING_METRICS_SESSION_CQL_REQUESTS_INTERVAL
The interval at which percentile data is refreshed for continuous requests.
|
static TypedDriverOption<Integer> |
CONTINUOUS_PAGING_PAGE_SIZE
The page size for continuous paging.
|
static TypedDriverOption<Boolean> |
CONTINUOUS_PAGING_PAGE_SIZE_BYTES
Whether
CONTINUOUS_PAGING_PAGE_SIZE should be interpreted in number of rows or bytes. |
static TypedDriverOption<Duration> |
CONTINUOUS_PAGING_TIMEOUT_FIRST_PAGE
How long to wait for the coordinator to send the first continuous page.
|
static TypedDriverOption<Duration> |
CONTINUOUS_PAGING_TIMEOUT_OTHER_PAGES
How long to wait for the coordinator to send subsequent continuous pages.
|
static TypedDriverOption<Duration> |
CONTROL_CONNECTION_AGREEMENT_INTERVAL
The interval between each schema agreement check attempt.
|
static TypedDriverOption<Duration> |
CONTROL_CONNECTION_AGREEMENT_TIMEOUT
The timeout after which schema agreement fails.
|
static TypedDriverOption<Boolean> |
CONTROL_CONNECTION_AGREEMENT_WARN
Whether to log a warning if schema agreement fails.
|
static TypedDriverOption<Duration> |
CONTROL_CONNECTION_TIMEOUT
How long the driver waits for responses to control queries.
|
static TypedDriverOption<Integer> |
GRAPH_CONTINUOUS_PAGING_MAX_ENQUEUED_PAGES
The maximum number of Graph continuous pages that can be stored in the local queue.
|
static TypedDriverOption<Integer> |
GRAPH_CONTINUOUS_PAGING_MAX_PAGES
The maximum number of Graph continuous pages to return.
|
static TypedDriverOption<Integer> |
GRAPH_CONTINUOUS_PAGING_MAX_PAGES_PER_SECOND
The maximum number of Graph continuous pages per second.
|
static TypedDriverOption<Integer> |
GRAPH_CONTINUOUS_PAGING_PAGE_SIZE
The page size for Graph continuous paging.
|
static TypedDriverOption<Boolean> |
GRAPH_IS_SYSTEM_QUERY
Whether a script statement represents a system query.
|
static TypedDriverOption<String> |
GRAPH_NAME
The name of the graph targeted by graph statements.
|
static TypedDriverOption<String> |
GRAPH_PAGING_ENABLED
Whether to enable paging for Graph queries.
|
static TypedDriverOption<String> |
GRAPH_READ_CONSISTENCY_LEVEL
The read consistency level to use for graph statements.
|
static TypedDriverOption<String> |
GRAPH_SUB_PROTOCOL
The sub-protocol the driver will use to communicate with DSE Graph, on top of the Cassandra
native protocol.
|
static TypedDriverOption<Duration> |
GRAPH_TIMEOUT
How long the driver waits for a graph request to complete.
|
static TypedDriverOption<String> |
GRAPH_TRAVERSAL_SOURCE
The traversal source to use for graph statements.
|
static TypedDriverOption<String> |
GRAPH_WRITE_CONSISTENCY_LEVEL
The write consistency level to use for graph statements.
|
static TypedDriverOption<Duration> |
HEARTBEAT_INTERVAL
The connection heartbeat interval.
|
static TypedDriverOption<Duration> |
HEARTBEAT_TIMEOUT
How long the driver waits for the response to a heartbeat.
|
static TypedDriverOption<Boolean> |
LOAD_BALANCING_DC_FAILOVER_ALLOW_FOR_LOCAL_CONSISTENCY_LEVELS
Whether to consider nodes from remote DCs if the request's consistency level is local.
|
static TypedDriverOption<Integer> |
LOAD_BALANCING_DC_FAILOVER_MAX_NODES_PER_REMOTE_DC
The maximum number of nodes from remote DCs to include in query plans.
|
static TypedDriverOption<String> |
LOAD_BALANCING_FILTER_CLASS
A custom filter to include/exclude nodes.
|
static TypedDriverOption<String> |
LOAD_BALANCING_LOCAL_DATACENTER
The datacenter that is considered "local".
|
static TypedDriverOption<String> |
LOAD_BALANCING_POLICY_CLASS
The class of the load balancing policy.
|
static TypedDriverOption<Boolean> |
LOAD_BALANCING_POLICY_SLOW_AVOIDANCE
Whether the slow replica avoidance should be enabled in the default LBP.
|
static TypedDriverOption<String> |
METADATA_NODE_STATE_LISTENER_CLASS
The class of a session-wide component that listens for node state changes.
|
static TypedDriverOption<String> |
METADATA_SCHEMA_CHANGE_LISTENER_CLASS
The class of a session-wide component that listens for schema changes.
|
static TypedDriverOption<Boolean> |
METADATA_SCHEMA_ENABLED
Whether schema metadata is enabled.
|
static TypedDriverOption<Integer> |
METADATA_SCHEMA_MAX_EVENTS
The maximum number of refreshes that can accumulate.
|
static TypedDriverOption<List<String>> |
METADATA_SCHEMA_REFRESHED_KEYSPACES
The list of keyspaces for which schema and token metadata should be maintained.
|
static TypedDriverOption<Integer> |
METADATA_SCHEMA_REQUEST_PAGE_SIZE
The page size for the requests to the schema tables.
|
static TypedDriverOption<Duration> |
METADATA_SCHEMA_REQUEST_TIMEOUT
The timeout for the requests to the schema tables.
|
static TypedDriverOption<Duration> |
METADATA_SCHEMA_WINDOW
How long the driver waits to apply a refresh.
|
static TypedDriverOption<Boolean> |
METADATA_TOKEN_MAP_ENABLED
Whether token metadata is enabled.
|
static TypedDriverOption<Integer> |
METADATA_TOPOLOGY_MAX_EVENTS
The maximum number of events that can accumulate.
|
static TypedDriverOption<Duration> |
METADATA_TOPOLOGY_WINDOW
How long the driver waits to propagate a Topology event.
|
static TypedDriverOption<String> |
METRICS_FACTORY_CLASS
The classname of the desired MetricsFactory implementation.
|
static TypedDriverOption<Integer> |
METRICS_NODE_CQL_MESSAGES_DIGITS
The number of significant decimal digits to which internal structures will maintain for
requests.
|
static TypedDriverOption<Duration> |
METRICS_NODE_CQL_MESSAGES_HIGHEST
The largest latency that we expect to record for requests.
|
static TypedDriverOption<Duration> |
METRICS_NODE_CQL_MESSAGES_INTERVAL
The interval at which percentile data is refreshed for requests.
|
static TypedDriverOption<List<String>> |
METRICS_NODE_ENABLED
List of enabled node-level metrics.
|
static TypedDriverOption<Duration> |
METRICS_NODE_EXPIRE_AFTER
The time after which the node level metrics will be evicted.
|
static TypedDriverOption<Integer> |
METRICS_NODE_GRAPH_MESSAGES_DIGITS
The number of significant decimal digits to which internal structures will maintain for graph
requests.
|
static TypedDriverOption<Duration> |
METRICS_NODE_GRAPH_MESSAGES_HIGHEST
The largest latency that we expect to record for graph requests.
|
static TypedDriverOption<Duration> |
METRICS_NODE_GRAPH_MESSAGES_INTERVAL
The interval at which percentile data is refreshed for graph requests.
|
static TypedDriverOption<Integer> |
METRICS_SESSION_CQL_REQUESTS_DIGITS
The number of significant decimal digits to which internal structures will maintain for
requests.
|
static TypedDriverOption<Duration> |
METRICS_SESSION_CQL_REQUESTS_HIGHEST
The largest latency that we expect to record for requests.
|
static TypedDriverOption<Duration> |
METRICS_SESSION_CQL_REQUESTS_INTERVAL
The interval at which percentile data is refreshed for requests.
|
static TypedDriverOption<List<String>> |
METRICS_SESSION_ENABLED
List of enabled session-level metrics.
|
static TypedDriverOption<Integer> |
METRICS_SESSION_GRAPH_REQUESTS_DIGITS
The number of significant decimal digits to which internal structures will maintain for graph
requests.
|
static TypedDriverOption<Duration> |
METRICS_SESSION_GRAPH_REQUESTS_HIGHEST
The largest latency that we expect to record for graph requests.
|
static TypedDriverOption<Duration> |
METRICS_SESSION_GRAPH_REQUESTS_INTERVAL
The interval at which percentile data is refreshed for graph requests.
|
static TypedDriverOption<Integer> |
METRICS_SESSION_THROTTLING_DIGITS
The number of significant decimal digits to which internal structures will maintain for
throttling.
|
static TypedDriverOption<Duration> |
METRICS_SESSION_THROTTLING_HIGHEST
The largest latency that we expect to record for throttling.
|
static TypedDriverOption<Duration> |
METRICS_SESSION_THROTTLING_INTERVAL
The interval at which percentile data is refreshed for throttling.
|
static TypedDriverOption<Boolean> |
MONITOR_REPORTING_ENABLED
Whether to send events for Insights monitoring.
|
static TypedDriverOption<Integer> |
NETTY_ADMIN_SHUTDOWN_QUIET_PERIOD
Quiet period for admin group shutdown.
|
static TypedDriverOption<Integer> |
NETTY_ADMIN_SHUTDOWN_TIMEOUT
Max time to wait for admin group shutdown.
|
static TypedDriverOption<String> |
NETTY_ADMIN_SHUTDOWN_UNIT
Units for admin group quiet period and timeout.
|
static TypedDriverOption<Integer> |
NETTY_ADMIN_SIZE
The number of threads in the Admin group.
|
static TypedDriverOption<Boolean> |
NETTY_DAEMON
Whether the threads created by the driver should be daemon threads.
|
static TypedDriverOption<Integer> |
NETTY_IO_SHUTDOWN_QUIET_PERIOD
Quiet period for I/O group shutdown.
|
static TypedDriverOption<Integer> |
NETTY_IO_SHUTDOWN_TIMEOUT
Max time to wait for I/O group shutdown.
|
static TypedDriverOption<String> |
NETTY_IO_SHUTDOWN_UNIT
Units for I/O group quiet period and timeout.
|
static TypedDriverOption<Integer> |
NETTY_IO_SIZE
The number of threads in the I/O group.
|
static TypedDriverOption<Duration> |
NETTY_TIMER_TICK_DURATION
This is how frequent the timer should wake up to check for timed-out tasks or speculative
executions.
|
static TypedDriverOption<Integer> |
NETTY_TIMER_TICKS_PER_WHEEL
Number of ticks in the Timer wheel.
|
static TypedDriverOption<Boolean> |
PREPARE_ON_ALL_NODES
Whether `Session.prepare` calls should be sent to all nodes in the cluster.
|
static TypedDriverOption<String> |
PROTOCOL_COMPRESSION
The name of the algorithm used to compress protocol frames.
|
static TypedDriverOption<Long> |
PROTOCOL_MAX_FRAME_LENGTH
The maximum length, in bytes, of the frames supported by the driver.
|
static TypedDriverOption<String> |
PROTOCOL_VERSION
The native protocol version to use.
|
static TypedDriverOption<Boolean> |
RECONNECT_ON_INIT
Whether to schedule reconnection attempts if all contact points are unreachable on the first
initialization attempt.
|
static TypedDriverOption<Duration> |
RECONNECTION_BASE_DELAY
Base delay for computing time between reconnection attempts.
|
static TypedDriverOption<Duration> |
RECONNECTION_MAX_DELAY
Maximum delay between reconnection attempts.
|
static TypedDriverOption<String> |
RECONNECTION_POLICY_CLASS
The class of the reconnection policy.
|
static TypedDriverOption<Boolean> |
REPREPARE_CHECK_SYSTEM_TABLE
Whether to check `system.prepared_statements` on the target node before repreparing.
|
static TypedDriverOption<Boolean> |
REPREPARE_ENABLED
Whether the driver tries to prepare on new nodes at all.
|
static TypedDriverOption<Integer> |
REPREPARE_MAX_PARALLELISM
The maximum number of concurrent requests when repreparing.
|
static TypedDriverOption<Integer> |
REPREPARE_MAX_STATEMENTS
The maximum number of statements that should be reprepared.
|
static TypedDriverOption<Duration> |
REPREPARE_TIMEOUT
The request timeout when repreparing.
|
static TypedDriverOption<String> |
REQUEST_CONSISTENCY
The consistency level.
|
static TypedDriverOption<Boolean> |
REQUEST_DEFAULT_IDEMPOTENCE
The default idempotence of a request.
|
static TypedDriverOption<Boolean> |
REQUEST_LOG_WARNINGS
Whether logging of server warnings generated during query execution should be disabled by the
driver.
|
static TypedDriverOption<Boolean> |
REQUEST_LOGGER_ERROR_ENABLED
Whether to log failed requests.
|
static TypedDriverOption<Integer> |
REQUEST_LOGGER_MAX_QUERY_LENGTH
The maximum length of the query string in the log message.
|
static TypedDriverOption<Integer> |
REQUEST_LOGGER_MAX_VALUE_LENGTH
The maximum length for bound values in the log message.
|
static TypedDriverOption<Integer> |
REQUEST_LOGGER_MAX_VALUES
The maximum number of bound values to log.
|
static TypedDriverOption<Boolean> |
REQUEST_LOGGER_SLOW_ENABLED
Whether to log slow requests.
|
static TypedDriverOption<Duration> |
REQUEST_LOGGER_SLOW_THRESHOLD
The threshold to classify a successful request as "slow".
|
static TypedDriverOption<Boolean> |
REQUEST_LOGGER_STACK_TRACES
Whether to log stack traces for failed queries.
|
static TypedDriverOption<Boolean> |
REQUEST_LOGGER_SUCCESS_ENABLED
Whether to log successful requests.
|
static TypedDriverOption<Boolean> |
REQUEST_LOGGER_VALUES
Whether to log bound values in addition to the query string.
|
static TypedDriverOption<Integer> |
REQUEST_PAGE_SIZE
The page size.
|
static TypedDriverOption<String> |
REQUEST_SERIAL_CONSISTENCY
The serial consistency level.
|
static TypedDriverOption<String> |
REQUEST_THROTTLER_CLASS
The class of a session-wide component that controls the rate at which requests are executed.
|
static TypedDriverOption<Duration> |
REQUEST_THROTTLER_DRAIN_INTERVAL
How often the throttler attempts to dequeue requests.
|
static TypedDriverOption<Integer> |
REQUEST_THROTTLER_MAX_CONCURRENT_REQUESTS
The maximum number of requests that are allowed to execute in parallel.
|
static TypedDriverOption<Integer> |
REQUEST_THROTTLER_MAX_QUEUE_SIZE
The maximum number of requests that can be enqueued when the throttling threshold is exceeded.
|
static TypedDriverOption<Integer> |
REQUEST_THROTTLER_MAX_REQUESTS_PER_SECOND
The maximum allowed request rate.
|
static TypedDriverOption<Duration> |
REQUEST_TIMEOUT
How long the driver waits for a request to complete.
|
static TypedDriverOption<Integer> |
REQUEST_TRACE_ATTEMPTS
How many times the driver will attempt to fetch the query trace if it is not ready yet.
|
static TypedDriverOption<String> |
REQUEST_TRACE_CONSISTENCY
The consistency level to use for trace queries.
|
static TypedDriverOption<Duration> |
REQUEST_TRACE_INTERVAL
The interval between each attempt.
|
static TypedDriverOption<String> |
REQUEST_TRACKER_CLASS
The class of a session-wide component that tracks the outcome of requests.
|
static TypedDriverOption<Boolean> |
REQUEST_WARN_IF_SET_KEYSPACE
Whether a warning is logged when a request (such as a CQL `USE ...`) changes the active
keyspace.
|
static TypedDriverOption<Boolean> |
RESOLVE_CONTACT_POINTS
Whether to resolve the addresses passed to `basic.contact-points`.
|
static TypedDriverOption<String> |
RETRY_POLICY_CLASS
The class of the retry policy.
|
static TypedDriverOption<String> |
SESSION_KEYSPACE
The name of the keyspace that the session should initially be connected to.
|
static TypedDriverOption<Integer> |
SESSION_LEAK_THRESHOLD
The maximum number of live sessions that are allowed to coexist in a given VM.
|
static TypedDriverOption<String> |
SESSION_NAME
A name that uniquely identifies the driver instance.
|
static TypedDriverOption<Boolean> |
SOCKET_KEEP_ALIVE
Whether or not to enable TCP keep-alive probes.
|
static TypedDriverOption<Integer> |
SOCKET_LINGER_INTERVAL
Sets the linger interval.
|
static TypedDriverOption<Integer> |
SOCKET_RECEIVE_BUFFER_SIZE
Sets a hint to the size of the underlying buffers for incoming network I/O.
|
static TypedDriverOption<Boolean> |
SOCKET_REUSE_ADDRESS
Whether or not to allow address reuse.
|
static TypedDriverOption<Integer> |
SOCKET_SEND_BUFFER_SIZE
Sets a hint to the size of the underlying buffers for outgoing network I/O.
|
static TypedDriverOption<Boolean> |
SOCKET_TCP_NODELAY
Whether or not to disable the Nagle algorithm.
|
static TypedDriverOption<Duration> |
SPECULATIVE_EXECUTION_DELAY
The delay between each execution.
|
static TypedDriverOption<Integer> |
SPECULATIVE_EXECUTION_MAX
The maximum number of executions.
|
static TypedDriverOption<String> |
SPECULATIVE_EXECUTION_POLICY_CLASS
The class of the speculative execution policy.
|
static TypedDriverOption<List<String>> |
SSL_CIPHER_SUITES
The cipher suites to enable when creating an SSLEngine for a connection.
|
static TypedDriverOption<String> |
SSL_ENGINE_FACTORY_CLASS
The class of the SSL Engine Factory.
|
static TypedDriverOption<Boolean> |
SSL_HOSTNAME_VALIDATION
Whether or not to require validation that the hostname of the server certificate's common name
matches the hostname of the server being connected to.
|
static TypedDriverOption<String> |
SSL_KEYSTORE_PASSWORD
The keystore password.
|
static TypedDriverOption<String> |
SSL_KEYSTORE_PATH
The location of the keystore file.
|
static TypedDriverOption<String> |
SSL_TRUSTSTORE_PASSWORD
The truststore password.
|
static TypedDriverOption<String> |
SSL_TRUSTSTORE_PATH
The location of the truststore file.
|
static TypedDriverOption<String> |
TIMESTAMP_GENERATOR_CLASS
The class of the generator that assigns a microsecond timestamp to each request.
|
static TypedDriverOption<Duration> |
TIMESTAMP_GENERATOR_DRIFT_WARNING_INTERVAL
How often the warning will be logged if timestamps keep drifting above the threshold.
|
static TypedDriverOption<Duration> |
TIMESTAMP_GENERATOR_DRIFT_WARNING_THRESHOLD
How far in the future timestamps are allowed to drift before the warning is logged.
|
static TypedDriverOption<Boolean> |
TIMESTAMP_GENERATOR_FORCE_JAVA_CLOCK
Whether to force the driver to use Java's millisecond-precision system clock.
|
Constructor and Description |
---|
TypedDriverOption(DriverOption rawOption,
GenericType<ValueT> expectedType) |
Modifier and Type | Method and Description |
---|---|
static Iterable<TypedDriverOption<?>> |
builtInValues()
Returns the list of all built-in options known to the driver codebase; in other words, all the
TypedDriverOption constants defined on this class. |
boolean |
equals(Object other) |
GenericType<ValueT> |
getExpectedType() |
DriverOption |
getRawOption() |
int |
hashCode() |
String |
toString() |
public static final TypedDriverOption<List<String>> CONTACT_POINTS
public static final TypedDriverOption<String> SESSION_NAME
public static final TypedDriverOption<String> SESSION_KEYSPACE
public static final TypedDriverOption<Duration> CONFIG_RELOAD_INTERVAL
public static final TypedDriverOption<Duration> REQUEST_TIMEOUT
public static final TypedDriverOption<String> REQUEST_CONSISTENCY
public static final TypedDriverOption<Integer> REQUEST_PAGE_SIZE
public static final TypedDriverOption<String> REQUEST_SERIAL_CONSISTENCY
public static final TypedDriverOption<Boolean> REQUEST_DEFAULT_IDEMPOTENCE
public static final TypedDriverOption<String> LOAD_BALANCING_POLICY_CLASS
public static final TypedDriverOption<String> LOAD_BALANCING_LOCAL_DATACENTER
public static final TypedDriverOption<String> LOAD_BALANCING_FILTER_CLASS
public static final TypedDriverOption<Duration> CONNECTION_INIT_QUERY_TIMEOUT
public static final TypedDriverOption<Duration> CONNECTION_SET_KEYSPACE_TIMEOUT
public static final TypedDriverOption<Integer> CONNECTION_MAX_REQUESTS
public static final TypedDriverOption<Integer> CONNECTION_MAX_ORPHAN_REQUESTS
public static final TypedDriverOption<Boolean> CONNECTION_WARN_INIT_ERROR
public static final TypedDriverOption<Integer> CONNECTION_POOL_LOCAL_SIZE
public static final TypedDriverOption<Integer> CONNECTION_POOL_REMOTE_SIZE
public static final TypedDriverOption<Boolean> RECONNECT_ON_INIT
public static final TypedDriverOption<String> RECONNECTION_POLICY_CLASS
public static final TypedDriverOption<Duration> RECONNECTION_BASE_DELAY
public static final TypedDriverOption<Duration> RECONNECTION_MAX_DELAY
public static final TypedDriverOption<String> RETRY_POLICY_CLASS
public static final TypedDriverOption<String> SPECULATIVE_EXECUTION_POLICY_CLASS
public static final TypedDriverOption<Integer> SPECULATIVE_EXECUTION_MAX
public static final TypedDriverOption<Duration> SPECULATIVE_EXECUTION_DELAY
public static final TypedDriverOption<String> AUTH_PROVIDER_CLASS
public static final TypedDriverOption<String> AUTH_PROVIDER_USER_NAME
public static final TypedDriverOption<String> AUTH_PROVIDER_PASSWORD
public static final TypedDriverOption<String> SSL_ENGINE_FACTORY_CLASS
public static final TypedDriverOption<List<String>> SSL_CIPHER_SUITES
public static final TypedDriverOption<Boolean> SSL_HOSTNAME_VALIDATION
public static final TypedDriverOption<String> SSL_KEYSTORE_PATH
public static final TypedDriverOption<String> SSL_KEYSTORE_PASSWORD
public static final TypedDriverOption<String> SSL_TRUSTSTORE_PATH
public static final TypedDriverOption<String> SSL_TRUSTSTORE_PASSWORD
public static final TypedDriverOption<String> TIMESTAMP_GENERATOR_CLASS
public static final TypedDriverOption<Boolean> TIMESTAMP_GENERATOR_FORCE_JAVA_CLOCK
public static final TypedDriverOption<Duration> TIMESTAMP_GENERATOR_DRIFT_WARNING_THRESHOLD
public static final TypedDriverOption<Duration> TIMESTAMP_GENERATOR_DRIFT_WARNING_INTERVAL
public static final TypedDriverOption<String> REQUEST_TRACKER_CLASS
public static final TypedDriverOption<Boolean> REQUEST_LOGGER_SUCCESS_ENABLED
public static final TypedDriverOption<Duration> REQUEST_LOGGER_SLOW_THRESHOLD
public static final TypedDriverOption<Boolean> REQUEST_LOGGER_SLOW_ENABLED
public static final TypedDriverOption<Boolean> REQUEST_LOGGER_ERROR_ENABLED
public static final TypedDriverOption<Integer> REQUEST_LOGGER_MAX_QUERY_LENGTH
public static final TypedDriverOption<Boolean> REQUEST_LOGGER_VALUES
public static final TypedDriverOption<Integer> REQUEST_LOGGER_MAX_VALUE_LENGTH
public static final TypedDriverOption<Integer> REQUEST_LOGGER_MAX_VALUES
public static final TypedDriverOption<Boolean> REQUEST_LOGGER_STACK_TRACES
public static final TypedDriverOption<String> REQUEST_THROTTLER_CLASS
public static final TypedDriverOption<Integer> REQUEST_THROTTLER_MAX_CONCURRENT_REQUESTS
public static final TypedDriverOption<Integer> REQUEST_THROTTLER_MAX_REQUESTS_PER_SECOND
public static final TypedDriverOption<Integer> REQUEST_THROTTLER_MAX_QUEUE_SIZE
public static final TypedDriverOption<Duration> REQUEST_THROTTLER_DRAIN_INTERVAL
public static final TypedDriverOption<String> METADATA_NODE_STATE_LISTENER_CLASS
public static final TypedDriverOption<String> METADATA_SCHEMA_CHANGE_LISTENER_CLASS
public static final TypedDriverOption<String> ADDRESS_TRANSLATOR_CLASS
public static final TypedDriverOption<String> PROTOCOL_VERSION
public static final TypedDriverOption<String> PROTOCOL_COMPRESSION
public static final TypedDriverOption<Long> PROTOCOL_MAX_FRAME_LENGTH
public static final TypedDriverOption<Boolean> REQUEST_WARN_IF_SET_KEYSPACE
public static final TypedDriverOption<Integer> REQUEST_TRACE_ATTEMPTS
public static final TypedDriverOption<Duration> REQUEST_TRACE_INTERVAL
public static final TypedDriverOption<String> REQUEST_TRACE_CONSISTENCY
public static final TypedDriverOption<List<String>> METRICS_SESSION_ENABLED
public static final TypedDriverOption<List<String>> METRICS_NODE_ENABLED
public static final TypedDriverOption<Duration> METRICS_SESSION_CQL_REQUESTS_HIGHEST
public static final TypedDriverOption<Integer> METRICS_SESSION_CQL_REQUESTS_DIGITS
public static final TypedDriverOption<Duration> METRICS_SESSION_CQL_REQUESTS_INTERVAL
public static final TypedDriverOption<Duration> METRICS_SESSION_THROTTLING_HIGHEST
public static final TypedDriverOption<Integer> METRICS_SESSION_THROTTLING_DIGITS
public static final TypedDriverOption<Duration> METRICS_SESSION_THROTTLING_INTERVAL
public static final TypedDriverOption<Duration> METRICS_NODE_CQL_MESSAGES_HIGHEST
public static final TypedDriverOption<Integer> METRICS_NODE_CQL_MESSAGES_DIGITS
public static final TypedDriverOption<Duration> METRICS_NODE_CQL_MESSAGES_INTERVAL
public static final TypedDriverOption<Boolean> SOCKET_TCP_NODELAY
public static final TypedDriverOption<Boolean> SOCKET_KEEP_ALIVE
public static final TypedDriverOption<Boolean> SOCKET_REUSE_ADDRESS
public static final TypedDriverOption<Integer> SOCKET_LINGER_INTERVAL
public static final TypedDriverOption<Integer> SOCKET_RECEIVE_BUFFER_SIZE
public static final TypedDriverOption<Integer> SOCKET_SEND_BUFFER_SIZE
public static final TypedDriverOption<Duration> HEARTBEAT_INTERVAL
public static final TypedDriverOption<Duration> HEARTBEAT_TIMEOUT
public static final TypedDriverOption<Duration> METADATA_TOPOLOGY_WINDOW
public static final TypedDriverOption<Integer> METADATA_TOPOLOGY_MAX_EVENTS
public static final TypedDriverOption<Boolean> METADATA_SCHEMA_ENABLED
public static final TypedDriverOption<Duration> METADATA_SCHEMA_REQUEST_TIMEOUT
public static final TypedDriverOption<Integer> METADATA_SCHEMA_REQUEST_PAGE_SIZE
public static final TypedDriverOption<List<String>> METADATA_SCHEMA_REFRESHED_KEYSPACES
public static final TypedDriverOption<Duration> METADATA_SCHEMA_WINDOW
public static final TypedDriverOption<Integer> METADATA_SCHEMA_MAX_EVENTS
public static final TypedDriverOption<Boolean> METADATA_TOKEN_MAP_ENABLED
public static final TypedDriverOption<Duration> CONTROL_CONNECTION_TIMEOUT
public static final TypedDriverOption<Duration> CONTROL_CONNECTION_AGREEMENT_INTERVAL
public static final TypedDriverOption<Duration> CONTROL_CONNECTION_AGREEMENT_TIMEOUT
public static final TypedDriverOption<Boolean> CONTROL_CONNECTION_AGREEMENT_WARN
public static final TypedDriverOption<Boolean> PREPARE_ON_ALL_NODES
public static final TypedDriverOption<Boolean> REPREPARE_ENABLED
public static final TypedDriverOption<Boolean> REPREPARE_CHECK_SYSTEM_TABLE
public static final TypedDriverOption<Integer> REPREPARE_MAX_STATEMENTS
public static final TypedDriverOption<Integer> REPREPARE_MAX_PARALLELISM
public static final TypedDriverOption<Duration> REPREPARE_TIMEOUT
public static final TypedDriverOption<Integer> NETTY_IO_SIZE
public static final TypedDriverOption<Integer> NETTY_IO_SHUTDOWN_QUIET_PERIOD
public static final TypedDriverOption<Integer> NETTY_IO_SHUTDOWN_TIMEOUT
public static final TypedDriverOption<String> NETTY_IO_SHUTDOWN_UNIT
public static final TypedDriverOption<Integer> NETTY_ADMIN_SIZE
public static final TypedDriverOption<Integer> NETTY_ADMIN_SHUTDOWN_QUIET_PERIOD
public static final TypedDriverOption<Integer> NETTY_ADMIN_SHUTDOWN_TIMEOUT
public static final TypedDriverOption<String> NETTY_ADMIN_SHUTDOWN_UNIT
@Deprecated public static final TypedDriverOption<Integer> COALESCER_MAX_RUNS
public static final TypedDriverOption<Duration> COALESCER_INTERVAL
public static final TypedDriverOption<Boolean> RESOLVE_CONTACT_POINTS
public static final TypedDriverOption<Duration> NETTY_TIMER_TICK_DURATION
public static final TypedDriverOption<Integer> NETTY_TIMER_TICKS_PER_WHEEL
public static final TypedDriverOption<Boolean> REQUEST_LOG_WARNINGS
public static final TypedDriverOption<Boolean> NETTY_DAEMON
public static final TypedDriverOption<String> CLOUD_SECURE_CONNECT_BUNDLE
public static final TypedDriverOption<Boolean> LOAD_BALANCING_POLICY_SLOW_AVOIDANCE
public static final TypedDriverOption<Duration> CONNECTION_CONNECT_TIMEOUT
public static final TypedDriverOption<Integer> SESSION_LEAK_THRESHOLD
public static final TypedDriverOption<String> APPLICATION_NAME
public static final TypedDriverOption<String> APPLICATION_VERSION
public static final TypedDriverOption<String> AUTH_PROVIDER_AUTHORIZATION_ID
public static final TypedDriverOption<String> AUTH_PROVIDER_SERVICE
public static final TypedDriverOption<String> AUTH_PROVIDER_LOGIN_CONFIGURATION
public static final TypedDriverOption<Map<String,String>> AUTH_PROVIDER_SASL_PROPERTIES
public static final TypedDriverOption<Integer> CONTINUOUS_PAGING_PAGE_SIZE
public static final TypedDriverOption<Boolean> CONTINUOUS_PAGING_PAGE_SIZE_BYTES
CONTINUOUS_PAGING_PAGE_SIZE
should be interpreted in number of rows or bytes.public static final TypedDriverOption<Integer> CONTINUOUS_PAGING_MAX_PAGES
public static final TypedDriverOption<Integer> CONTINUOUS_PAGING_MAX_PAGES_PER_SECOND
public static final TypedDriverOption<Integer> CONTINUOUS_PAGING_MAX_ENQUEUED_PAGES
public static final TypedDriverOption<Duration> CONTINUOUS_PAGING_TIMEOUT_FIRST_PAGE
public static final TypedDriverOption<Duration> CONTINUOUS_PAGING_TIMEOUT_OTHER_PAGES
public static final TypedDriverOption<Duration> CONTINUOUS_PAGING_METRICS_SESSION_CQL_REQUESTS_HIGHEST
public static final TypedDriverOption<Integer> CONTINUOUS_PAGING_METRICS_SESSION_CQL_REQUESTS_DIGITS
public static final TypedDriverOption<Duration> CONTINUOUS_PAGING_METRICS_SESSION_CQL_REQUESTS_INTERVAL
public static final TypedDriverOption<String> GRAPH_READ_CONSISTENCY_LEVEL
public static final TypedDriverOption<String> GRAPH_WRITE_CONSISTENCY_LEVEL
public static final TypedDriverOption<String> GRAPH_TRAVERSAL_SOURCE
public static final TypedDriverOption<String> GRAPH_SUB_PROTOCOL
public static final TypedDriverOption<Boolean> GRAPH_IS_SYSTEM_QUERY
public static final TypedDriverOption<String> GRAPH_NAME
public static final TypedDriverOption<Duration> GRAPH_TIMEOUT
public static final TypedDriverOption<Boolean> MONITOR_REPORTING_ENABLED
public static final TypedDriverOption<String> GRAPH_PAGING_ENABLED
public static final TypedDriverOption<Integer> GRAPH_CONTINUOUS_PAGING_PAGE_SIZE
public static final TypedDriverOption<Integer> GRAPH_CONTINUOUS_PAGING_MAX_PAGES
public static final TypedDriverOption<Integer> GRAPH_CONTINUOUS_PAGING_MAX_PAGES_PER_SECOND
public static final TypedDriverOption<Integer> GRAPH_CONTINUOUS_PAGING_MAX_ENQUEUED_PAGES
public static final TypedDriverOption<Duration> METRICS_SESSION_GRAPH_REQUESTS_HIGHEST
public static final TypedDriverOption<Integer> METRICS_SESSION_GRAPH_REQUESTS_DIGITS
public static final TypedDriverOption<Duration> METRICS_SESSION_GRAPH_REQUESTS_INTERVAL
public static final TypedDriverOption<Duration> METRICS_NODE_GRAPH_MESSAGES_HIGHEST
public static final TypedDriverOption<Integer> METRICS_NODE_GRAPH_MESSAGES_DIGITS
public static final TypedDriverOption<Duration> METRICS_NODE_GRAPH_MESSAGES_INTERVAL
public static final TypedDriverOption<Duration> METRICS_NODE_EXPIRE_AFTER
public static final TypedDriverOption<String> METRICS_FACTORY_CLASS
public static final TypedDriverOption<Integer> LOAD_BALANCING_DC_FAILOVER_MAX_NODES_PER_REMOTE_DC
public static final TypedDriverOption<Boolean> LOAD_BALANCING_DC_FAILOVER_ALLOW_FOR_LOCAL_CONSISTENCY_LEVELS
public TypedDriverOption(@NonNull DriverOption rawOption, @NonNull GenericType<ValueT> expectedType)
public static Iterable<TypedDriverOption<?>> builtInValues()
TypedDriverOption
constants defined on this class.
Note that 3rd-party driver extensions might define their own TypedDriverOption
constants for custom options.
This method uses reflection to introspect all the constants on this class; the result is computed lazily on the first invocation, and then cached for future calls.
@NonNull public DriverOption getRawOption()
@NonNull public GenericType<ValueT> getExpectedType()
Copyright © 2017–2024. All rights reserved.