org.apache.cassandra.config

## Class DatabaseDescriptor

- java.lang.Object
- - org.apache.cassandra.config.DatabaseDescriptor

    public class DatabaseDescriptor
    extends java.lang.Object

### Constructor Summary

Constructors
Constructor and Description
`DatabaseDescriptor()`

### Method Summary

All Methods Static Methods Concrete Methods
`static void` `applyAddressConfig(Config config)`
`static void` `applyConfig(Config config)`
`static void` `createAllDirectories()` Creates all storage-related directories.
`static boolean` `enableUserDefinedFunctions()`
`static void` `forceStaticInitialization()`
`static java.lang.String[]` `getAllDataFileLocations()`
`static IAuthenticator` `getAuthenticator()`
`static IAuthorizer` `getAuthorizer()`
`static int` `getBatchlogReplayThrottleInKB()`
`static long` `getBatchSizeFailThreshold()`
`static int` `getBatchSizeFailThresholdInKB()`
`static int` `getBatchSizeWarnThreshold()`
`static java.net.InetAddress` `getBroadcastAddress()`
`static java.net.InetAddress` `getBroadcastRpcAddress()` May be null, please use `FBUtilities.getBroadcastRpcAddress()` instead.
`static long` `getCasContentionTimeout()`
`static EncryptionOptions.ClientEncryptionOptions` `getClientEncryptionOptions()`
`static java.lang.String` `getClusterName()`
`static int` `getColumnIndexSize()`
`static Config.CommitFailurePolicy` `getCommitFailurePolicy()`
`static ParameterizedClass` `getCommitLogCompression()`
`static java.lang.String` `getCommitLogLocation()`
`static int` `getCommitLogMaxCompressionBuffersInPool()`
`static int` `getCommitLogSegmentSize()` size of commitlog segments to allocate
`static Config.CommitLogSync` `getCommitLogSync()`
`static double` `getCommitLogSyncBatchWindow()`
`static int` `getCommitLogSyncPeriod()`
`static int` `getCompactionLargePartitionWarningThreshold()`
`static int` `getCompactionThroughputMbPerSec()`
`static int` `getConcurrentCompactors()`
`static int` `getConcurrentCounterWriters()`
`static int` `getConcurrentReaders()`
`static int` `getConcurrentWriters()`
`static int` `getCounterCacheKeysToSave()`
`static int` `getCounterCacheSavePeriod()`
`static long` `getCounterCacheSizeInMB()`
`static long` `getCounterWriteRpcTimeout()`
`static boolean` `getDisableSTCSInL0()`
`static Config.DiskAccessMode` `getDiskAccessMode()`
`static Config.DiskFailurePolicy` `getDiskFailurePolicy()`
`static double` `getDynamicBadnessThreshold()`
`static int` `getDynamicResetInterval()`
`static int` `getDynamicUpdateInterval()`
`static IEndpointSnitch` `getEndpointSnitch()`
`static int` `getFileCacheSizeInMB()`
`static int` `getFlushWriters()`
`static long` `getGCLogThreshold()`
`static long` `getGCWarnThreshold()`
`static int` `getHintedHandoffThrottleInKB()`
`static Config.DiskAccessMode` `getIndexAccessMode()`
`static long` `getIndexSummaryCapacityInMB()`
`static int` `getIndexSummaryResizeIntervalInMinutes()`
`static java.util.Collection<java.lang.String>` `getInitialTokens()`
`static int` `getInterDCStreamThroughputOutboundMegabitsPerSec()`
`static boolean` `getInterDCTcpNoDelay()`
`static IInternodeAuthenticator` `getInternodeAuthenticator()`
`static java.lang.Integer` `getInternodeRecvBufferSize()`
`static java.lang.Integer` `getInternodeSendBufferSize()`
`static int` `getKeyCacheKeysToSave()`
`static int` `getKeyCacheSavePeriod()`
`static long` `getKeyCacheSizeInMB()`
`static java.net.InetAddress` `getListenAddress()`
`static java.util.Comparator<java.net.InetAddress>` `getLocalComparator()`
`static java.lang.String` `getLocalDataCenter()`
`static int` `getMaxHintsThread()`
`static int` `getMaxHintWindow()`
`static MemtablePool` `getMemtableAllocatorPool()`
`static long` `getMinRpcTimeout()`
`static java.lang.Long` `getNativeTransportMaxConcurrentConnections()`
`static java.lang.Long` `getNativeTransportMaxConcurrentConnectionsPerIp()`
`static int` `getNativeTransportMaxFrameSize()`
`static java.lang.Integer` `getNativeTransportMaxThreads()`
`static int` `getNativeTransportPort()`
`static java.lang.Integer` `getNumTokens()`
`static int` `getOtcCoalescingEnoughCoalescedMessages()`
`static java.lang.String` `getOtcCoalescingStrategy()`
`static int` `getOtcCoalescingWindow()`
`static boolean` `getOutboundBindAny()`
`static IPartitioner` `getPartitioner()`
`static java.lang.String` `getPartitionerName()`
`static int` `getPermissionsCacheMaxEntries()`
`static int` `getPermissionsUpdateInterval()`
`static int` `getPermissionsValidity()`
`static double` `getPhiConvictThreshold()`
`static long` `getRangeRpcTimeout()`
`static long` `getReadRpcTimeout()`
`static java.net.InetAddress` `getReplaceAddress()`
`static java.util.UUID` `getReplaceNode()`
`static java.util.Collection<java.lang.String>` `getReplaceTokens()`
`static IRequestScheduler` `getRequestScheduler()`
`static Config.RequestSchedulerId` `getRequestSchedulerId()`
`static RequestSchedulerOptions` `getRequestSchedulerOptions()`
`static IRoleManager` `getRoleManager()`
`static int` `getRolesCacheMaxEntries()`
`static int` `getRolesUpdateInterval()`
`static int` `getRolesValidity()`
`static java.lang.String` `getRowCacheClassName()`
`static int` `getRowCacheKeysToSave()`
`static int` `getRowCacheSavePeriod()`
`static long` `getRowCacheSizeInMB()`
`static java.net.InetAddress` `getRpcAddress()`
`static boolean` `getRpcKeepAlive()`
`static int` `getRpcListenBacklog()`
`static java.lang.Integer` `getRpcMaxThreads()`
`static java.lang.Integer` `getRpcMinThreads()`
`static int` `getRpcPort()`
`static java.lang.Integer` `getRpcRecvBufferSize()`
`static java.lang.Integer` `getRpcSendBufferSize()`
`static java.lang.String` `getRpcServerType()`
`static long` `getRpcTimeout()`
`static java.lang.String` `getSavedCachesLocation()`
`static java.util.Set<java.net.InetAddress>` `getSeeds()`
`static java.io.File` `getSerializedCachePath(CacheService.CacheType cacheType, java.lang.String version, java.lang.String extension)`
`static EncryptionOptions.ServerEncryptionOptions` `getServerEncryptionOptions()`
`static int` `getSSLStoragePort()`
`static SSTableFormat.Type` `getSSTableFormat()`
`static int` `getSSTablePreempiveOpenIntervalInMB()`
`static int` `getStoragePort()`
`static int` `getStreamingSocketTimeout()`
`static int` `getStreamThroughputOutboundMegabitsPerSec()`
`static int` `getThriftFramedTransportSize()`
`static long` `getTimeout(MessagingService.Verb verb)`
`static int` `getTombstoneFailureThreshold()`
`static int` `getTombstoneWarnThreshold()`
`static long` `getTotalCommitlogSpaceInMB()`
`static int` `getTracetypeQueryTTL()`
`static int` `getTracetypeRepairTTL()`
`static boolean` `getTrickleFsync()`
`static int` `getTrickleFsyncIntervalInKb()`
`static long` `getTruncateRpcTimeout()`
`static int` `getUnloggedBatchAcrossPartitionsWarnThreshold()`
`static int` `getWindowsTimerInterval()`
`static long` `getWriteRpcTimeout()`
`static boolean` `hasCrossNodeTimeout()`
`static boolean` `hasLargeAddressSpace()`
`static boolean` `hintedHandoffEnabled()`
`static boolean` `hintedHandoffEnabled(java.lang.String dcName)`
`static java.util.Set<java.lang.String>` `hintedHandoffEnabledByDC()`
`static Config.InternodeCompression` `internodeCompression()`
`static boolean` `isAutoBootstrap()`
`static boolean` `isAutoSnapshot()`
`static boolean` `isDaemonInitialized()`
`static boolean` `isIncrementalBackupsEnabled()`
`static boolean` `isReplacing()`
`static boolean` `isSnapshotBeforeCompaction()`
`static Config` `loadConfig()`
`static void` `setAutoSnapshot(boolean autoSnapshot)`
`static void` `setBatchSizeFailThresholdInKB(int threshold)`
`static void` `setBatchSizeWarnThresholdInKB(int threshold)`
`static void` `setBroadcastAddress(java.net.InetAddress broadcastAdd)`
`static void` `setBroadcastRpcAddress(java.net.InetAddress broadcastRPCAddr)`
`static void` `setCasContentionTimeout(java.lang.Long timeOutInMillis)`
`static void` `setCommitFailurePolicy(Config.CommitFailurePolicy policy)`
`static void` `setCommitLogCompression(ParameterizedClass compressor)`
`static void` `setCommitLogSegmentSize(int sizeMegabytes)`
`static void` `setCommitLogSync(Config.CommitLogSync sync)`
`static void` `setCommitLogSyncBatchWindow(double windowMillis)`
`static void` `setCommitLogSyncPeriod(int periodMillis)`
`static void` `setCompactionThroughputMbPerSec(int value)`
`static void` `setCounterCacheKeysToSave(int counterCacheKeysToSave)`
`static void` `setCounterCacheSavePeriod(int counterCacheSavePeriod)`
`static void` `setCounterWriteRpcTimeout(java.lang.Long timeOutInMillis)`
`static void` `setDaemonInitialized()`
`static void` `setDiskAccessMode(Config.DiskAccessMode mode)`
`static void` `setDiskFailurePolicy(Config.DiskFailurePolicy policy)`
`static void` `setDynamicBadnessThreshold(java.lang.Double dynamicBadnessThreshold)`
`static void` `setDynamicResetInterval(java.lang.Integer dynamicResetInterval)`
`static void` `setDynamicUpdateInterval(java.lang.Integer dynamicUpdateInterval)`
`static void` `setEndpointSnitch(IEndpointSnitch eps)`
`static void` `setHintedHandoffEnabled(boolean hintedHandoffEnabled)`
`static void` `setHintedHandoffEnabled(java.lang.String dcNames)`
`static void` `setHintedHandoffThrottleInKB(java.lang.Integer throttleInKB)`
`static void` `setIncrementalBackupsEnabled(boolean value)`
`static void` `setIndexAccessMode(Config.DiskAccessMode mode)`
`static void` `setInterDCStreamThroughputOutboundMegabitsPerSec(int value)`
`static void` `setKeyCacheKeysToSave(int keyCacheKeysToSave)`
`static void` `setKeyCacheSavePeriod(int keyCacheSavePeriod)`
`static void` `setMaxHintWindow(int ms)`
`static void` `setNativeTransportMaxConcurrentConnections(long nativeTransportMaxConcurrentConnections)`
`static void` `setNativeTransportMaxConcurrentConnectionsPerIp(long native_transport_max_concurrent_connections_per_ip)`
`static void` `setOtcCoalescingEnoughCoalescedMessages(int otc_coalescing_enough_coalesced_messages)`
`static void` `setPartitioner(IPartitioner newPartitioner)`
`static void` `setPermissionsUpdateInterval(int updateInterval)`
`static void` `setPermissionsValidity(int timeout)`
`static void` `setPhiConvictThreshold(double phiConvictThreshold)`
`static void` `setRangeRpcTimeout(java.lang.Long timeOutInMillis)`
`static void` `setReadRpcTimeout(java.lang.Long timeOutInMillis)`
`static void` `setRolesUpdateInterval(int interval)`
`static void` `setRolesValidity(int validity)`
`static void` `setRowCacheKeysToSave(int rowCacheKeysToSave)`
`static void` `setRowCacheSavePeriod(int rowCacheSavePeriod)`
`static void` `setRowCacheSizeInMB(long val)`
`static void` `setRpcTimeout(java.lang.Long timeOutInMillis)`
`static void` `setSSTablePreempiveOpenIntervalInMB(int mb)`
`static void` `setStreamThroughputOutboundMegabitsPerSec(int value)`
`static void` `setTombstoneFailureThreshold(int threshold)`
`static void` `setTombstoneWarnThreshold(int threshold)`
`static void` `setTruncateRpcTimeout(java.lang.Long timeOutInMillis)`
`static void` `setWriteRpcTimeout(java.lang.Long timeOutInMillis)`
`static boolean` `shouldHintByDC()`
`static java.lang.Boolean` `shouldListenOnBroadcastAddress()`
`static boolean` `startNativeTransport()`
`static boolean` `startRpc()`
`static java.util.Collection<java.lang.String>` `tokensFromString(java.lang.String tokenString)`

### Methods inherited from class java.lang.Object

`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

### Constructor Detail

#### DatabaseDescriptor

    public DatabaseDescriptor()

### Method Detail

#### isDaemonInitialized

    public static boolean isDaemonInitialized()

#### setDaemonInitialized

    public static void setDaemonInitialized()

#### forceStaticInitialization

    public static void forceStaticInitialization()

#### loadConfig

    public static Config loadConfig()
                             throws ConfigurationException

Throws:
  `ConfigurationException`

#### applyAddressConfig

    public static void applyAddressConfig(Config config)
                                   throws ConfigurationException

Throws:
  `ConfigurationException`

#### applyConfig

    public static void applyConfig(Config config)
                            throws ConfigurationException

Throws:
  `ConfigurationException`

#### getAuthenticator

    public static IAuthenticator getAuthenticator()

#### getAuthorizer

    public static IAuthorizer getAuthorizer()

#### getRoleManager

    public static IRoleManager getRoleManager()

#### getPermissionsValidity

    public static int getPermissionsValidity()

#### setPermissionsValidity

    public static void setPermissionsValidity(int timeout)

#### getPermissionsCacheMaxEntries

    public static int getPermissionsCacheMaxEntries()

#### getPermissionsUpdateInterval

    public static int getPermissionsUpdateInterval()

#### getRolesValidity

    public static int getRolesValidity()

#### setRolesValidity

    public static void setRolesValidity(int validity)

#### getRolesCacheMaxEntries

    public static int getRolesCacheMaxEntries()

#### getRolesUpdateInterval

    public static int getRolesUpdateInterval()

#### setRolesUpdateInterval

    public static void setRolesUpdateInterval(int interval)

#### setPermissionsUpdateInterval

    public static void setPermissionsUpdateInterval(int updateInterval)

#### getThriftFramedTransportSize

    public static int getThriftFramedTransportSize()

#### createAllDirectories

    public static void createAllDirectories()

Creates all storage-related directories.

#### getPartitioner

    public static IPartitioner getPartitioner()

#### getPartitionerName

    public static java.lang.String getPartitionerName()

#### setPartitioner

    public static void setPartitioner(IPartitioner newPartitioner)

#### getEndpointSnitch

    public static IEndpointSnitch getEndpointSnitch()

#### setEndpointSnitch

    public static void setEndpointSnitch(IEndpointSnitch eps)

#### getRequestScheduler

    public static IRequestScheduler getRequestScheduler()

#### getRequestSchedulerOptions

    public static RequestSchedulerOptions getRequestSchedulerOptions()

#### getRequestSchedulerId

    public static Config.RequestSchedulerId getRequestSchedulerId()

#### getColumnIndexSize

    public static int getColumnIndexSize()

#### getBatchSizeWarnThreshold

    public static int getBatchSizeWarnThreshold()

#### getBatchSizeFailThreshold

    public static long getBatchSizeFailThreshold()

#### getBatchSizeFailThresholdInKB

    public static int getBatchSizeFailThresholdInKB()

#### getUnloggedBatchAcrossPartitionsWarnThreshold

    public static int getUnloggedBatchAcrossPartitionsWarnThreshold()

#### setBatchSizeWarnThresholdInKB

    public static void setBatchSizeWarnThresholdInKB(int threshold)

#### setBatchSizeFailThresholdInKB

    public static void setBatchSizeFailThresholdInKB(int threshold)

#### getInitialTokens

    public static java.util.Collection<java.lang.String> getInitialTokens()

#### tokensFromString

    public static java.util.Collection<java.lang.String> tokensFromString(java.lang.String tokenString)

#### getNumTokens

    public static java.lang.Integer getNumTokens()

#### getReplaceAddress

    public static java.net.InetAddress getReplaceAddress()

#### getReplaceTokens

    public static java.util.Collection<java.lang.String> getReplaceTokens()

#### getReplaceNode

    public static java.util.UUID getReplaceNode()

#### isReplacing

    public static boolean isReplacing()

#### getClusterName

    public static java.lang.String getClusterName()

#### getStoragePort

    public static int getStoragePort()

#### getSSLStoragePort

    public static int getSSLStoragePort()

#### getRpcPort

    public static int getRpcPort()

#### getRpcListenBacklog

    public static int getRpcListenBacklog()

#### getRpcTimeout

    public static long getRpcTimeout()

#### setRpcTimeout

    public static void setRpcTimeout(java.lang.Long timeOutInMillis)

#### getReadRpcTimeout

    public static long getReadRpcTimeout()

#### setReadRpcTimeout

    public static void setReadRpcTimeout(java.lang.Long timeOutInMillis)

#### getRangeRpcTimeout

    public static long getRangeRpcTimeout()

#### setRangeRpcTimeout

    public static void setRangeRpcTimeout(java.lang.Long timeOutInMillis)

#### getWriteRpcTimeout

    public static long getWriteRpcTimeout()

#### setWriteRpcTimeout

    public static void setWriteRpcTimeout(java.lang.Long timeOutInMillis)

#### getCounterWriteRpcTimeout

    public static long getCounterWriteRpcTimeout()

#### setCounterWriteRpcTimeout

    public static void setCounterWriteRpcTimeout(java.lang.Long timeOutInMillis)

#### getCasContentionTimeout

    public static long getCasContentionTimeout()

#### setCasContentionTimeout

    public static void setCasContentionTimeout(java.lang.Long timeOutInMillis)

#### getTruncateRpcTimeout

    public static long getTruncateRpcTimeout()

#### setTruncateRpcTimeout

    public static void setTruncateRpcTimeout(java.lang.Long timeOutInMillis)

#### hasCrossNodeTimeout

    public static boolean hasCrossNodeTimeout()

#### getTimeout

    public static long getTimeout(MessagingService.Verb verb)

#### getMinRpcTimeout

    public static long getMinRpcTimeout()

Returns:
  the minimum configured {read, write, range, truncate, misc} timeout

#### getPhiConvictThreshold

    public static double getPhiConvictThreshold()

#### setPhiConvictThreshold

    public static void setPhiConvictThreshold(double phiConvictThreshold)

#### getConcurrentReaders

    public static int getConcurrentReaders()

#### getConcurrentWriters

    public static int getConcurrentWriters()

#### getConcurrentCounterWriters

    public static int getConcurrentCounterWriters()

#### getFlushWriters

    public static int getFlushWriters()

#### getConcurrentCompactors

    public static int getConcurrentCompactors()

#### getCompactionThroughputMbPerSec

    public static int getCompactionThroughputMbPerSec()

#### setCompactionThroughputMbPerSec

    public static void setCompactionThroughputMbPerSec(int value)

#### getCompactionLargePartitionWarningThreshold

    public static int getCompactionLargePartitionWarningThreshold()

#### getDisableSTCSInL0

    public static boolean getDisableSTCSInL0()

#### getStreamThroughputOutboundMegabitsPerSec

    public static int getStreamThroughputOutboundMegabitsPerSec()

#### setStreamThroughputOutboundMegabitsPerSec

    public static void setStreamThroughputOutboundMegabitsPerSec(int value)

#### getInterDCStreamThroughputOutboundMegabitsPerSec

    public static int getInterDCStreamThroughputOutboundMegabitsPerSec()

#### setInterDCStreamThroughputOutboundMegabitsPerSec

    public static void setInterDCStreamThroughputOutboundMegabitsPerSec(int value)

#### getAllDataFileLocations

    public static java.lang.String[] getAllDataFileLocations()

#### getCommitLogLocation

    public static java.lang.String getCommitLogLocation()

#### getCommitLogCompression

    public static ParameterizedClass getCommitLogCompression()

#### setCommitLogCompression

    public static void setCommitLogCompression(ParameterizedClass compressor)

#### getCommitLogMaxCompressionBuffersInPool

    public static int getCommitLogMaxCompressionBuffersInPool()

#### getTombstoneWarnThreshold

    public static int getTombstoneWarnThreshold()

#### setTombstoneWarnThreshold

    public static void setTombstoneWarnThreshold(int threshold)

#### getTombstoneFailureThreshold

    public static int getTombstoneFailureThreshold()

#### setTombstoneFailureThreshold

    public static void setTombstoneFailureThreshold(int threshold)

#### getCommitLogSegmentSize

    public static int getCommitLogSegmentSize()

size of commitlog segments to allocate

#### setCommitLogSegmentSize

    public static void setCommitLogSegmentSize(int sizeMegabytes)

#### getSavedCachesLocation

    public static java.lang.String getSavedCachesLocation()

#### getSeeds

    public static java.util.Set<java.net.InetAddress> getSeeds()

#### getListenAddress

    public static java.net.InetAddress getListenAddress()

#### getBroadcastAddress

    public static java.net.InetAddress getBroadcastAddress()

#### shouldListenOnBroadcastAddress

    public static java.lang.Boolean shouldListenOnBroadcastAddress()

#### getInternodeAuthenticator

    public static IInternodeAuthenticator getInternodeAuthenticator()

#### setBroadcastAddress

    public static void setBroadcastAddress(java.net.InetAddress broadcastAdd)

#### startRpc

    public static boolean startRpc()

#### getRpcAddress

    public static java.net.InetAddress getRpcAddress()

#### setBroadcastRpcAddress

    public static void setBroadcastRpcAddress(java.net.InetAddress broadcastRPCAddr)

#### getBroadcastRpcAddress

    public static java.net.InetAddress getBroadcastRpcAddress()

May be null, please use `FBUtilities.getBroadcastRpcAddress()` instead.

#### getRpcServerType

    public static java.lang.String getRpcServerType()

#### getRpcKeepAlive

    public static boolean getRpcKeepAlive()

#### getRpcMinThreads

    public static java.lang.Integer getRpcMinThreads()

#### getRpcMaxThreads

    public static java.lang.Integer getRpcMaxThreads()

#### getRpcSendBufferSize

    public static java.lang.Integer getRpcSendBufferSize()

#### getRpcRecvBufferSize

    public static java.lang.Integer getRpcRecvBufferSize()

#### getInternodeSendBufferSize

    public static java.lang.Integer getInternodeSendBufferSize()

#### getInternodeRecvBufferSize

    public static java.lang.Integer getInternodeRecvBufferSize()

#### startNativeTransport

    public static boolean startNativeTransport()

#### getNativeTransportPort

    public static int getNativeTransportPort()

#### getNativeTransportMaxThreads

    public static java.lang.Integer getNativeTransportMaxThreads()

#### getNativeTransportMaxFrameSize

    public static int getNativeTransportMaxFrameSize()

#### getNativeTransportMaxConcurrentConnections

    public static java.lang.Long getNativeTransportMaxConcurrentConnections()

#### setNativeTransportMaxConcurrentConnections

    public static void setNativeTransportMaxConcurrentConnections(long nativeTransportMaxConcurrentConnections)

#### getNativeTransportMaxConcurrentConnectionsPerIp

    public static java.lang.Long getNativeTransportMaxConcurrentConnectionsPerIp()

#### setNativeTransportMaxConcurrentConnectionsPerIp

    public static void setNativeTransportMaxConcurrentConnectionsPerIp(long native_transport_max_concurrent_connections_per_ip)

#### getCommitLogSyncBatchWindow

    public static double getCommitLogSyncBatchWindow()

#### setCommitLogSyncBatchWindow

    public static void setCommitLogSyncBatchWindow(double windowMillis)

#### getCommitLogSyncPeriod

    public static int getCommitLogSyncPeriod()

#### setCommitLogSyncPeriod

    public static void setCommitLogSyncPeriod(int periodMillis)

#### getCommitLogSync

    public static Config.CommitLogSync getCommitLogSync()

#### setCommitLogSync

    public static void setCommitLogSync(Config.CommitLogSync sync)

#### getDiskAccessMode

    public static Config.DiskAccessMode getDiskAccessMode()

#### setDiskAccessMode

    public static void setDiskAccessMode(Config.DiskAccessMode mode)

#### getIndexAccessMode

    public static Config.DiskAccessMode getIndexAccessMode()

#### setIndexAccessMode

    public static void setIndexAccessMode(Config.DiskAccessMode mode)

#### setDiskFailurePolicy

    public static void setDiskFailurePolicy(Config.DiskFailurePolicy policy)

#### getDiskFailurePolicy

    public static Config.DiskFailurePolicy getDiskFailurePolicy()

#### setCommitFailurePolicy

    public static void setCommitFailurePolicy(Config.CommitFailurePolicy policy)

#### getCommitFailurePolicy

    public static Config.CommitFailurePolicy getCommitFailurePolicy()

#### isSnapshotBeforeCompaction

    public static boolean isSnapshotBeforeCompaction()

#### isAutoSnapshot

    public static boolean isAutoSnapshot()

#### setAutoSnapshot

    public static void setAutoSnapshot(boolean autoSnapshot)

#### isAutoBootstrap

    public static boolean isAutoBootstrap()

#### setHintedHandoffEnabled

    public static void setHintedHandoffEnabled(boolean hintedHandoffEnabled)

#### setHintedHandoffEnabled

    public static void setHintedHandoffEnabled(java.lang.String dcNames)

#### hintedHandoffEnabled

    public static boolean hintedHandoffEnabled()

#### hintedHandoffEnabledByDC

    public static java.util.Set<java.lang.String> hintedHandoffEnabledByDC()

#### shouldHintByDC

    public static boolean shouldHintByDC()

#### hintedHandoffEnabled

    public static boolean hintedHandoffEnabled(java.lang.String dcName)

#### setMaxHintWindow

    public static void setMaxHintWindow(int ms)

#### getMaxHintWindow

    public static int getMaxHintWindow()

#### getSerializedCachePath

    public static java.io.File getSerializedCachePath(CacheService.CacheType cacheType,
                                                      java.lang.String version,
                                                      java.lang.String extension)

#### getDynamicUpdateInterval

    public static int getDynamicUpdateInterval()

#### setDynamicUpdateInterval

    public static void setDynamicUpdateInterval(java.lang.Integer dynamicUpdateInterval)

#### getDynamicResetInterval

    public static int getDynamicResetInterval()

#### setDynamicResetInterval

    public static void setDynamicResetInterval(java.lang.Integer dynamicResetInterval)

#### getDynamicBadnessThreshold

    public static double getDynamicBadnessThreshold()

#### setDynamicBadnessThreshold

    public static void setDynamicBadnessThreshold(java.lang.Double dynamicBadnessThreshold)

#### getServerEncryptionOptions

    public static EncryptionOptions.ServerEncryptionOptions getServerEncryptionOptions()

#### getClientEncryptionOptions

    public static EncryptionOptions.ClientEncryptionOptions getClientEncryptionOptions()

#### getHintedHandoffThrottleInKB

    public static int getHintedHandoffThrottleInKB()

#### getBatchlogReplayThrottleInKB

    public static int getBatchlogReplayThrottleInKB()

#### setHintedHandoffThrottleInKB

    public static void setHintedHandoffThrottleInKB(java.lang.Integer throttleInKB)

#### getMaxHintsThread

    public static int getMaxHintsThread()

#### isIncrementalBackupsEnabled

    public static boolean isIncrementalBackupsEnabled()

#### setIncrementalBackupsEnabled

    public static void setIncrementalBackupsEnabled(boolean value)

#### getFileCacheSizeInMB

    public static int getFileCacheSizeInMB()

#### getTotalCommitlogSpaceInMB

    public static long getTotalCommitlogSpaceInMB()

#### getSSTablePreempiveOpenIntervalInMB

    public static int getSSTablePreempiveOpenIntervalInMB()

#### setSSTablePreempiveOpenIntervalInMB

    public static void setSSTablePreempiveOpenIntervalInMB(int mb)

#### getTrickleFsync

    public static boolean getTrickleFsync()

#### getTrickleFsyncIntervalInKb

    public static int getTrickleFsyncIntervalInKb()

#### getKeyCacheSizeInMB

    public static long getKeyCacheSizeInMB()

#### getIndexSummaryCapacityInMB

    public static long getIndexSummaryCapacityInMB()

#### getKeyCacheSavePeriod

    public static int getKeyCacheSavePeriod()

#### setKeyCacheSavePeriod

    public static void setKeyCacheSavePeriod(int keyCacheSavePeriod)

#### getKeyCacheKeysToSave

    public static int getKeyCacheKeysToSave()

#### setKeyCacheKeysToSave

    public static void setKeyCacheKeysToSave(int keyCacheKeysToSave)

#### getRowCacheClassName

    public static java.lang.String getRowCacheClassName()

#### getRowCacheSizeInMB

    public static long getRowCacheSizeInMB()

#### setRowCacheSizeInMB

    public static void setRowCacheSizeInMB(long val)

#### getRowCacheSavePeriod

    public static int getRowCacheSavePeriod()

#### setRowCacheSavePeriod

    public static void setRowCacheSavePeriod(int rowCacheSavePeriod)

#### getRowCacheKeysToSave

    public static int getRowCacheKeysToSave()

#### getCounterCacheSizeInMB

    public static long getCounterCacheSizeInMB()

#### setRowCacheKeysToSave

    public static void setRowCacheKeysToSave(int rowCacheKeysToSave)

#### getCounterCacheSavePeriod

    public static int getCounterCacheSavePeriod()

#### setCounterCacheSavePeriod

    public static void setCounterCacheSavePeriod(int counterCacheSavePeriod)

#### getCounterCacheKeysToSave

    public static int getCounterCacheKeysToSave()

#### setCounterCacheKeysToSave

    public static void setCounterCacheKeysToSave(int counterCacheKeysToSave)

#### getStreamingSocketTimeout

    public static int getStreamingSocketTimeout()

#### getLocalDataCenter

    public static java.lang.String getLocalDataCenter()

#### getLocalComparator

    public static java.util.Comparator<java.net.InetAddress> getLocalComparator()

#### internodeCompression

    public static Config.InternodeCompression internodeCompression()

#### getInterDCTcpNoDelay

    public static boolean getInterDCTcpNoDelay()

#### getSSTableFormat

    public static SSTableFormat.Type getSSTableFormat()

#### getMemtableAllocatorPool

    public static MemtablePool getMemtableAllocatorPool()

#### getOutboundBindAny

    public static boolean getOutboundBindAny()

#### getIndexSummaryResizeIntervalInMinutes

    public static int getIndexSummaryResizeIntervalInMinutes()

#### hasLargeAddressSpace

    public static boolean hasLargeAddressSpace()

#### getTracetypeRepairTTL

    public static int getTracetypeRepairTTL()

#### getTracetypeQueryTTL

    public static int getTracetypeQueryTTL()

#### getOtcCoalescingStrategy

    public static java.lang.String getOtcCoalescingStrategy()

#### getOtcCoalescingWindow

    public static int getOtcCoalescingWindow()

#### getOtcCoalescingEnoughCoalescedMessages

    public static int getOtcCoalescingEnoughCoalescedMessages()

#### setOtcCoalescingEnoughCoalescedMessages

    public static void setOtcCoalescingEnoughCoalescedMessages(int otc_coalescing_enough_coalesced_messages)

#### enableUserDefinedFunctions

    public static boolean enableUserDefinedFunctions()

#### getWindowsTimerInterval

    public static int getWindowsTimerInterval()

#### getGCLogThreshold

    public static long getGCLogThreshold()

#### getGCWarnThreshold

    public static long getGCWarnThreshold()