org.apache.cassandra.config
Class Config

java.lang.Object
  extended by org.apache.cassandra.config.Config

public class Config
extends java.lang.Object

A class that contains configuration properties for the cassandra node it runs within. Properties declared as volatile can be mutated via JMX.


Nested Class Summary
static class Config.CommitLogSync
           
static class Config.DiskAccessMode
           
static class Config.DiskFailurePolicy
           
static class Config.InternodeCompression
           
static class Config.RequestSchedulerId
           
 
Field Summary
 java.lang.String authenticator
           
 java.lang.String authority
           
 java.lang.String authorizer
           
 java.lang.Boolean auto_bootstrap
           
 java.lang.Boolean auto_snapshot
           
 java.lang.String broadcast_address
           
 EncryptionOptions.ClientEncryptionOptions client_encryption_options
           
 java.lang.String cluster_name
           
 java.lang.Integer column_index_size_in_kb
           
 java.lang.String commitlog_directory
           
 int commitlog_segment_size_in_mb
           
 Config.CommitLogSync commitlog_sync
           
 java.lang.Double commitlog_sync_batch_window_in_ms
           
 java.lang.Integer commitlog_sync_period_in_ms
           
 java.lang.Integer commitlog_total_space_in_mb
           
 boolean compaction_preheat_key_cache
           
 java.lang.Integer compaction_throughput_mb_per_sec
           
 java.lang.Integer concurrent_compactors
           
 java.lang.Integer concurrent_reads
           
 java.lang.Integer concurrent_replicates
           
 java.lang.Integer concurrent_writes
           
 boolean cross_node_timeout
           
 java.lang.String[] data_file_directories
           
 Config.DiskAccessMode disk_access_mode
           
 Config.DiskFailurePolicy disk_failure_policy
           
 java.lang.Boolean dynamic_snitch
           
 java.lang.Double dynamic_snitch_badness_threshold
           
 java.lang.Integer dynamic_snitch_reset_interval_in_ms
           
 java.lang.Integer dynamic_snitch_update_interval_in_ms
           
 EncryptionOptions.ServerEncryptionOptions encryption_options
           
 java.lang.String endpoint_snitch
           
 java.lang.Double flush_largest_memtables_at
           
 java.lang.Boolean hinted_handoff_enabled
           
 int hinted_handoff_throttle_in_kb
           
 java.lang.Integer in_memory_compaction_limit_in_mb
           
 boolean incremental_backups
           
 java.lang.Integer index_interval
           
 java.lang.String initial_token
           
 boolean inter_dc_tcp_nodelay
           
 Config.InternodeCompression internode_compression
           
 int key_cache_keys_to_save
           
 int key_cache_save_period
           
 java.lang.Long key_cache_size_in_mb
           
 java.lang.String listen_address
           
 java.lang.Integer max_hint_window_in_ms
           
 int max_hints_delivery_threads
           
 java.lang.Integer max_streaming_retries
           
 int memtable_flush_queue_size
           
 java.lang.Integer memtable_flush_writers
           
 java.lang.Integer memtable_total_space_in_mb
           
 java.lang.Boolean multithreaded_compaction
           
 java.lang.Integer native_transport_max_threads
           
 java.lang.Integer native_transport_min_threads
           
 java.lang.Integer native_transport_port
           
 java.lang.Integer num_tokens
           
 java.lang.String partitioner
           
 java.lang.Double phi_convict_threshold
           
 boolean populate_io_cache_on_flush
           
 java.lang.Long range_request_timeout_in_ms
           
 java.lang.Long read_request_timeout_in_ms
           
 double reduce_cache_capacity_to
           
 java.lang.Double reduce_cache_sizes_at
           
 java.lang.String request_scheduler
           
 Config.RequestSchedulerId request_scheduler_id
           
 RequestSchedulerOptions request_scheduler_options
           
 java.lang.Long request_timeout_in_ms
           
 int row_cache_keys_to_save
           
 java.lang.String row_cache_provider
           
 int row_cache_save_period
           
 long row_cache_size_in_mb
           
 java.lang.String rpc_address
           
 java.lang.Boolean rpc_keepalive
           
 java.lang.Integer rpc_max_threads
           
 java.lang.Integer rpc_min_threads
           
 java.lang.Integer rpc_port
           
 java.lang.Integer rpc_recv_buff_size_in_bytes
           
 java.lang.Integer rpc_send_buff_size_in_bytes
           
 java.lang.String rpc_server_type
           
 java.lang.String saved_caches_directory
           
 SeedProviderDef seed_provider
           
 EncryptionOptions.ServerEncryptionOptions server_encryption_options
           
 java.lang.Boolean snapshot_before_compaction
           
 java.lang.Integer ssl_storage_port
           
 java.lang.Boolean start_native_transport
           
 java.lang.Boolean start_rpc
           
 java.lang.Integer storage_port
           
 java.lang.Integer stream_throughput_outbound_megabits_per_sec
           
 java.lang.Integer streaming_socket_timeout_in_ms
           
 java.lang.Integer thrift_framed_transport_size_in_mb
           
 java.lang.Integer thrift_max_message_length_in_mb
           
 boolean trickle_fsync
           
 int trickle_fsync_interval_in_kb
           
 java.lang.Long truncate_request_timeout_in_ms
           
 java.lang.Long write_request_timeout_in_ms
           
 
Constructor Summary
Config()
           
 
Method Summary
static boolean getLoadYaml()
           
static boolean getOutboundBindAny()
           
static void setLoadYaml(boolean value)
           
static void setOutboundBindAny(boolean value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cluster_name

public java.lang.String cluster_name

authenticator

public java.lang.String authenticator

authority

public java.lang.String authority

authorizer

public java.lang.String authorizer

partitioner

public java.lang.String partitioner

auto_bootstrap

public java.lang.Boolean auto_bootstrap

hinted_handoff_enabled

public volatile java.lang.Boolean hinted_handoff_enabled

max_hint_window_in_ms

public volatile java.lang.Integer max_hint_window_in_ms

seed_provider

public SeedProviderDef seed_provider

disk_access_mode

public Config.DiskAccessMode disk_access_mode

disk_failure_policy

public Config.DiskFailurePolicy disk_failure_policy

initial_token

public java.lang.String initial_token

num_tokens

public java.lang.Integer num_tokens

request_timeout_in_ms

public volatile java.lang.Long request_timeout_in_ms

read_request_timeout_in_ms

public java.lang.Long read_request_timeout_in_ms

range_request_timeout_in_ms

public java.lang.Long range_request_timeout_in_ms

write_request_timeout_in_ms

public java.lang.Long write_request_timeout_in_ms

truncate_request_timeout_in_ms

public java.lang.Long truncate_request_timeout_in_ms

streaming_socket_timeout_in_ms

public java.lang.Integer streaming_socket_timeout_in_ms

cross_node_timeout

public boolean cross_node_timeout

phi_convict_threshold

public volatile java.lang.Double phi_convict_threshold

concurrent_reads

public java.lang.Integer concurrent_reads

concurrent_writes

public java.lang.Integer concurrent_writes

concurrent_replicates

public java.lang.Integer concurrent_replicates

memtable_flush_writers

public java.lang.Integer memtable_flush_writers

memtable_total_space_in_mb

public java.lang.Integer memtable_total_space_in_mb

storage_port

public java.lang.Integer storage_port

ssl_storage_port

public java.lang.Integer ssl_storage_port

listen_address

public java.lang.String listen_address

broadcast_address

public java.lang.String broadcast_address

start_rpc

public java.lang.Boolean start_rpc

rpc_address

public java.lang.String rpc_address

rpc_port

public java.lang.Integer rpc_port

rpc_server_type

public java.lang.String rpc_server_type

rpc_keepalive

public java.lang.Boolean rpc_keepalive

rpc_min_threads

public java.lang.Integer rpc_min_threads

rpc_max_threads

public java.lang.Integer rpc_max_threads

rpc_send_buff_size_in_bytes

public java.lang.Integer rpc_send_buff_size_in_bytes

rpc_recv_buff_size_in_bytes

public java.lang.Integer rpc_recv_buff_size_in_bytes

start_native_transport

public java.lang.Boolean start_native_transport

native_transport_port

public java.lang.Integer native_transport_port

native_transport_min_threads

public java.lang.Integer native_transport_min_threads

native_transport_max_threads

public java.lang.Integer native_transport_max_threads

thrift_max_message_length_in_mb

public java.lang.Integer thrift_max_message_length_in_mb

thrift_framed_transport_size_in_mb

public java.lang.Integer thrift_framed_transport_size_in_mb

snapshot_before_compaction

public java.lang.Boolean snapshot_before_compaction

auto_snapshot

public java.lang.Boolean auto_snapshot

column_index_size_in_kb

public java.lang.Integer column_index_size_in_kb

in_memory_compaction_limit_in_mb

public java.lang.Integer in_memory_compaction_limit_in_mb

concurrent_compactors

public java.lang.Integer concurrent_compactors

compaction_throughput_mb_per_sec

public volatile java.lang.Integer compaction_throughput_mb_per_sec

multithreaded_compaction

public java.lang.Boolean multithreaded_compaction

max_streaming_retries

public java.lang.Integer max_streaming_retries

stream_throughput_outbound_megabits_per_sec

public volatile java.lang.Integer stream_throughput_outbound_megabits_per_sec

data_file_directories

public java.lang.String[] data_file_directories

saved_caches_directory

public java.lang.String saved_caches_directory

commitlog_directory

public java.lang.String commitlog_directory

commitlog_total_space_in_mb

public java.lang.Integer commitlog_total_space_in_mb

commitlog_sync

public Config.CommitLogSync commitlog_sync

commitlog_sync_batch_window_in_ms

public java.lang.Double commitlog_sync_batch_window_in_ms

commitlog_sync_period_in_ms

public java.lang.Integer commitlog_sync_period_in_ms

commitlog_segment_size_in_mb

public int commitlog_segment_size_in_mb

endpoint_snitch

public java.lang.String endpoint_snitch

dynamic_snitch

public java.lang.Boolean dynamic_snitch

dynamic_snitch_update_interval_in_ms

public java.lang.Integer dynamic_snitch_update_interval_in_ms

dynamic_snitch_reset_interval_in_ms

public java.lang.Integer dynamic_snitch_reset_interval_in_ms

dynamic_snitch_badness_threshold

public java.lang.Double dynamic_snitch_badness_threshold

request_scheduler

public java.lang.String request_scheduler

request_scheduler_id

public Config.RequestSchedulerId request_scheduler_id

request_scheduler_options

public RequestSchedulerOptions request_scheduler_options

server_encryption_options

public EncryptionOptions.ServerEncryptionOptions server_encryption_options

client_encryption_options

public EncryptionOptions.ClientEncryptionOptions client_encryption_options

encryption_options

public EncryptionOptions.ServerEncryptionOptions encryption_options

internode_compression

public Config.InternodeCompression internode_compression

index_interval

public java.lang.Integer index_interval

flush_largest_memtables_at

public java.lang.Double flush_largest_memtables_at

reduce_cache_sizes_at

public java.lang.Double reduce_cache_sizes_at

reduce_cache_capacity_to

public double reduce_cache_capacity_to

hinted_handoff_throttle_in_kb

public int hinted_handoff_throttle_in_kb

max_hints_delivery_threads

public int max_hints_delivery_threads

compaction_preheat_key_cache

public boolean compaction_preheat_key_cache

incremental_backups

public volatile boolean incremental_backups

memtable_flush_queue_size

public int memtable_flush_queue_size

trickle_fsync

public boolean trickle_fsync

trickle_fsync_interval_in_kb

public int trickle_fsync_interval_in_kb

key_cache_size_in_mb

public java.lang.Long key_cache_size_in_mb

key_cache_save_period

public volatile int key_cache_save_period

key_cache_keys_to_save

public int key_cache_keys_to_save

row_cache_size_in_mb

public long row_cache_size_in_mb

row_cache_save_period

public volatile int row_cache_save_period

row_cache_keys_to_save

public int row_cache_keys_to_save

row_cache_provider

public java.lang.String row_cache_provider

populate_io_cache_on_flush

public boolean populate_io_cache_on_flush

inter_dc_tcp_nodelay

public boolean inter_dc_tcp_nodelay
Constructor Detail

Config

public Config()
Method Detail

getOutboundBindAny

public static boolean getOutboundBindAny()

setOutboundBindAny

public static void setOutboundBindAny(boolean value)

getLoadYaml

public static boolean getLoadYaml()

setLoadYaml

public static void setLoadYaml(boolean value)


Copyright © 2013 The Apache Software Foundation