|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectvoldemort.server.VoldemortConfig
public class VoldemortConfig
Configuration parameters for the voldemort server.
Field Summary | |
---|---|
static int |
DEFAULT_BUFFER_SIZE
|
static java.lang.String |
DEFAULT_KERBEROS_PRINCIPAL
|
static java.lang.String |
DEFAULT_KEYTAB_PATH
|
static long |
REPORTING_INTERVAL_BYTES
|
static java.lang.String |
VOLDEMORT_CONFIG_DIR
|
static int |
VOLDEMORT_DEFAULT_ADMIN_PORT
|
static java.lang.String |
VOLDEMORT_HOME_VAR_NAME
|
Constructor Summary | |
---|---|
VoldemortConfig(int nodeId,
java.lang.String voldemortHome)
|
|
VoldemortConfig(java.util.Properties props)
|
|
VoldemortConfig(Props props)
|
Method Summary | |
---|---|
boolean |
canInterruptService()
|
int |
getAdminConnectionTimeout()
|
int |
getAdminCoreThreads()
|
int |
getAdminMaxThreads()
|
int |
getAdminSocketBufferSize()
|
int |
getAdminSocketTimeout()
|
Props |
getAllProps()
|
boolean |
getAutoPurgeDeadSlops()
|
int |
getBdbBinDelta()
|
int |
getBdbBtreeFanout()
|
boolean |
getBdbCacheModeEvictLN()
|
long |
getBdbCacheSize()
|
long |
getBdbCheckpointBytes()
|
boolean |
getBdbCheckpointerHighPriority()
|
boolean |
getBdbCheckpointerOffForBatchWrites()
|
long |
getBdbCheckpointMs()
|
boolean |
getBdbCleanerAdjustUtilization()
|
long |
getBdbCleanerBytesInterval()
|
boolean |
getBdbCleanerFetchObsoleteSize()
|
boolean |
getBdbCleanerLazyMigration()
|
int |
getBdbCleanerLookAheadCacheSize()
|
int |
getBdbCleanerMaxBatchFiles()
|
int |
getBdbCleanerMinFileUtilization()
|
int |
getBdbCleanerMinUtilization()
|
int |
getBdbCleanerThreads()
|
java.lang.String |
getBdbDataDirectory()
|
boolean |
getBdbExposeSpaceUtilization()
|
boolean |
getBdbFairLatches()
|
int |
getBdbLockNLockTables()
|
long |
getBdbLockTimeoutMs()
|
int |
getBdbLogFaultReadSize()
|
int |
getBdbLogIteratorReadSize()
|
int |
getBdbMaxDelta()
|
long |
getBdbMaxLogFileSize()
|
boolean |
getBdbMinimizeScanImpact()
|
long |
getBdbMinimumSharedCache()
|
boolean |
getBdbPrefixKeysWithPartitionId()
|
java.lang.String |
getBdbRawPropertyString()
|
boolean |
getBdbReadUncommitted()
|
boolean |
getBdbRecoveryForceCheckpoint()
|
long |
getBdbStatsCacheTtlMs()
|
int |
getClientConnectionTimeoutMs()
|
int |
getClientMaxConnectionsPerNode()
|
int |
getClientMaxQueuedRequests()
|
int |
getClientMaxThreads()
|
int |
getClientNodeBannageMs()
Deprecated. Use getFailureDetectorBannagePeriod() instead |
int |
getClientRoutingTimeoutMs()
|
int |
getClientSelectors()
|
int |
getClientThreadIdleMs()
|
int |
getCoreThreads()
|
java.lang.String |
getDataDirectory()
|
long |
getFailureDetectorAsyncRecoveryInterval()
|
long |
getFailureDetectorBannagePeriod()
|
java.util.List<java.lang.String> |
getFailureDetectorCatastrophicErrorTypes()
|
java.lang.String |
getFailureDetectorImplementation()
|
long |
getFailureDetectorRequestLengthThreshold()
|
int |
getFailureDetectorThreshold()
|
int |
getFailureDetectorThresholdCountMinimum()
|
long |
getFailureDetectorThresholdInterval()
|
int |
getFetcherBufferSize()
|
java.lang.String |
getFileFetcherClass()
|
int |
getGossipInterval()
|
java.lang.String |
getHadoopConfigPath()
|
int |
getMaxHttpAggregatedContentLength()
|
int |
getMaxParallelStoresRebalancing()
|
int |
getMaxProxyPutThreads()
|
int |
getMaxThreads()
|
java.lang.String |
getMetadataDirectory()
|
boolean |
getMultiVersionStreamingPutsEnabled()
|
java.lang.String |
getMysqlDatabaseName()
|
java.lang.String |
getMysqlHost()
|
java.lang.String |
getMysqlPassword()
|
int |
getMysqlPort()
|
java.lang.String |
getMysqlUsername()
|
int |
getNioAcceptorBacklog()
|
int |
getNioAdminConnectorSelectors()
|
int |
getNioConnectorSelectors()
|
int |
getNodeId()
|
int |
getNumReadOnlyVersions()
|
int |
getNumRestServiceNettyBossThreads()
|
int |
getNumRestServiceNettyWorkerThreads()
|
int |
getNumRestServiceStorageThreads()
|
int |
getNumScanPermits()
|
int |
getPruneJobMaxKeysScannedPerSec()
|
java.lang.String |
getPusherType()
|
java.lang.String |
getReadOnlyDataStorageDirectory()
|
int |
getReadOnlyDeleteBackupMs()
|
long |
getReadOnlyFetcherMaxBytesPerSecond()
|
long |
getReadOnlyFetcherMinBytesPerSecond()
|
long |
getReadOnlyFetcherReportingIntervalBytes()
|
int |
getReadOnlyFetchRetryCount()
|
long |
getReadOnlyFetchRetryDelayMs()
|
java.lang.String |
getReadOnlyKerberosKdc()
|
java.lang.String |
getReadOnlyKerberosRealm()
|
java.lang.String |
getReadOnlyKerberosUser()
|
java.lang.String |
getReadOnlyKeytabPath()
|
java.lang.String |
getReadOnlySearchStrategy()
|
long |
getRebalancingTimeoutSec()
|
int |
getRepairJobMaxKeysScannedPerSec()
|
RequestFormatType |
getRequestFormatType()
|
int |
getRestServiceNettyServerBacklog()
|
int |
getRestServiceStorageThreadPoolQueueSize()
|
int |
getRetentionCleanupFirstStartDayOfWeek()
|
int |
getRetentionCleanupFirstStartTimeInHour()
|
boolean |
getRetentionCleanupPinStartTime()
|
int |
getRetentionCleanupScheduledPeriodInHour()
|
int |
getSchedulerThreads()
|
int |
getSlopBatchSize()
|
long |
getSlopFrequencyMs()
|
long |
getSlopMaxReadBytesPerSec()
|
long |
getSlopMaxWriteBytesPerSec()
|
int |
getSlopPurgeJobMaxKeysScannedPerSec()
|
java.lang.String |
getSlopStoreType()
|
int |
getSlopZonesDownToTerminate()
|
int |
getSocketBufferSize()
|
boolean |
getSocketKeepAlive()
|
int |
getSocketTimeoutMs()
|
java.util.List<java.lang.String> |
getStorageConfigurations()
|
long |
getStreamMaxReadBytesPerSec()
|
long |
getStreamMaxWriteBytesPerSec()
|
TimeoutConfig |
getTimeoutConfig()
ClientConfig.setTimeoutConfig(TimeoutConfig) |
boolean |
getUseNioConnector()
|
java.lang.String |
getVoldemortHome()
|
boolean |
isAdminServerEnabled()
|
boolean |
isBdbFlushTransactionsEnabled()
|
boolean |
isBdbLevelBasedEviction()
|
boolean |
isBdbOneEnvPerStore()
|
boolean |
isBdbWriteTransactionsEnabled()
|
boolean |
isDeleteExpiredValuesOnRead()
|
boolean |
isEnableJmxClusterName()
|
boolean |
isEnableQuotaLimiting()
|
boolean |
isEnableRebalanceService()
|
boolean |
isEnforceRetentionPolicyOnRead()
|
boolean |
isGossipEnabled()
|
boolean |
isHttpServerEnabled()
|
boolean |
isJmxEnabled()
|
boolean |
isMetadataCheckingEnabled()
|
boolean |
isNetworkClassLoaderEnabled()
|
boolean |
isPruneJobEnabled()
|
boolean |
isRepairEnabled()
|
boolean |
isRestHdfsEnabled()
|
boolean |
isRestServiceEnabled()
|
boolean |
isServerRoutingEnabled()
|
boolean |
isSlopEnabled()
|
boolean |
isSlopPurgeJobEnabled()
|
boolean |
isSlopPusherJobEnabled()
|
boolean |
isSocketServerEnabled()
Determines whether the socket server will be enabled for BIO/NIO request handling Property :"socket.enable" Default :true |
boolean |
isStatTrackingEnabled()
|
boolean |
isUseMlock()
|
boolean |
isVerboseLoggingEnabled()
|
static VoldemortConfig |
loadFromEnvironmentVariable()
|
static VoldemortConfig |
loadFromVoldemortHome(java.lang.String voldemortHome)
|
static VoldemortConfig |
loadFromVoldemortHome(java.lang.String voldemortHome,
java.lang.String voldemortConfigDir)
|
void |
setAdminConnectionTimeout(int adminConnectionTimeout)
( ClientConfig.setConnectionTimeout(int, java.util.concurrent.TimeUnit)
to use in AdminService
Property :"admin.client.connection.timeout.sec"
Default :60
|
void |
setAdminCoreThreads(int coreThreads)
Number of threads that the admin service thread pool will attempt to keep around. |
void |
setAdminMaxThreads(int maxThreads)
Maximum number of threads in the admin service thread pool. |
void |
setAdminServerEnabled(boolean enableAdminServer)
Determine whether the admin service has been enabled to perform maintenance operations on the server Property : "admin.enable" Default : true |
void |
setAdminSocketBufferSize(int socketBufferSize)
ClientConfig.setSocketBufferSize(int) to use for network
operations during admin operations
Property :"admin.streams.buffer.size"
Default :10MB
|
void |
setAdminSocketTimeout(int adminSocketTimeout)
ClientConfig.setSocketTimeout(int, java.util.concurrent.TimeUnit)
to use in AdminService
Property :"admin.client.socket.timeout.sec"
Default :24 * 60 * 60
|
void |
setAutoPurgeDeadSlops(boolean autoPurgeDeadSlops)
if true, dead slops accumulated for nodes/stores that are no longer part of the cluster, will be automatically deleted by the slop pusher, when it runs. |
void |
setBdbBinDelta(int binDelta)
Exposes BDB JE EnvironmentConfig.TREE_BIN_DELTA. |
void |
setBdbBtreeFanout(int bdbBtreeFanout)
The btree node fanout. |
void |
setBdbCacheModeEvictLN(boolean bdbCacheModeEvictLN)
If true, BDB will not cache data in the JVM. |
void |
setBdbCacheSize(int bdbCacheSize)
The size of BDB Cache to hold portions of the BTree. |
void |
setBdbCheckpointBytes(long bdbCheckpointBytes)
Checkpointer is woken up and a checkpoint is written once this many bytes have been logged Property : "bdb.checkpoint.interval.bytes" Default : 200MB |
void |
setBdbCheckpointerHighPriority(boolean bdbCheckpointerHighPriority)
If true, the checkpointer uses more resources in order to complete the checkpoint in a shorter time interval. |
void |
setBdbCheckpointerOffForBatchWrites(boolean bdbCheckpointerOffForBulkWrites)
BDB JE Checkpointer will be turned off during batch writes. |
void |
setBdbCheckpointMs(long bdbCheckpointMs)
BDB JE Checkpointer wakes up whenever this time period elapses Property : "bdb.checkpoint.interval.ms" Default : 30s or 30000 ms |
void |
setBdbCleanerAdjustUtilization(boolean bdbCleanerAdjustUtilization)
If true, Cleaner does not perform any predictive adjustment of the internally computed utilization values property: "bdb.cleaner.adjust.utilization" default : false |
void |
setBdbCleanerFetchObsoleteSize(boolean bdbCleanerFetchObsoleteSize)
If true, Cleaner also fetches the old value to determine the size during an update/delete to compute file utilization. |
void |
setBdbCleanerLazyMigration(boolean bdbCleanerLazyMigration)
If true, Cleaner offloads some work to application threads, to keep up with the write rate. |
void |
setBdbCleanerLookAheadCacheSize(int bdbCleanerLookAheadCacheSize)
Buffer size used by cleaner to fetch BTree nodes during cleaning. |
void |
setBdbCleanerMaxBatchFiles(int bdbCleanerMaxBatchFiles)
The maximum number of log files in the cleaner's backlog, or zero if there is no limit property: "bdb.cleaner.max.batch.files" default: 0 minimum: 0 maximum: 100000 |
void |
setBdbCleanerMinFileUtilization(int minFileUtilization)
A log file will be cleaned if its utilization percentage is below this value, irrespective of total utilization. |
void |
setBdbCleanerMinUtilization(int minUtilization)
The cleaner will keep the total disk space utilization percentage above this value. |
void |
setBdbCleanerThreads(int bdbCleanerThreads)
The number of cleaner threads property: "bdb.cleaner.threads" default: 1 minimum: 1 |
void |
setBdbDataDirectory(java.lang.String bdbDataDirectory)
The directory in which bdb data is stored. |
void |
setBdbExposeSpaceUtilization(boolean bdbExposeSpaceUtilization)
This parameter controls whether we expose space utilization via MBean. |
void |
setBdbFairLatches(boolean bdbFairLatches)
Controls whether BDB JE should use latches instead of synchronized blocks Property : "bdb.fair.latches" Default : false |
void |
setBdbFlushTransactions(boolean bdbSyncTransactions)
If true then sync transactions to disk immediately. |
void |
setBdbLevelBasedEviction(boolean bdbLevelBasedEviction)
Controls if BDB JE cache eviction happens based on LRU or by BTree level. |
void |
setBdbLockNLockTables(int bdbLockNLockTables)
The size of the lock table used by BDB JE Property : bdb.lock.nLockTables" Default : 7 |
void |
setBdbLockTimeoutMs(long bdbLockTimeoutMs)
The lock timeout for all transactional and non-transactional operations. |
void |
setBdbLogFaultReadSize(int bdbLogFaultReadSize)
Buffer for faulting in objects from disk Property : "bdb.log.fault.read.size" Default : 2048 |
void |
setBdbLogIteratorReadSize(int bdbLogIteratorReadSize)
Buffer size used by BDB JE for reading the log eg: Cleaning. |
void |
setBdbMaxDelta(int maxDelta)
Exposes BDB JE EnvironmentConfig.TREE_MAX_DELTA. |
void |
setBdbMaxLogFileSize(long bdbMaxLogFileSize)
The maximum size of a single .jdb log file in bytes. |
void |
setBdbMinimizeScanImpact(boolean bdbMinimizeScanImpact)
If true, attempts are made to minimize impact to BDB cache during scan jobs Property : "bdb.minimize.scan.impact" Default : true |
void |
setBdbMinimumSharedCache(long minimumSharedCache)
When using partitioned caches, this parameter controls the minimum amount of memory reserved for the global pool. |
void |
setBdbOneEnvPerStore(boolean bdbOneEnvPerStore)
If true, use separate BDB JE environment per store Property : "bdb.one.env.per.store" Default : false |
void |
setBdbPrefixKeysWithPartitionId(boolean bdbPrefixKeysWithPartitionId)
If true, keys will be prefixed by the partition Id on disk. |
void |
setBdbRawPropertyString(java.lang.String bdbRawPropString)
When supplied with comma separated propkey=propvalue strings, enables admin to arbitrarily set any BDB JE environment property eg: bdb.raw.property.string=je.cleaner.threads=1,je.cleaner.lazyMigration= true Since this is applied after the regular BDB parameter in this class, this has the effect of overriding previous configs if they are specified here again. |
void |
setBdbReadUncommitted(boolean bdbReadUncommitted)
If true, BDB JE get() will not be blocked by put() Property : "bdb.lock.read_uncommitted" Default : true |
void |
setBdbRecoveryForceCheckpoint(boolean bdbRecoveryForceCheckpoint)
When this parameter is set to true, the last .jdb file restored from snapshot will not be modified when opening the Environment, and a new .jdb file will be created and become the end-of-log file. |
void |
setBdbStatsCacheTtlMs(long statsCacheTtlMs)
Interval to reuse environment stats fetched from BDB. |
void |
setBdbWriteTransactions(boolean bdbWriteTransactions)
Controls persistence mode for BDB JE Transaction. |
void |
setCleanerBytesInterval(long bdbCleanerBytesInterval)
Amount of bytes written before the Cleaner wakes up to check for utilization property: "bdb.cleaner.interval.bytes" default: 30MB |
void |
setClientConnectionTimeoutMs(int connectionTimeoutMs)
ClientConfig.setConnectionTimeout(int, java.util.concurrent.TimeUnit)
Property :"client.connection.timeout.ms"
Default :500
|
void |
setClientMaxConnectionsPerNode(int maxConnectionsPerNode)
ClientConfig.setMaxConnectionsPerNode(int)
Property :"client.max.connections.per.node"
Default :50
|
void |
setClientMaxQueuedRequests(int clientMaxQueuedRequests)
ClientConfig.setMaxQueuedRequests(int)
Property :
Default :
|
void |
setClientMaxThreads(int clientMaxThreads)
ClientConfig.setMaxThreads(int)
Property :"client.max.threads"
Default :500
|
void |
setClientNodeBannageMs(int nodeBannageMs)
Deprecated. Use setFailureDetectorBannagePeriod(long) instead |
void |
setClientRoutingTimeoutMs(int routingTimeoutMs)
ClientConfig.setRoutingTimeout(int, java.util.concurrent.TimeUnit)
Property :"client.routing.timeout.ms"
Default :15000
|
void |
setClientSelectors(int clientSelectors)
ClientConfig.setSelectors(int)
Property :"client.selectors"
Default :4
|
void |
setClientThreadIdleMs(int clientThreadIdleMs)
ClientConfig.setThreadIdleTime(long, java.util.concurrent.TimeUnit)
Property :"client.thread.idle.ms"
Default :100000
|
void |
setCoreThreads(int coreThreads)
Deprecated. |
void |
setDataDirectory(java.lang.String dataDirectory)
The directory name given by "data.directory" default: voldemort.home/data Property : "data.directory" Default : VOLDEMORT_HOME/data |
void |
setDeleteExpiredValuesOnRead(boolean deleteExpiredValuesOnRead)
If enabled, in addition to filtering stale entries, the server will also delete the stale value Property :"delete.expired.values.on.read" Default :false |
void |
setEnableGossip(boolean enableGossip)
Enabled gossip between servers, in server side routing.. |
void |
setEnableHttpServer(boolean enableHttpServer)
Whether or not the HttpService is enabled
Property :"http.enable"
Default :true
|
void |
setEnableJmx(boolean enableJmx)
Is JMX monitoring enabled on the server? Property :"jmx.enable" Default : true |
void |
setEnableJmxClusterName(boolean enableJmxClusterName)
If enabled, the cluster name will be used as a part of the Mbeans created. |
void |
setEnableMetadataChecking(boolean enableMetadataChecking)
If enabled, InvalidMetadataCheckingStore will reject traffic that
does not belong to this server with a InvalidMetadataException
Property :"enable.metadata.checking"
Default :true
|
void |
setEnableNetworkClassLoader(boolean enableNetworkClassLoader)
Loads a class to be used as a VAdminProto.VoldemortFilter . |
void |
setEnablePruneJob(boolean enablePruneJob)
Whether VersionedPutPruneJob will be enabled
Property :"enable.prunejob"
Default :true
|
void |
setEnableQuotaLimit(boolean enableQuotaLimiting)
If enabled, provides the ability to enforce quotas per operation, per store on the server, via Admin tool. |
void |
setEnableRebalanceService(boolean enableRebalanceService)
If enabled, Rebalancing is enabled on the server Property :"enable.rebalancing" Default : true |
void |
setEnableRepair(boolean enableRepair)
Whether RepairJob will be enabled
Property :"enable.repair"
Default :true
|
void |
setEnableRestHdfs(boolean enableRestHdfs)
Whether or not Rest-based hdfs fetcher shall be used Property :"enable.readonly.rest.hdfs" Default :true |
void |
setEnableRestService(boolean enableRestService)
Whether or not the RestService is enabled
Property :"rest.enable"
Default :false
|
void |
setEnableServerRouting(boolean enableServerRouting)
If enabled, Routing may happen in the server,depending on store definition. |
void |
setEnableSlop(boolean enableSlop)
Whether or not slop store should be created on the server. |
void |
setEnableSlopPurgeJob(boolean enableSlopPurgeJob)
Whether will SlopPurgeJob be enabled
Property :"enable.slop.purge.job"
Default :true
|
void |
setEnableSlopPusherJob(boolean enableSlopPusherJob)
Whether or not StreamingSlopPusherJob or
BlockingSlopPusherJob should be enabled to asynchronous push
slops to failed servers
Property :"slop.pusher.enable"
Default :true
|
void |
setEnableStatTracking(boolean enableStatTracking)
If enabled, StatTrackingStore will be enabled to account
performance statistics
Property :"enable.stat.tracking"
Default :true
|
void |
setEnableVerboseLogging(boolean enableVerboseLogging)
if enabled, LoggingStore will be enable to ouput more detailed
trace debugging if needed
Property :"enable.verbose.logging"
Default :true
|
void |
setEnforceRetentionPolicyOnRead(boolean enforceRetentionPolicyOnRead)
If enabled, the server will perform an expiry check for get and getall and will not return stale entries Property :"enforce.retention.policy.on.read" Default :false |
void |
setFailureDetectorAsyncRecoveryInterval(long failureDetectorAsyncRecoveryInterval)
ClientConfig.setFailureDetectorAsyncRecoveryInterval(long)
Property :"failuredetector.asyncrecovery.interval"
Default :FailureDetectorConfig.DEFAULT_ASYNC_RECOVERY_INTERVAL
|
void |
setFailureDetectorBannagePeriod(long failureDetectorBannagePeriod)
ClientConfig.setFailureDetectorBannagePeriod(long)
Property :"failuredetector.bannage.period"
Default :FailureDetectorConfig.DEFAULT_BANNAGE_PERIOD
|
void |
setFailureDetectorCatastrophicErrorTypes(java.util.List<java.lang.String> failureDetectorCatastrophicErrorTypes)
ClientConfig.setFailureDetectorCatastrophicErrorTypes(List)
Property :"failuredetector.catastrophic.error.types"
Default :FailureDetectorConfig.DEFAULT_CATASTROPHIC_ERROR_TYPES
|
void |
setFailureDetectorImplementation(java.lang.String failureDetectorImplementation)
ClientConfig.setFailureDetectorImplementation(String)
Property :"failuredetector.implementation"
Default :FailureDetectorConfig.DEFAULT_IMPLEMENTATION_CLASS_NAME
|
void |
setFailureDetectorRequestLengthThreshold(long failureDetectorRequestLengthThreshold)
ClientConfig.setFailureDetectorRequestLengthThreshold(long)
Property :"failuredetector.request.length.threshold"
Default :same as socket timeout
|
void |
setFailureDetectorThreshold(int failureDetectorThreshold)
ClientConfig.setFailureDetectorThreshold(int)
Property :"failuredetector.threshold"
Default :FailureDetectorConfig.DEFAULT_THRESHOLD
|
void |
setFailureDetectorThresholdCountMinimum(int failureDetectorThresholdCountMinimum)
ClientConfig.setFailureDetectorThresholdCountMinimum(int)
Property :"failuredetector.threshold.countminimum"
Default :FailureDetectorConfig.DEFAULT_THRESHOLD_COUNT_MINIMUM
|
void |
setFailureDetectorThresholdInterval(long failureDetectorThresholdInterval)
ClientConfig.setFailureDetectorThresholdInterval(long)
Property :"failuredetector.threshold.interval"
Default :FailureDetectorConfig.DEFAULT_THRESHOLD_INTERVAL
|
void |
setFetcherBufferSize(int fetcherBufferSize)
Size of buffer to be used for HdfsFetcher. |
void |
setFileFetcherClass(java.lang.String fileFetcherClass)
Read-only file fetcher class Property :"file.fetcher.class" Default : "voldemort.server.protocol.hadoop.RestHadoopFetcher" |
void |
setGossipInterval(int gossipIntervalMs)
When Gossip is enabled, time interval to exchange gossip messages between servers Property :"gossip.interval.ms" Default :30000 |
void |
setHadoopConfigPath(java.lang.String hadoopConfigPath)
Path to the hadoop config Property :"readonly.hadoop.config.path" Default : METADATA_DIR/hadoop-conf |
void |
setInterruptible(boolean canInterrupt)
Determines whether the scheduler can be allowed to interrupt a AsyncOperation , when terminating the job
Property :"service.interruptible"
Default :true
|
void |
setMaxHttpAggregatedContentLength(int maxHttpAggregatedContentLength)
The maximum length of the aggregated Http content. |
void |
setMaxParallelStoresRebalancing(int maxParallelStoresRebalancing)
The maximum number of stores that can be rebalancing at the same time. |
void |
setMaxProxyPutThreads(int maxProxyPutThreads)
Total number of threads needed to issue proxy puts during rebalancing Property :"max.proxy.put.threads" Default : 1 |
void |
setMaxThreads(int maxThreads)
Deprecated. |
void |
setMetadataDirectory(java.lang.String metadataDirectory)
The directory name given by "metadata.directory" default: voldemort.home/config Property : "metadata.directory" Default : VOLDEMORT_HOME/config |
void |
setMultiVersionStreamingPutsEnabled(boolean multiVersionStreamingPutsEnabled)
If true, multiple successive versions of the same key, will be atomically written to storage in a single operation. |
void |
setMysqlDatabaseName(java.lang.String mysqlDatabaseName)
MySQL database name to use Property : Default : |
void |
setMysqlHost(java.lang.String mysqlHost)
Hostname of the database server for MySQL storage engine Property :"mysql.host" Default :"localhost" |
void |
setMysqlPassword(java.lang.String mysqlPassword)
Password to use with MySQL storage engine Property :"mysql.password" Default :"" |
void |
setMysqlPort(int mysqlPort)
Port number for the MySQL database server Property :"mysql.port" Default :3306 |
void |
setMysqlUsername(java.lang.String mysqlUsername)
user name to use with MySQL storage engine Property : "mysql.user" Default : "root" |
void |
setNioAcceptorBacklog(int nioAcceptorBacklog)
Determines the size of the NioSocketService 's accept backlog
queue. |
void |
setNioAdminConnectorSelectors(int nioAdminConnectorSelectors)
Number of admin NIO server threads to spin up. |
void |
setNioConnectorSelectors(int nioConnectorSelectors)
Number of NIO server threads to use to process client requests Property : nio.connector.selectors Default : max(8, number of available processors) |
void |
setNodeId(int nodeId)
Id of the server within the cluster. |
void |
setNumReadOnlyVersions(int readOnlyBackups)
Number of previous versions to keep around for ReadOnlyStorageEngine
Property :"readonly.backups"
Default :1
|
void |
setNumRestServiceNettyBossThreads(int numRestServiceNettyBossThreads)
The number of threads in the REST server Netty Boss thread pool. |
void |
setNumRestServiceNettyWorkerThreads(int numRestServiceNettyWorkerThreads)
The number of threads in the REST server Netty worker thread pool. |
void |
setNumRestServiceStorageThreads(int numRestServiceStorageThreads)
The number of threads in the REST server storage thread pool. |
void |
setNumScanPermits(int numScanPermits)
Maximum number of background tasks to run parallely with the online traffic. |
void |
setPruneJobMaxKeysScannedPerSec(int maxKeysPerSecond)
Global throttle limit for versioned put prune jobs Property :"prunejob.max.keys.scanned.per.sec" Default : Integer.MAX_VALUE (unthrottled) |
void |
setPusherType(java.lang.String pusherType)
The type of streaming job we would want to use to send hints. |
void |
setReadOnlyDataStorageDirectory(java.lang.String readOnlyStorageDir)
Directory to store the read-only data and index files in Property :"readonly.data.directory" Default : DATA_DIR/read-only |
void |
setReadOnlyDeleteBackupMs(int readOnlyDeleteBackupTimeMs)
Amount of time we will wait before we start deleting the backup. |
void |
setReadOnlyFetcherMaxBytesPerSecond(long maxBytesPerSecond)
Global throttle limit for all hadoop fetches. |
void |
setReadOnlyFetcherMinBytesPerSecond(long minBytesPerSecond)
Minimum amount of bandwidth that is guaranteed for any read only hadoop fetch.. |
void |
setReadOnlyFetcherReportingIntervalBytes(long reportingIntervalBytes)
Interval to report statistics for HDFS fetches Property :"fetcher.reporting.interval.bytes" Default :25MB |
void |
setReadOnlyFetchRetryCount(int readOnlyFetchRetryCount)
Number of attempts the readonly fetcher will make, before giving up on a failed fetch from Hadoop Property :"fetcher.retry.count" Default :5 |
void |
setReadOnlyFetchRetryDelayMs(long readOnlyFetchRetryDelayMs)
Amount of delay in ms between readonly fetcher retries, to fetch data from Hadoop Property :"fetcher.retry.delay.ms" Default :5000 (5 seconds) |
void |
setReadOnlyKerberosKdc(java.lang.String kerberosKdc)
Kdc for kerberized Hadoop grids Property :"readonly.kerberos.kdc" Default :"" |
void |
setReadOnlyKerberosRealm(java.lang.String kerberosRealm)
kerberized hadoop realm Property :"readonly.kerberos.realm" Default : "" |
void |
setReadOnlyKerberosUser(java.lang.String readOnlyKerberosUser)
Principal used in kerberized Hadoop grids Property :"readonly.kerberos.user" Default :"voldemrt" |
void |
setReadOnlyKeytabPath(java.lang.String readOnlyKeytabPath)
Path to keytab for principal used for kerberized Hadoop grids Property :"readonly.keytab.path" Default :METADATA_DIR/voldemrt.headless.keytab |
void |
setReadOnlySearchStrategy(java.lang.String readOnlySearchStrategy)
Strategy to be used to search the read-only index for a given key. |
void |
setRebalancingTimeoutSec(long rebalancingTimeoutSec)
The maximum amount of time the server will wait for the remote rebalancing tasks to finish. |
void |
setRepairJobMaxKeysScannedPerSec(int maxKeysPerSecond)
Global throttle limit for repair jobs Property :"repairjob.max.keys.scanned.per.sec" Default : Integer.MAX_VALUE (unthrottled) |
void |
setRequestFormatType(RequestFormatType type)
ClientConfig.setRequestFormatType(RequestFormatType)
Property :"request.format"
Default :"vp1"
|
void |
setRestServiceNettyServerBacklog(int numRestServiceNettyServerBacklog)
The capacity of the REST service Netty server backlog. |
void |
setRestServiceStorageThreadPoolQueueSize(int restServiceStorageThreadPoolQueueSize)
The capacity of the REST server storage thread pool queue. |
void |
setRetentionCleanupFirstStartDayOfWeek(int retentionCleanupFirstStartDayOfWeek)
First day of the week to run DataCleanupJob , after server starts
up. |
void |
setRetentionCleanupFirstStartTimeInHour(int retentionCleanupFirstStartTimeInHour)
The first hour in the day, when the DataCleanupJob will start
Property :"retention.cleanup.first.start.hour"
Default :0
|
void |
setRetentionCleanupPinStartTime(boolean retentionCleanupFixStartTime)
if enabled, DataCleanupJob will be pinned to the same time each
run interval. |
void |
setRetentionCleanupScheduledPeriodInHour(int retentionCleanupScheduledPeriodInHour)
Frequency to run DataCleanupJob
Property :
Default :
|
void |
setSchedulerThreads(int schedulerThreads)
Number of SchedulerService threads to create that run all the
background async jobs
Property :"client.max.queued.requests"
Default :1000
|
void |
setSlopBatchSize(int slopBatchSize)
Returns the size of the batch used while streaming slops Property :"slop.batch.size" Default :100 |
void |
setSlopFrequencyMs(long slopFrequencyMs)
Frequency at which the slop pusher attempts to push slops Property :"slop.frequency.ms" Default :300 seconds |
void |
setSlopMaxReadBytesPerSec(long slopMaxReadBytesPerSec)
Controls the rate at which the StreamingSlopPusherJob reads the
'slop' store and drains it off to another server
Property :"slop.read.byte.per.sec"
Default :10MB
|
void |
setSlopMaxWriteBytesPerSec(long slopMaxWriteBytesPerSec)
Controls the rate at which the StreamingSlopPusherJob will send
slop writes over the wire
Property :"slop.write.byte.per.sec"
Default :10MB
|
void |
setSlopPurgeJobMaxKeysScannedPerSec(int maxKeysPerSecond)
Global throttle limit for slop purge jobs Property :"slop.purgejob.max.keys.scanned.per.sec" Default : 10k |
void |
setSlopStoreType(java.lang.String slopStoreType)
The underlying store type which will be used to store slops. |
void |
setSlopZonesDownToTerminate(int slopZonesDownToTerminate)
Number of zones declared down before we terminate the pusher job Property :"slop.zones.terminate" Default :0 |
void |
setSocketBufferSize(int socketBufferSize)
ClientConfig.setSocketBufferSize(int)
Property :"socket.buffer.size"
Default :64kb
|
void |
setSocketKeepAlive(boolean on)
ClientConfig.setSocketKeepAlive(boolean)
Property :"socket.keepalive"
Default :false
|
void |
setSocketTimeoutMs(int socketTimeoutMs)
ClientConfig.setSocketTimeout(int, java.util.concurrent.TimeUnit)
Property :"socket.timeout.ms"
Default :5000
|
void |
setStorageConfigurations(java.util.List<java.lang.String> storageConfigurations)
List of fully qualified class names of StorageEngine types to
enable on the server
Property :"storage.configs"
Default : BdbStorageConfiguration
MysqlStorageConfiguration InMemoryStorageConfiguration
CacheStorageConfiguration ReadOnlyStorageConfiguration
|
void |
setStreamMaxReadBytesPerSec(long streamMaxReadBytesPerSec)
Maximum amount of data read out of the server by streaming operations Property : "stream.read.byte.per.sec" Default : 10MB |
void |
setStreamMaxWriteBytesPerSec(long streamMaxWriteBytesPerSec)
Maximum amount of data to be written into the server by streaming operations Property : "stream.write.byte.per.sec" Default : 10MB |
void |
setUseMlock(boolean useMlock)
If true, the server will mlock read-only index files and pin them to memory. |
void |
setUseNioConnector(boolean useNio)
Determines whether the server will use NIO style selectors while handling requests. |
void |
setUsePartitionScanForRebalance(boolean usePartitionScanForRebalance)
Enables fast, efficient range scans to be used for rebalancing Note: Only valid if the storage engine supports partition scans StorageEngine.isPartitionScanSupported()
Property :"use.partition.scan.for.rebalance"
Default :true
|
void |
setVoldemortHome(java.lang.String voldemortHome)
Property : "voldemort.home" Default : VOLDEMORT_HOME environment variable |
OpTimeMap |
testingGetSlowConcurrentDelays()
|
OpTimeMap |
testingGetSlowQueueingDelays()
|
boolean |
usePartitionScanForRebalance()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String VOLDEMORT_HOME_VAR_NAME
public static final java.lang.String VOLDEMORT_CONFIG_DIR
public static int VOLDEMORT_DEFAULT_ADMIN_PORT
public static final long REPORTING_INTERVAL_BYTES
public static final int DEFAULT_BUFFER_SIZE
public static final java.lang.String DEFAULT_KERBEROS_PRINCIPAL
public static final java.lang.String DEFAULT_KEYTAB_PATH
Constructor Detail |
---|
public VoldemortConfig(java.util.Properties props)
public VoldemortConfig(Props props)
public VoldemortConfig(int nodeId, java.lang.String voldemortHome)
Method Detail |
---|
public static VoldemortConfig loadFromEnvironmentVariable()
public static VoldemortConfig loadFromVoldemortHome(java.lang.String voldemortHome)
public static VoldemortConfig loadFromVoldemortHome(java.lang.String voldemortHome, java.lang.String voldemortConfigDir)
public int getNodeId()
public void setNodeId(int nodeId)
public java.lang.String getVoldemortHome()
public void setVoldemortHome(java.lang.String voldemortHome)
public java.lang.String getDataDirectory()
public void setDataDirectory(java.lang.String dataDirectory)
public java.lang.String getMetadataDirectory()
public void setMetadataDirectory(java.lang.String metadataDirectory)
public long getBdbCacheSize()
public void setBdbCacheSize(int bdbCacheSize)
public boolean getBdbExposeSpaceUtilization()
public void setBdbExposeSpaceUtilization(boolean bdbExposeSpaceUtilization)
public boolean isBdbFlushTransactionsEnabled()
public void setBdbFlushTransactions(boolean bdbSyncTransactions)
public java.lang.String getBdbDataDirectory()
public void setBdbDataDirectory(java.lang.String bdbDataDirectory)
public java.lang.String getBdbRawPropertyString()
public void setBdbRawPropertyString(java.lang.String bdbRawPropString)
public long getBdbMaxLogFileSize()
public void setBdbMaxLogFileSize(long bdbMaxLogFileSize)
public int getBdbCleanerMinFileUtilization()
public final void setBdbCleanerMinFileUtilization(int minFileUtilization)
public boolean getBdbCheckpointerHighPriority()
public final void setBdbCheckpointerHighPriority(boolean bdbCheckpointerHighPriority)
public int getBdbCleanerMaxBatchFiles()
public final void setBdbCleanerMaxBatchFiles(int bdbCleanerMaxBatchFiles)
public int getBdbCleanerThreads()
public final void setBdbCleanerThreads(int bdbCleanerThreads)
public long getBdbCleanerBytesInterval()
public final void setCleanerBytesInterval(long bdbCleanerBytesInterval)
public int getBdbCleanerLookAheadCacheSize()
public final void setBdbCleanerLookAheadCacheSize(int bdbCleanerLookAheadCacheSize)
public long getBdbLockTimeoutMs()
public final void setBdbLockTimeoutMs(long bdbLockTimeoutMs)
public int getBdbLockNLockTables()
public void setBdbLockNLockTables(int bdbLockNLockTables)
public int getBdbLogFaultReadSize()
public void setBdbLogFaultReadSize(int bdbLogFaultReadSize)
public int getBdbLogIteratorReadSize()
public void setBdbLogIteratorReadSize(int bdbLogIteratorReadSize)
public boolean getBdbFairLatches()
public void setBdbFairLatches(boolean bdbFairLatches)
public boolean getBdbReadUncommitted()
public void setBdbReadUncommitted(boolean bdbReadUncommitted)
public int getBdbCleanerMinUtilization()
public final void setBdbCleanerMinUtilization(int minUtilization)
public int getBdbBtreeFanout()
public void setBdbBtreeFanout(int bdbBtreeFanout)
public void setBdbMaxDelta(int maxDelta)
public int getBdbMaxDelta()
public void setBdbBinDelta(int binDelta)
public int getBdbBinDelta()
public boolean getBdbCleanerFetchObsoleteSize()
public final void setBdbCleanerFetchObsoleteSize(boolean bdbCleanerFetchObsoleteSize)
public boolean getBdbCleanerAdjustUtilization()
public final void setBdbCleanerAdjustUtilization(boolean bdbCleanerAdjustUtilization)
public boolean getBdbRecoveryForceCheckpoint()
public final void setBdbRecoveryForceCheckpoint(boolean bdbRecoveryForceCheckpoint)
public boolean getBdbCleanerLazyMigration()
public final void setBdbCleanerLazyMigration(boolean bdbCleanerLazyMigration)
public boolean getBdbCacheModeEvictLN()
public void setBdbCacheModeEvictLN(boolean bdbCacheModeEvictLN)
public boolean getBdbMinimizeScanImpact()
public void setBdbMinimizeScanImpact(boolean bdbMinimizeScanImpact)
public boolean isBdbWriteTransactionsEnabled()
public void setBdbWriteTransactions(boolean bdbWriteTransactions)
public void setBdbOneEnvPerStore(boolean bdbOneEnvPerStore)
public boolean isBdbOneEnvPerStore()
public boolean getBdbPrefixKeysWithPartitionId()
public void setBdbPrefixKeysWithPartitionId(boolean bdbPrefixKeysWithPartitionId)
public long getBdbCheckpointBytes()
public void setBdbCheckpointBytes(long bdbCheckpointBytes)
public boolean getBdbCheckpointerOffForBatchWrites()
public void setBdbCheckpointerOffForBatchWrites(boolean bdbCheckpointerOffForBulkWrites)
public long getBdbCheckpointMs()
public void setBdbCheckpointMs(long bdbCheckpointMs)
public long getBdbStatsCacheTtlMs()
public void setBdbStatsCacheTtlMs(long statsCacheTtlMs)
public long getBdbMinimumSharedCache()
public void setBdbMinimumSharedCache(long minimumSharedCache)
public boolean isBdbLevelBasedEviction()
public void setBdbLevelBasedEviction(boolean bdbLevelBasedEviction)
public int getCoreThreads()
@Deprecated public void setCoreThreads(int coreThreads)
public int getMaxThreads()
@Deprecated public void setMaxThreads(int maxThreads)
public int getAdminCoreThreads()
public void setAdminCoreThreads(int coreThreads)
public int getAdminMaxThreads()
public void setAdminMaxThreads(int maxThreads)
public boolean getUseNioConnector()
public void setUseNioConnector(boolean useNio)
public int getNioConnectorSelectors()
public void setNioConnectorSelectors(int nioConnectorSelectors)
public int getNioAdminConnectorSelectors()
public void setNioAdminConnectorSelectors(int nioAdminConnectorSelectors)
public boolean isHttpServerEnabled()
public void setEnableHttpServer(boolean enableHttpServer)
HttpService
is enabled
public boolean isSocketServerEnabled()
public boolean isAdminServerEnabled()
public void setAdminServerEnabled(boolean enableAdminServer)
public long getStreamMaxReadBytesPerSec()
public void setStreamMaxReadBytesPerSec(long streamMaxReadBytesPerSec)
public long getStreamMaxWriteBytesPerSec()
public void setStreamMaxWriteBytesPerSec(long streamMaxWriteBytesPerSec)
public long getSlopMaxWriteBytesPerSec()
public void setMultiVersionStreamingPutsEnabled(boolean multiVersionStreamingPutsEnabled)
public boolean getMultiVersionStreamingPutsEnabled()
public void setSlopMaxWriteBytesPerSec(long slopMaxWriteBytesPerSec)
StreamingSlopPusherJob
will send
slop writes over the wire
public long getSlopMaxReadBytesPerSec()
public void setSlopMaxReadBytesPerSec(long slopMaxReadBytesPerSec)
StreamingSlopPusherJob
reads the
'slop' store and drains it off to another server
public boolean isJmxEnabled()
public void setEnableJmx(boolean enableJmx)
public java.lang.String getMysqlUsername()
public void setMysqlUsername(java.lang.String mysqlUsername)
public java.lang.String getMysqlPassword()
public void setMysqlPassword(java.lang.String mysqlPassword)
public java.lang.String getMysqlDatabaseName()
public void setMysqlDatabaseName(java.lang.String mysqlDatabaseName)
public java.lang.String getMysqlHost()
public void setMysqlHost(java.lang.String mysqlHost)
public int getMysqlPort()
public void setMysqlPort(int mysqlPort)
public java.lang.String getSlopStoreType()
public void setSlopStoreType(java.lang.String slopStoreType)
public java.lang.String getPusherType()
public void setPusherType(java.lang.String pusherType)
public int getSlopZonesDownToTerminate()
public void setSlopZonesDownToTerminate(int slopZonesDownToTerminate)
public boolean getAutoPurgeDeadSlops()
public void setAutoPurgeDeadSlops(boolean autoPurgeDeadSlops)
public int getSlopBatchSize()
public void setSlopBatchSize(int slopBatchSize)
public int getSocketTimeoutMs()
public long getSlopFrequencyMs()
public void setSlopFrequencyMs(long slopFrequencyMs)
public void setSocketTimeoutMs(int socketTimeoutMs)
ClientConfig.setSocketTimeout(int, java.util.concurrent.TimeUnit)
public int getClientSelectors()
public void setClientSelectors(int clientSelectors)
ClientConfig.setSelectors(int)
public int getClientRoutingTimeoutMs()
public void setClientRoutingTimeoutMs(int routingTimeoutMs)
ClientConfig.setRoutingTimeout(int, java.util.concurrent.TimeUnit)
public TimeoutConfig getTimeoutConfig()
ClientConfig.setTimeoutConfig(TimeoutConfig)
public int getClientMaxConnectionsPerNode()
public void setClientMaxConnectionsPerNode(int maxConnectionsPerNode)
ClientConfig.setMaxConnectionsPerNode(int)
public int getClientConnectionTimeoutMs()
public void setClientConnectionTimeoutMs(int connectionTimeoutMs)
ClientConfig.setConnectionTimeout(int, java.util.concurrent.TimeUnit)
@Deprecated public int getClientNodeBannageMs()
getFailureDetectorBannagePeriod()
instead
@Deprecated public void setClientNodeBannageMs(int nodeBannageMs)
setFailureDetectorBannagePeriod(long)
instead
public int getClientMaxThreads()
public void setClientMaxThreads(int clientMaxThreads)
ClientConfig.setMaxThreads(int)
public int getClientThreadIdleMs()
public void setClientThreadIdleMs(int clientThreadIdleMs)
ClientConfig.setThreadIdleTime(long, java.util.concurrent.TimeUnit)
public int getClientMaxQueuedRequests()
public void setClientMaxQueuedRequests(int clientMaxQueuedRequests)
ClientConfig.setMaxQueuedRequests(int)
public boolean isSlopEnabled()
public void setEnableSlop(boolean enableSlop)
public boolean isSlopPusherJobEnabled()
public void setEnableSlopPusherJob(boolean enableSlopPusherJob)
StreamingSlopPusherJob
or
BlockingSlopPusherJob
should be enabled to asynchronous push
slops to failed servers
public boolean isRepairEnabled()
public void setEnableRepair(boolean enableRepair)
RepairJob
will be enabled
public boolean isPruneJobEnabled()
public void setEnablePruneJob(boolean enablePruneJob)
VersionedPutPruneJob
will be enabled
public boolean isSlopPurgeJobEnabled()
public void setEnableSlopPurgeJob(boolean enableSlopPurgeJob)
SlopPurgeJob
be enabled
public boolean isVerboseLoggingEnabled()
public void setEnableVerboseLogging(boolean enableVerboseLogging)
LoggingStore
will be enable to ouput more detailed
trace debugging if needed
public boolean isStatTrackingEnabled()
public void setEnableStatTracking(boolean enableStatTracking)
StatTrackingStore
will be enabled to account
performance statistics
public boolean isMetadataCheckingEnabled()
public void setEnableMetadataChecking(boolean enableMetadataChecking)
InvalidMetadataCheckingStore
will reject traffic that
does not belong to this server with a InvalidMetadataException
public int getSchedulerThreads()
public void setSchedulerThreads(int schedulerThreads)
SchedulerService
threads to create that run all the
background async jobs
public boolean canInterruptService()
public void setInterruptible(boolean canInterrupt)
AsyncOperation
, when terminating the job
public java.lang.String getReadOnlyDataStorageDirectory()
public void setReadOnlyDataStorageDirectory(java.lang.String readOnlyStorageDir)
public int getNumReadOnlyVersions()
public void setNumReadOnlyVersions(int readOnlyBackups)
ReadOnlyStorageEngine
public int getReadOnlyDeleteBackupMs()
public void setReadOnlyDeleteBackupMs(int readOnlyDeleteBackupTimeMs)
public java.lang.String getReadOnlyKeytabPath()
public void setReadOnlyKeytabPath(java.lang.String readOnlyKeytabPath)
public java.lang.String getReadOnlyKerberosUser()
public void setReadOnlyKerberosUser(java.lang.String readOnlyKerberosUser)
public java.lang.String getHadoopConfigPath()
public void setHadoopConfigPath(java.lang.String hadoopConfigPath)
public int getSocketBufferSize()
public void setSocketBufferSize(int socketBufferSize)
ClientConfig.setSocketBufferSize(int)
public boolean getSocketKeepAlive()
public void setSocketKeepAlive(boolean on)
ClientConfig.setSocketKeepAlive(boolean)
public int getNioAcceptorBacklog()
public void setNioAcceptorBacklog(int nioAcceptorBacklog)
NioSocketService
's accept backlog
queue. A large enough backlog queue prevents connections from being
dropped during connection bursts
public int getAdminSocketBufferSize()
public void setAdminSocketBufferSize(int socketBufferSize)
ClientConfig.setSocketBufferSize(int)
to use for network
operations during admin operations
public java.util.List<java.lang.String> getStorageConfigurations()
public void setStorageConfigurations(java.util.List<java.lang.String> storageConfigurations)
StorageEngine
types to
enable on the server
BdbStorageConfiguration
MysqlStorageConfiguration
InMemoryStorageConfiguration
CacheStorageConfiguration
ReadOnlyStorageConfiguration
public Props getAllProps()
public void setRequestFormatType(RequestFormatType type)
ClientConfig.setRequestFormatType(RequestFormatType)
public RequestFormatType getRequestFormatType()
public boolean isServerRoutingEnabled()
public void setEnableServerRouting(boolean enableServerRouting)
DefaultStoreClient
does not
support this yet.
public int getNumScanPermits()
public void setNumScanPermits(int numScanPermits)
DataCleanupJob
and
StreamingSlopPusherJob
public java.lang.String getFailureDetectorImplementation()
public void setFailureDetectorImplementation(java.lang.String failureDetectorImplementation)
ClientConfig.setFailureDetectorImplementation(String)
public long getFailureDetectorBannagePeriod()
public void setFailureDetectorBannagePeriod(long failureDetectorBannagePeriod)
ClientConfig.setFailureDetectorBannagePeriod(long)
public int getFailureDetectorThreshold()
public void setFailureDetectorThreshold(int failureDetectorThreshold)
ClientConfig.setFailureDetectorThreshold(int)
public int getFailureDetectorThresholdCountMinimum()
public void setFailureDetectorThresholdCountMinimum(int failureDetectorThresholdCountMinimum)
ClientConfig.setFailureDetectorThresholdCountMinimum(int)
public long getFailureDetectorThresholdInterval()
public void setFailureDetectorThresholdInterval(long failureDetectorThresholdInterval)
ClientConfig.setFailureDetectorThresholdInterval(long)
public long getFailureDetectorAsyncRecoveryInterval()
public void setFailureDetectorAsyncRecoveryInterval(long failureDetectorAsyncRecoveryInterval)
ClientConfig.setFailureDetectorAsyncRecoveryInterval(long)
public java.util.List<java.lang.String> getFailureDetectorCatastrophicErrorTypes()
public void setFailureDetectorCatastrophicErrorTypes(java.util.List<java.lang.String> failureDetectorCatastrophicErrorTypes)
ClientConfig.setFailureDetectorCatastrophicErrorTypes(List)
public long getFailureDetectorRequestLengthThreshold()
public void setFailureDetectorRequestLengthThreshold(long failureDetectorRequestLengthThreshold)
ClientConfig.setFailureDetectorRequestLengthThreshold(long)
public int getRetentionCleanupFirstStartTimeInHour()
public void setRetentionCleanupFirstStartTimeInHour(int retentionCleanupFirstStartTimeInHour)
DataCleanupJob
will start
public int getRetentionCleanupFirstStartDayOfWeek()
public void setRetentionCleanupFirstStartDayOfWeek(int retentionCleanupFirstStartDayOfWeek)
DataCleanupJob
, after server starts
up. From there on, it will run with the configured frequency. 1=SUN,
2=MON, 3=TUE, 4=WED, 5=THU, 6=FRI,7=SAT
public int getRetentionCleanupScheduledPeriodInHour()
public void setRetentionCleanupScheduledPeriodInHour(int retentionCleanupScheduledPeriodInHour)
DataCleanupJob
public boolean getRetentionCleanupPinStartTime()
public void setRetentionCleanupPinStartTime(boolean retentionCleanupFixStartTime)
DataCleanupJob
will be pinned to the same time each
run interval. Otherwise, it will slowly shift based on how long the job
actually takes to complete. See
Timer.scheduleAtFixedRate(TimerTask, java.util.Date, long)
public boolean isEnforceRetentionPolicyOnRead()
public void setEnforceRetentionPolicyOnRead(boolean enforceRetentionPolicyOnRead)
public boolean isDeleteExpiredValuesOnRead()
public void setDeleteExpiredValuesOnRead(boolean deleteExpiredValuesOnRead)
public int getAdminSocketTimeout()
public void setAdminSocketTimeout(int adminSocketTimeout)
ClientConfig.setSocketTimeout(int, java.util.concurrent.TimeUnit)
to use in AdminService
public int getAdminConnectionTimeout()
public void setAdminConnectionTimeout(int adminConnectionTimeout)
ClientConfig.setConnectionTimeout(int, java.util.concurrent.TimeUnit)
to use in AdminService
public long getRebalancingTimeoutSec()
public void setRebalancingTimeoutSec(long rebalancingTimeoutSec)
public boolean isGossipEnabled()
public void setEnableGossip(boolean enableGossip)
DefaultStoreClient
public java.lang.String getReadOnlySearchStrategy()
public long getReadOnlyFetcherMaxBytesPerSecond()
public void setReadOnlyFetcherMaxBytesPerSecond(long maxBytesPerSecond)
public long getReadOnlyFetcherMinBytesPerSecond()
public void setReadOnlyFetcherMinBytesPerSecond(long minBytesPerSecond)
public long getReadOnlyFetcherReportingIntervalBytes()
public void setReadOnlyFetcherReportingIntervalBytes(long reportingIntervalBytes)
public int getReadOnlyFetchRetryCount()
public void setReadOnlyFetchRetryCount(int readOnlyFetchRetryCount)
public long getReadOnlyFetchRetryDelayMs()
public void setReadOnlyFetchRetryDelayMs(long readOnlyFetchRetryDelayMs)
public int getFetcherBufferSize()
public void setFetcherBufferSize(int fetcherBufferSize)
public void setReadOnlySearchStrategy(java.lang.String readOnlySearchStrategy)
BinarySearchStrategy
or InterpolationSearchStrategy
public boolean isNetworkClassLoaderEnabled()
public void setEnableNetworkClassLoader(boolean enableNetworkClassLoader)
VAdminProto.VoldemortFilter
. Note that this is
not officially supported
public void setEnableRebalanceService(boolean enableRebalanceService)
public boolean isEnableRebalanceService()
public int getMaxParallelStoresRebalancing()
public void setMaxParallelStoresRebalancing(int maxParallelStoresRebalancing)
public boolean usePartitionScanForRebalance()
public void setMaxProxyPutThreads(int maxProxyPutThreads)
public int getMaxProxyPutThreads()
public void setUsePartitionScanForRebalance(boolean usePartitionScanForRebalance)
StorageEngine.isPartitionScanSupported()
public boolean isEnableJmxClusterName()
public void setEnableJmxClusterName(boolean enableJmxClusterName)
public boolean isEnableQuotaLimiting()
public void setEnableQuotaLimit(boolean enableQuotaLimiting)
public OpTimeMap testingGetSlowQueueingDelays()
public OpTimeMap testingGetSlowConcurrentDelays()
public boolean isUseMlock()
public void setUseMlock(boolean useMlock)
useMlock
- public int getGossipInterval()
public void setGossipInterval(int gossipIntervalMs)
public boolean isRestServiceEnabled()
public void setEnableRestService(boolean enableRestService)
RestService
is enabled
public int getRestServiceNettyServerBacklog()
public void setRestServiceNettyServerBacklog(int numRestServiceNettyServerBacklog)
public int getNumRestServiceNettyBossThreads()
public void setNumRestServiceNettyBossThreads(int numRestServiceNettyBossThreads)
public int getNumRestServiceNettyWorkerThreads()
public void setNumRestServiceNettyWorkerThreads(int numRestServiceNettyWorkerThreads)
public int getNumRestServiceStorageThreads()
public void setNumRestServiceStorageThreads(int numRestServiceStorageThreads)
public int getRestServiceStorageThreadPoolQueueSize()
public void setRestServiceStorageThreadPoolQueueSize(int restServiceStorageThreadPoolQueueSize)
public int getMaxHttpAggregatedContentLength()
public void setMaxHttpAggregatedContentLength(int maxHttpAggregatedContentLength)
public int getRepairJobMaxKeysScannedPerSec()
public void setRepairJobMaxKeysScannedPerSec(int maxKeysPerSecond)
public int getPruneJobMaxKeysScannedPerSec()
public void setPruneJobMaxKeysScannedPerSec(int maxKeysPerSecond)
public int getSlopPurgeJobMaxKeysScannedPerSec()
public void setSlopPurgeJobMaxKeysScannedPerSec(int maxKeysPerSecond)
public void setReadOnlyKerberosKdc(java.lang.String kerberosKdc)
public java.lang.String getReadOnlyKerberosKdc()
public void setReadOnlyKerberosRealm(java.lang.String kerberosRealm)
public java.lang.String getReadOnlyKerberosRealm()
public void setEnableRestHdfs(boolean enableRestHdfs)
public boolean isRestHdfsEnabled()
public void setFileFetcherClass(java.lang.String fileFetcherClass)
public java.lang.String getFileFetcherClass()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |