com.sleepycat.je.config
Class EnvironmentParams
java.lang.Object
com.sleepycat.je.config.EnvironmentParams
public class EnvironmentParams
- extends Object
Field Summary |
static IntConfigParam |
ADLER32_CHUNK_SIZE
|
static IntConfigParam |
BIN_DELTA_PERCENT
|
static IntConfigParam |
BIN_MAX_DELTAS
|
static LongConfigParam |
CHECKPOINTER_BYTES_INTERVAL
|
static BooleanConfigParam |
CHECKPOINTER_HIGH_PRIORITY
|
static IntConfigParam |
CHECKPOINTER_RETRY
|
static DurationConfigParam |
CHECKPOINTER_WAKEUP_INTERVAL
|
static BooleanConfigParam |
CLEANER_BACKGROUND_PROACTIVE_MIGRATION
|
static LongConfigParam |
CLEANER_BYTES_INTERVAL
|
static BooleanConfigParam |
CLEANER_CLUSTER
Experimental and may be removed in a future release -- not exposed in
the public API. |
static BooleanConfigParam |
CLEANER_CLUSTER_ALL
Experimental and may be removed in a future release -- not exposed in
the public API. |
static IntConfigParam |
CLEANER_DB_CACHE_CLEAR_COUNT
|
static IntConfigParam |
CLEANER_DEADLOCK_RETRY
|
static IntConfigParam |
CLEANER_DETAIL_MAX_MEMORY_PERCENTAGE
|
static BooleanConfigParam |
CLEANER_FETCH_OBSOLETE_SIZE
|
static ConfigParam |
CLEANER_FORCE_CLEAN_FILES
|
static BooleanConfigParam |
CLEANER_FOREGROUND_PROACTIVE_MIGRATION
|
static BooleanConfigParam |
CLEANER_LAZY_MIGRATION
|
static DurationConfigParam |
CLEANER_LOCK_TIMEOUT
|
static IntConfigParam |
CLEANER_LOOK_AHEAD_CACHE_SIZE
|
static IntConfigParam |
CLEANER_MAX_BATCH_FILES
|
static IntConfigParam |
CLEANER_MIN_AGE
|
static IntConfigParam |
CLEANER_MIN_FILE_UTILIZATION
|
static IntConfigParam |
CLEANER_MIN_FILES_TO_DELETE
Deprecated. As of 1.7.1, no longer used. |
static IntConfigParam |
CLEANER_MIN_UTILIZATION
|
static IntConfigParam |
CLEANER_READ_SIZE
|
static BooleanConfigParam |
CLEANER_REMOVE
|
static IntConfigParam |
CLEANER_RESTART_RETRIES
Deprecated. As of 2.0, no longer used. |
static IntConfigParam |
CLEANER_RETRIES
Deprecated. As of 2.0, no longer used. |
static BooleanConfigParam |
CLEANER_RMW_FIX
Not part of public API, since it applies to a very old bug. |
static IntConfigParam |
CLEANER_THREADS
|
static BooleanConfigParam |
CLEANER_TRACK_DETAIL
Not part of public API. |
static IntConfigParam |
CLEANER_UPGRADE_TO_LOG_VERSION
|
static DurationConfigParam |
COMPRESSOR_LOCK_TIMEOUT
|
static IntConfigParam |
COMPRESSOR_RETRY
|
static DurationConfigParam |
COMPRESSOR_WAKEUP_INTERVAL
|
static IntConfigParam |
ENV_BACKGROUND_READ_LIMIT
|
static DurationConfigParam |
ENV_BACKGROUND_SLEEP_INTERVAL
|
static IntConfigParam |
ENV_BACKGROUND_WRITE_LIMIT
|
static BooleanConfigParam |
ENV_CHECK_LEAKS
|
static BooleanConfigParam |
ENV_DB_EVICTION
|
static BooleanConfigParam |
ENV_FAIR_LATCHES
|
static BooleanConfigParam |
ENV_FORCED_YIELD
|
static BooleanConfigParam |
ENV_INIT_LOCKING
|
static BooleanConfigParam |
ENV_INIT_TXN
|
static BooleanConfigParam |
ENV_RDONLY
|
static BooleanConfigParam |
ENV_RECOVERY
Used by utilities, not exposed in the API. |
static BooleanConfigParam |
ENV_RECOVERY_FORCE_CHECKPOINT
|
static BooleanConfigParam |
ENV_RUN_CHECKPOINTER
|
static BooleanConfigParam |
ENV_RUN_CLEANER
|
static BooleanConfigParam |
ENV_RUN_EVICTOR
If true, eviction is also done by a pool of evictor threads, as well as
being done inline by application threads. |
static BooleanConfigParam |
ENV_RUN_INCOMPRESSOR
|
static BooleanConfigParam |
ENV_SHARED_CACHE
|
static BooleanConfigParam |
ENV_SHARED_LATCHES
Not part of the public API. |
static IntConfigParam |
EVICTOR_CORE_THREADS
|
static IntConfigParam |
EVICTOR_CRITICAL_PERCENTAGE
Not part of public API. |
static LongConfigParam |
EVICTOR_EVICT_BYTES
|
static IntConfigParam |
EVICTOR_EVICTION_BATCH_PERCENTAGE
Deprecated. As of 1.7.2, 1 node is chosen per scan.
The evictor percentage of scanned nodes to evict per wakeup. |
static BooleanConfigParam |
EVICTOR_FORCED_YIELD
|
static DurationConfigParam |
EVICTOR_KEEP_ALIVE
|
static BooleanConfigParam |
EVICTOR_LRU_ONLY
|
static IntConfigParam |
EVICTOR_MAX_THREADS
|
static IntConfigParam |
EVICTOR_NODE_SCAN_PERCENTAGE
Deprecated. As of 1.7.2, this is replaced by je.evictor.nodesPerScan
The evictor percentage of total nodes to scan per wakeup. |
static IntConfigParam |
EVICTOR_NODES_PER_SCAN
|
static IntConfigParam |
EVICTOR_RETRY
Deprecated. as of JE 4.1 |
static DurationConfigParam |
EVICTOR_TERMINATE_TIMEOUT
The amount of time to wait for the eviction pool to terminate, in order
to create a clean shutdown. |
static IntConfigParam |
EVICTOR_USEMEM_FLOOR
Deprecated. As of 2.0, this is replaced by je.evictor.evictBytes
When eviction happens, the evictor will push memory usage to this
percentage of je.maxMemory. |
static DurationConfigParam |
EVICTOR_WAKEUP_INTERVAL
Deprecated. as of JE 4.1 |
static ConfigParam |
JE_CONSOLE_LEVEL
|
static ConfigParam |
JE_DURABILITY
|
static ConfigParam |
JE_FILE_LEVEL
|
static BooleanConfigParam |
JE_LOGGING_DBLOG
|
static BooleanConfigParam |
LOCK_OLD_LOCK_EXCEPTIONS
|
static DurationConfigParam |
LOCK_TIMEOUT
|
static IntConfigParam |
LOG_BUFFER_MAX_SIZE
|
static BooleanConfigParam |
LOG_CHECKSUM_READ
|
static LongConfigParam |
LOG_CHUNKED_NIO
|
static BooleanConfigParam |
LOG_DEFERREDWRITE_TEMP
Deprecated. As of 3.3, no longer used
Optimize cleaner operation for temporary deferred write DBs. |
static BooleanConfigParam |
LOG_DIRECT_NIO
|
static IntConfigParam |
LOG_FAULT_READ_SIZE
|
static IntConfigParam |
LOG_FILE_CACHE_SIZE
|
static LongConfigParam |
LOG_FILE_MAX
|
static DurationConfigParam |
LOG_FSYNC_TIMEOUT
|
static IntConfigParam |
LOG_ITERATOR_MAX_SIZE
|
static IntConfigParam |
LOG_ITERATOR_READ_SIZE
|
static LongConfigParam |
LOG_MEM_SIZE
|
static long |
LOG_MEM_SIZE_MIN
|
static String |
LOG_MEM_SIZE_MIN_STRING
|
static BooleanConfigParam |
LOG_MEMORY_ONLY
|
static BooleanConfigParam |
LOG_USE_NIO
|
static BooleanConfigParam |
LOG_USE_ODSYNC
|
static BooleanConfigParam |
LOG_USE_WRITE_QUEUE
|
static BooleanConfigParam |
LOG_VERIFY_CHECKSUMS
|
static IntConfigParam |
LOG_WRITE_QUEUE_SIZE
|
static LongConfigParam |
MAX_MEMORY
|
static IntConfigParam |
MAX_MEMORY_PERCENT
|
static int |
MIN_LOG_BUFFER_SIZE
|
static LongConfigParam |
MIN_TREE_MEMORY
|
static IntConfigParam |
N_LOCK_TABLES
|
static IntConfigParam |
NODE_MAX
|
static IntConfigParam |
NODE_MAX_DUPTREE
|
static IntConfigParam |
NUM_LOG_BUFFERS
|
static int |
NUM_LOG_BUFFERS_DEFAULT
|
static String |
REP_PARAM_PREFIX
|
static Map<String,ConfigParam> |
SUPPORTED_PARAMS
|
static BooleanConfigParam |
TXN_DEADLOCK_STACK_TRACE
|
static BooleanConfigParam |
TXN_DUMPLOCKS
|
static BooleanConfigParam |
TXN_SERIALIZABLE_ISOLATION
|
static DurationConfigParam |
TXN_TIMEOUT
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
REP_PARAM_PREFIX
public static final String REP_PARAM_PREFIX
- See Also:
- Constant Field Values
SUPPORTED_PARAMS
public static final Map<String,ConfigParam> SUPPORTED_PARAMS
MAX_MEMORY
public static final LongConfigParam MAX_MEMORY
MAX_MEMORY_PERCENT
public static final IntConfigParam MAX_MEMORY_PERCENT
ENV_SHARED_CACHE
public static final BooleanConfigParam ENV_SHARED_CACHE
ENV_RECOVERY
public static final BooleanConfigParam ENV_RECOVERY
- Used by utilities, not exposed in the API.
If true, an environment is created with recovery and the related daemon
threads are enabled.
ENV_RECOVERY_FORCE_CHECKPOINT
public static final BooleanConfigParam ENV_RECOVERY_FORCE_CHECKPOINT
ENV_RUN_INCOMPRESSOR
public static final BooleanConfigParam ENV_RUN_INCOMPRESSOR
ENV_RUN_EVICTOR
public static final BooleanConfigParam ENV_RUN_EVICTOR
- If true, eviction is also done by a pool of evictor threads, as well as
being done inline by application threads. If false, the evictor pool
is not used, regardless of the values of je.evictor.coreThreads and
je.evictor.maxThreads.
EVICTOR_WAKEUP_INTERVAL
public static final DurationConfigParam EVICTOR_WAKEUP_INTERVAL
- Deprecated. as of JE 4.1
EVICTOR_CORE_THREADS
public static final IntConfigParam EVICTOR_CORE_THREADS
EVICTOR_MAX_THREADS
public static final IntConfigParam EVICTOR_MAX_THREADS
EVICTOR_KEEP_ALIVE
public static final DurationConfigParam EVICTOR_KEEP_ALIVE
EVICTOR_TERMINATE_TIMEOUT
public static final DurationConfigParam EVICTOR_TERMINATE_TIMEOUT
- The amount of time to wait for the eviction pool to terminate, in order
to create a clean shutdown. An intentionally unadvertised parameter, of
use mainly for unit test cleanup.
ENV_RUN_CHECKPOINTER
public static final BooleanConfigParam ENV_RUN_CHECKPOINTER
ENV_RUN_CLEANER
public static final BooleanConfigParam ENV_RUN_CLEANER
ENV_BACKGROUND_READ_LIMIT
public static final IntConfigParam ENV_BACKGROUND_READ_LIMIT
ENV_BACKGROUND_WRITE_LIMIT
public static final IntConfigParam ENV_BACKGROUND_WRITE_LIMIT
ENV_BACKGROUND_SLEEP_INTERVAL
public static final DurationConfigParam ENV_BACKGROUND_SLEEP_INTERVAL
ENV_CHECK_LEAKS
public static final BooleanConfigParam ENV_CHECK_LEAKS
ENV_FORCED_YIELD
public static final BooleanConfigParam ENV_FORCED_YIELD
ENV_INIT_TXN
public static final BooleanConfigParam ENV_INIT_TXN
ENV_INIT_LOCKING
public static final BooleanConfigParam ENV_INIT_LOCKING
ENV_RDONLY
public static final BooleanConfigParam ENV_RDONLY
ENV_FAIR_LATCHES
public static final BooleanConfigParam ENV_FAIR_LATCHES
ENV_SHARED_LATCHES
public static final BooleanConfigParam ENV_SHARED_LATCHES
- Not part of the public API. As of 3.3, is true by default.
If true (the default), use shared latches for Btree Internal Nodes (INs)
to improve concurrency.
ENV_DB_EVICTION
public static final BooleanConfigParam ENV_DB_EVICTION
ADLER32_CHUNK_SIZE
public static final IntConfigParam ADLER32_CHUNK_SIZE
MIN_LOG_BUFFER_SIZE
public static final int MIN_LOG_BUFFER_SIZE
- See Also:
- Constant Field Values
NUM_LOG_BUFFERS_DEFAULT
public static final int NUM_LOG_BUFFERS_DEFAULT
- See Also:
- Constant Field Values
LOG_MEM_SIZE_MIN
public static final long LOG_MEM_SIZE_MIN
- See Also:
- Constant Field Values
LOG_MEM_SIZE_MIN_STRING
public static final String LOG_MEM_SIZE_MIN_STRING
LOG_MEM_SIZE
public static final LongConfigParam LOG_MEM_SIZE
NUM_LOG_BUFFERS
public static final IntConfigParam NUM_LOG_BUFFERS
LOG_BUFFER_MAX_SIZE
public static final IntConfigParam LOG_BUFFER_MAX_SIZE
LOG_FAULT_READ_SIZE
public static final IntConfigParam LOG_FAULT_READ_SIZE
LOG_ITERATOR_READ_SIZE
public static final IntConfigParam LOG_ITERATOR_READ_SIZE
LOG_ITERATOR_MAX_SIZE
public static final IntConfigParam LOG_ITERATOR_MAX_SIZE
LOG_FILE_MAX
public static final LongConfigParam LOG_FILE_MAX
LOG_CHECKSUM_READ
public static final BooleanConfigParam LOG_CHECKSUM_READ
LOG_VERIFY_CHECKSUMS
public static final BooleanConfigParam LOG_VERIFY_CHECKSUMS
LOG_MEMORY_ONLY
public static final BooleanConfigParam LOG_MEMORY_ONLY
LOG_FILE_CACHE_SIZE
public static final IntConfigParam LOG_FILE_CACHE_SIZE
LOG_FSYNC_TIMEOUT
public static final DurationConfigParam LOG_FSYNC_TIMEOUT
LOG_USE_ODSYNC
public static final BooleanConfigParam LOG_USE_ODSYNC
LOG_USE_NIO
public static final BooleanConfigParam LOG_USE_NIO
LOG_USE_WRITE_QUEUE
public static final BooleanConfigParam LOG_USE_WRITE_QUEUE
LOG_WRITE_QUEUE_SIZE
public static final IntConfigParam LOG_WRITE_QUEUE_SIZE
LOG_DIRECT_NIO
public static final BooleanConfigParam LOG_DIRECT_NIO
LOG_CHUNKED_NIO
public static final LongConfigParam LOG_CHUNKED_NIO
LOG_DEFERREDWRITE_TEMP
public static final BooleanConfigParam LOG_DEFERREDWRITE_TEMP
- Deprecated. As of 3.3, no longer used
Optimize cleaner operation for temporary deferred write DBs.
NODE_MAX
public static final IntConfigParam NODE_MAX
NODE_MAX_DUPTREE
public static final IntConfigParam NODE_MAX_DUPTREE
BIN_MAX_DELTAS
public static final IntConfigParam BIN_MAX_DELTAS
BIN_DELTA_PERCENT
public static final IntConfigParam BIN_DELTA_PERCENT
MIN_TREE_MEMORY
public static final LongConfigParam MIN_TREE_MEMORY
COMPRESSOR_WAKEUP_INTERVAL
public static final DurationConfigParam COMPRESSOR_WAKEUP_INTERVAL
COMPRESSOR_RETRY
public static final IntConfigParam COMPRESSOR_RETRY
COMPRESSOR_LOCK_TIMEOUT
public static final DurationConfigParam COMPRESSOR_LOCK_TIMEOUT
EVICTOR_EVICT_BYTES
public static final LongConfigParam EVICTOR_EVICT_BYTES
EVICTOR_USEMEM_FLOOR
public static final IntConfigParam EVICTOR_USEMEM_FLOOR
- Deprecated. As of 2.0, this is replaced by je.evictor.evictBytes
When eviction happens, the evictor will push memory usage to this
percentage of je.maxMemory.
EVICTOR_NODE_SCAN_PERCENTAGE
public static final IntConfigParam EVICTOR_NODE_SCAN_PERCENTAGE
- Deprecated. As of 1.7.2, this is replaced by je.evictor.nodesPerScan
The evictor percentage of total nodes to scan per wakeup.
EVICTOR_EVICTION_BATCH_PERCENTAGE
public static final IntConfigParam EVICTOR_EVICTION_BATCH_PERCENTAGE
- Deprecated. As of 1.7.2, 1 node is chosen per scan.
The evictor percentage of scanned nodes to evict per wakeup.
EVICTOR_NODES_PER_SCAN
public static final IntConfigParam EVICTOR_NODES_PER_SCAN
EVICTOR_CRITICAL_PERCENTAGE
public static final IntConfigParam EVICTOR_CRITICAL_PERCENTAGE
- Not part of public API. As of 2.0, eviction is performed in-line.
At this percentage over the allotted cache, critical eviction will
start.
EVICTOR_RETRY
public static final IntConfigParam EVICTOR_RETRY
- Deprecated. as of JE 4.1
EVICTOR_LRU_ONLY
public static final BooleanConfigParam EVICTOR_LRU_ONLY
EVICTOR_FORCED_YIELD
public static final BooleanConfigParam EVICTOR_FORCED_YIELD
CHECKPOINTER_BYTES_INTERVAL
public static final LongConfigParam CHECKPOINTER_BYTES_INTERVAL
CHECKPOINTER_WAKEUP_INTERVAL
public static final DurationConfigParam CHECKPOINTER_WAKEUP_INTERVAL
CHECKPOINTER_RETRY
public static final IntConfigParam CHECKPOINTER_RETRY
CHECKPOINTER_HIGH_PRIORITY
public static final BooleanConfigParam CHECKPOINTER_HIGH_PRIORITY
CLEANER_MIN_UTILIZATION
public static final IntConfigParam CLEANER_MIN_UTILIZATION
CLEANER_MIN_FILE_UTILIZATION
public static final IntConfigParam CLEANER_MIN_FILE_UTILIZATION
CLEANER_BYTES_INTERVAL
public static final LongConfigParam CLEANER_BYTES_INTERVAL
CLEANER_FETCH_OBSOLETE_SIZE
public static final BooleanConfigParam CLEANER_FETCH_OBSOLETE_SIZE
CLEANER_DEADLOCK_RETRY
public static final IntConfigParam CLEANER_DEADLOCK_RETRY
CLEANER_LOCK_TIMEOUT
public static final DurationConfigParam CLEANER_LOCK_TIMEOUT
CLEANER_REMOVE
public static final BooleanConfigParam CLEANER_REMOVE
CLEANER_MIN_FILES_TO_DELETE
public static final IntConfigParam CLEANER_MIN_FILES_TO_DELETE
- Deprecated. As of 1.7.1, no longer used.
CLEANER_RETRIES
public static final IntConfigParam CLEANER_RETRIES
- Deprecated. As of 2.0, no longer used.
CLEANER_RESTART_RETRIES
public static final IntConfigParam CLEANER_RESTART_RETRIES
- Deprecated. As of 2.0, no longer used.
CLEANER_MIN_AGE
public static final IntConfigParam CLEANER_MIN_AGE
CLEANER_CLUSTER
public static final BooleanConfigParam CLEANER_CLUSTER
- Experimental and may be removed in a future release -- not exposed in
the public API.
If true, eviction and checkpointing will cluster records by key
value, migrating them from low utilization files if they are
resident.
The cluster and clusterAll properties may not both be set to true.
CLEANER_CLUSTER_ALL
public static final BooleanConfigParam CLEANER_CLUSTER_ALL
- Experimental and may be removed in a future release -- not exposed in
the public API.
If true, eviction and checkpointing will cluster records by key
value, migrating them from low utilization files whether or not
they are resident.
The cluster and clusterAll properties may not both be set to true.
CLEANER_MAX_BATCH_FILES
public static final IntConfigParam CLEANER_MAX_BATCH_FILES
CLEANER_READ_SIZE
public static final IntConfigParam CLEANER_READ_SIZE
CLEANER_TRACK_DETAIL
public static final BooleanConfigParam CLEANER_TRACK_DETAIL
- Not part of public API.
If true, the cleaner tracks and stores detailed information that is used
to decrease the cost of cleaning.
CLEANER_DETAIL_MAX_MEMORY_PERCENTAGE
public static final IntConfigParam CLEANER_DETAIL_MAX_MEMORY_PERCENTAGE
CLEANER_RMW_FIX
public static final BooleanConfigParam CLEANER_RMW_FIX
- Not part of public API, since it applies to a very old bug.
If true, detail information is discarded that was added by earlier
versions of JE (specifically 2.0.42 and 2.0.54) if it may be invalid.
This may be set to false for increased performance when those version of
JE were used but LockMode.RMW was never used.
CLEANER_FORCE_CLEAN_FILES
public static final ConfigParam CLEANER_FORCE_CLEAN_FILES
CLEANER_UPGRADE_TO_LOG_VERSION
public static final IntConfigParam CLEANER_UPGRADE_TO_LOG_VERSION
CLEANER_THREADS
public static final IntConfigParam CLEANER_THREADS
CLEANER_LOOK_AHEAD_CACHE_SIZE
public static final IntConfigParam CLEANER_LOOK_AHEAD_CACHE_SIZE
CLEANER_FOREGROUND_PROACTIVE_MIGRATION
public static final BooleanConfigParam CLEANER_FOREGROUND_PROACTIVE_MIGRATION
CLEANER_BACKGROUND_PROACTIVE_MIGRATION
public static final BooleanConfigParam CLEANER_BACKGROUND_PROACTIVE_MIGRATION
CLEANER_LAZY_MIGRATION
public static final BooleanConfigParam CLEANER_LAZY_MIGRATION
CLEANER_DB_CACHE_CLEAR_COUNT
public static final IntConfigParam CLEANER_DB_CACHE_CLEAR_COUNT
N_LOCK_TABLES
public static final IntConfigParam N_LOCK_TABLES
LOCK_TIMEOUT
public static final DurationConfigParam LOCK_TIMEOUT
LOCK_OLD_LOCK_EXCEPTIONS
public static final BooleanConfigParam LOCK_OLD_LOCK_EXCEPTIONS
TXN_TIMEOUT
public static final DurationConfigParam TXN_TIMEOUT
TXN_SERIALIZABLE_ISOLATION
public static final BooleanConfigParam TXN_SERIALIZABLE_ISOLATION
TXN_DEADLOCK_STACK_TRACE
public static final BooleanConfigParam TXN_DEADLOCK_STACK_TRACE
TXN_DUMPLOCKS
public static final BooleanConfigParam TXN_DUMPLOCKS
JE_LOGGING_DBLOG
public static final BooleanConfigParam JE_LOGGING_DBLOG
JE_CONSOLE_LEVEL
public static final ConfigParam JE_CONSOLE_LEVEL
JE_FILE_LEVEL
public static final ConfigParam JE_FILE_LEVEL
JE_DURABILITY
public static final ConfigParam JE_DURABILITY
EnvironmentParams
public EnvironmentParams()
addSupportedParam
public static void addSupportedParam(ConfigParam param)
Copyright (c) 2004-2010 Oracle. All rights reserved.