Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
   /*-
    * See the file LICENSE for redistribution information.
    *
    * Copyright (c) 2002, 2013 Oracle and/or its affiliates.  All rights reserved.
    *
    */
   
   package com.sleepycat.je.config;
   
  import java.util.HashMap;
  import java.util.Map;
  
  
  public class EnvironmentParams {
  
      /* The prefix for all JE replication parameters. */
      public static final String REP_PARAM_PREFIX = "je.rep.";
  
      /*
       * The map of supported environment parameters where the key is parameter
       * name and the data is the configuration parameter object. Put first,
       * before any declarations of ConfigParams.
       */
      public final static Map<String,ConfigParamSUPPORTED_PARAMS =
          new HashMap<String,ConfigParam>();
  
      /*
       * Only environment parameters that are part of the public API are
       * represented by String constants in EnvironmentConfig.
       */
      public static final LongConfigParam MAX_MEMORY =
                              null,           // min
                              null,           // max
                              Long.valueOf(0),// default uses je.maxMemoryPercent
                              true,           // mutable
                              false);         // forReplication
  
      public static final IntConfigParam MAX_MEMORY_PERCENT =
                             Integer.valueOf(1),  // min
                             Integer.valueOf(90), // max
                             Integer.valueOf(60), // default
                             true,                // mutable
                             false);              // forReplication
  
      public static final BooleanConfigParam ENV_SHARED_CACHE =
                                 false,         // default
                                 false,         // mutable
                                 false);        // forReplication
  
    
Used by utilities, not exposed in the API. If true, even when recovery is not run (see ENV_RECOVERY) by a utility, the btree and dup comparators will be instantiated. Set to true by utilities such as DbScavenger that need comparators in spite of not needing recovery.
  
      public static final BooleanConfigParam ENV_COMPARATORS_REQUIRED =
          new BooleanConfigParam("je.env.comparatorsRequired",
                                 false,         // default
                                 false,         // mutable
                                 false);        // forReplication
  
    
Used by utilities, not exposed in the API. If true, an environment is created with recovery and the related daemon threads are enabled.
  
      public static final BooleanConfigParam ENV_RECOVERY =
          new BooleanConfigParam("je.env.recovery",
                                 true,          // default
                                 false,         // mutable
                                 false);        // forReplication
  
      public static final BooleanConfigParam ENV_RECOVERY_FORCE_CHECKPOINT =
                                 false,         // default
                                 false,         // mutable
                                 false);        // forReplication
  
      public static final BooleanConfigParam
              new BooleanConfigParam
                  (.,
                   false,         // default
                   false,         // mutable
                   false);        // forReplication
  
      public static final BooleanConfigParam ENV_RUN_INCOMPRESSOR =
                                true,          // default
                                true,          // mutable
                                false);        // forReplication
 
    
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.
 
     public static final BooleanConfigParam ENV_RUN_EVICTOR =
                                true,         // default
                                true,         // mutable
                                false);       // forReplication
 
     public static final BooleanConfigParam ENV_DUP_CONVERT_PRELOAD_ALL =
                                true,         // default
                                false,        // mutable
                                false);       // forReplication
 
    

Deprecated:
as of JE 4.1
 
     public static final DurationConfigParam EVICTOR_WAKEUP_INTERVAL =
         new DurationConfigParam("je.evictor.wakeupInterval",
                                 "1 s",                 // min
                                 "75 min",              // max
                                 "5 s",                 // default
                                 false,                 // mutable
                                 false);
 
     public static final IntConfigParam EVICTOR_CORE_THREADS =
                             Integer.valueOf(0),             // min
                             Integer.valueOf(.), // max
                             Integer.valueOf(1),             // default
                             true,                           // mutable
                             false);                         // forReplication
 
     public static final IntConfigParam EVICTOR_MAX_THREADS =
                             Integer.valueOf(1),             // min
                             Integer.valueOf(.), // max
                             Integer.valueOf(10),             // default
                             true,                           // mutable
                             false);                         // forReplication
 
     public static final DurationConfigParam EVICTOR_KEEP_ALIVE =
                                 "1 s",          // min
                                 "24 h",         // max
                                 "10 min",       // default
                                 true,           // mutable
                                 false);         // forReplication
 
    
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.
 
     public static final DurationConfigParam EVICTOR_TERMINATE_TIMEOUT =
         new DurationConfigParam("je.env.terminateTimeout",
                                 "1 ms",         // min
                                 "60 s",         // max
                                 "10 s",         // default
                                 true,           // mutable
                                 false);         // forReplication
 
     public static final BooleanConfigParam EVICTOR_ALLOW_BIN_DELTAS =
                                true,         // default
                                false,        // mutable
                                false);       // forReplication
 
     public static final BooleanConfigParam ENV_RUN_CHECKPOINTER =
                                true,        // default
                                true,        // mutable
                                false);      // forReplication
 
     public static final BooleanConfigParam ENV_RUN_CLEANER =
                                true,        // default
                                true,        // mutable
                                false);      // forReplication
 
     public static final IntConfigParam ENV_BACKGROUND_READ_LIMIT =
                             Integer.valueOf(0),                 // min
                             Integer.valueOf(.), // max
                             Integer.valueOf(0),                 // default
                             true,                           // mutable
                             false);                         // forReplication
 
     public static final IntConfigParam ENV_BACKGROUND_WRITE_LIMIT =
                             Integer.valueOf(0),                 // min
                             Integer.valueOf(.), // max
                             Integer.valueOf(0),                 // default
                             true,                           // mutable
                             false);                         // forReplication
 
     public static final DurationConfigParam ENV_BACKGROUND_SLEEP_INTERVAL =
         new DurationConfigParam
                                "1 ms",          // min
                                null,            // max
                                "1 ms",          // default
                                true,            // mutable
                                false);          // forReplication
 
     public static final BooleanConfigParam ENV_CHECK_LEAKS =
                                true,              // default
                                false,             // mutable
                                false);            // forReplication
 
     public static final BooleanConfigParam ENV_FORCED_YIELD =
                                false,             // default
                                false,             // mutable
                                false);            // forReplication
 
     public static final BooleanConfigParam ENV_INIT_TXN =
                                false,             // default
                                false,             // mutable
                                false);            // forReplication
 
     public static final BooleanConfigParam ENV_INIT_LOCKING =
                                true,              // default
                                false,             // mutable
                                false);            // forReplication
 
     public static final BooleanConfigParam ENV_RDONLY =
                                false,             // default
                                false,             // mutable
                                false);            // forReplication
 
     public static final BooleanConfigParam ENV_FAIR_LATCHES =
                                false,             // default
                                false,             // mutable
                                false);            // forReplication
 
    
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.
 
     public static final BooleanConfigParam ENV_SHARED_LATCHES =
         new BooleanConfigParam("je.env.sharedLatches",
                                true,             // default
                                false,            // mutable
                                false);           // forReplication
 
     public static final BooleanConfigParam ENV_DB_EVICTION =
                                true,             // default
                                false,            // mutable
                                false);           // forReplication
 
     public static final IntConfigParam ADLER32_CHUNK_SIZE =
                            Integer.valueOf(0),       // min
                            Integer.valueOf(1 << 20), // max
                            Integer.valueOf(0),       // default
                            true,                 // mutable
                            false);               // forReplication
 
     /*
      * Database Logs
      */
     /* default: 2k * NUM_LOG_BUFFERS */
     public static final int MIN_LOG_BUFFER_SIZE = 2048;
     public static final int NUM_LOG_BUFFERS_DEFAULT = 3;
     public static final long LOG_MEM_SIZE_MIN =
     public static final String LOG_MEM_SIZE_MIN_STRING =
         Long.toString();
 
     public static final LongConfigParam LOG_MEM_SIZE =
                             Long.valueOf(),// min
                             null,              // max
                             Long.valueOf(0),       // by default computed
                                                // from je.maxMemory
                             false,             // mutable
                             false);            // forReplication
 
     public static final IntConfigParam NUM_LOG_BUFFERS =
                            Integer.valueOf(2),     // min
                            null,               // max
                            Integer.valueOf(), // default
                            false,              // mutable
                            false);             // forReplication
 
     public static final IntConfigParam LOG_BUFFER_MAX_SIZE =
                            Integer.valueOf(1<<10),  // min
                            null,                // max
                            Integer.valueOf(1<<20),  // default
                            false,               // mutable
                            false);              // forReplication
 
     public static final IntConfigParam LOG_FAULT_READ_SIZE =
                            Integer.valueOf(32),   // min
                            null,              // max
                            Integer.valueOf(2048), // default
                            false,             // mutable
                            false);            // forReplication
 
     public static final IntConfigParam LOG_ITERATOR_READ_SIZE =
                            Integer.valueOf(128),  // min
                            null,              // max
                            Integer.valueOf(8192), // default
                            false,             // mutable
                            false);            // forReplication
 
     public static final IntConfigParam LOG_ITERATOR_MAX_SIZE =
                            Integer.valueOf(128),  // min
                            null,              // max
                            Integer.valueOf(16777216), // default
                            false,             // mutable
                            false);            // forReplication
 
     public static final LongConfigParam LOG_FILE_MAX =
         (. ?
                             Long.valueOf(10000),       // min
                             Long.valueOf(10000000),    // max
                             Long.valueOf(100000),      // default
                             false,                 // mutable
                             false) :               // forReplication
                             Long.valueOf(1000000),      // min
                             Long.valueOf(1073741824L), // max
                             Long.valueOf(10000000),    // default
                             false,                 // mutable
                             false));               // forReplication
 
     public static final IntConfigParam LOG_N_DATA_DIRECTORIES =
                            Integer.valueOf(0),    // min
                            Integer.valueOf(256),  // max
                            Integer.valueOf(0),    // default
                            false,                 // mutable
                            false);                // forReplication
 
     public static final BooleanConfigParam LOG_CHECKSUM_READ =
                                true,               // default
                                false,              // mutable
                                false);             // forReplication
 
     public static final BooleanConfigParam LOG_VERIFY_CHECKSUMS =
                                false,              // default
                                false,              // mutable
                                false);             // forReplication
 
     public static final BooleanConfigParam LOG_MEMORY_ONLY =
                                false,              // default
                                false,              // mutable
                                false);             // forReplication
 
     public static final IntConfigParam LOG_FILE_CACHE_SIZE =
                            Integer.valueOf(3),    // min
                            null,                  // max
                            Integer.valueOf(100),  // default
                            false,                 // mutable
                            false);                // forReplication
 
     public static final DurationConfigParam LOG_FSYNC_TIMEOUT =
                                 "10 ms",           // min
                                 null,              // max
                                 "500 ms",          // default
                                 false,             // mutable
                                 false);            // forReplication
 
     public static final BooleanConfigParam LOG_USE_ODSYNC =
                                false,          // default
                                false,          // mutable
                                false);         // forReplication
 
     public static final BooleanConfigParam LOG_USE_NIO =
                                false,          // default
                                false,          // mutable
                                false);         // forReplication
 
     public static final BooleanConfigParam LOG_USE_WRITE_QUEUE =
         (. ?
                                false,          // default
                                false,          // mutable
                                false) :        // forReplication
                                true,           // default
                                false,          // mutable
                                false));        // forReplication
 
     public static final IntConfigParam LOG_WRITE_QUEUE_SIZE =
                            Integer.valueOf(1 << 12),    // min (4KB)
                            Integer.valueOf(1 << 28),    // max (32MB)
                            Integer.valueOf(1 << 20),    // default (1MB)
                            false,             // mutable
                            false);            // forReplication
 
     public static final BooleanConfigParam LOG_DIRECT_NIO =
                                false,          // default
                                false,          // mutable
                                false);         // forReplication
 
     public static final LongConfigParam LOG_CHUNKED_NIO =
                             Long.valueOf(0L),      // min
                             Long.valueOf(1 << 26), // max (64M)
                             Long.valueOf(0L),      // default (no chunks)
                             false,             // mutable
                             false);            // forReplication
 
    

Deprecated:
As of 3.3, no longer used Optimize cleaner operation for temporary deferred write DBs.
 
     public static final BooleanConfigParam LOG_DEFERREDWRITE_TEMP =
         new BooleanConfigParam("je.deferredWrite.temp",
                                false,          // default
                                false,          // mutable
                                false);         // forReplication
 
     /*
      * Tree
      */
     public static final IntConfigParam NODE_MAX =
                            Integer.valueOf(4),     // min
                            Integer.valueOf(32767), // max
                            Integer.valueOf(128),   // default
                            false,              // mutable
                            false);             // forReplication
 
     public static final IntConfigParam NODE_MAX_DUPTREE =
                            Integer.valueOf(4),     // min
                            Integer.valueOf(32767), // max
                            Integer.valueOf(128),   // default
                            false,              // mutable
                            false);             // forReplication
 
     public static final IntConfigParam BIN_MAX_DELTAS =
                            Integer.valueOf(0),     // min
                            Integer.valueOf(100),   // max
                            Integer.valueOf(10),    // default
                            false,              // mutable
                            false);             // forReplication
 
     public static final IntConfigParam BIN_DELTA_PERCENT =
                            Integer.valueOf(0),     // min
                            Integer.valueOf(75),    // max
                            Integer.valueOf(25),    // default
                            false,              // mutable
                            false);             // forReplication
 
     public static final LongConfigParam MIN_TREE_MEMORY =
                             Long.valueOf(50 * 1024),   // min
                             null,                  // max
                             Long.valueOf(500 * 1024),  // default
                             true,                  // mutable
                             false);                // forReplication
 
     public static final IntConfigParam TREE_COMPACT_MAX_KEY_LENGTH =
                            Integer.valueOf(0),     // min
                            Integer.valueOf(255),   // max
                            Integer.valueOf(16),    // default
                            false,              // mutable
                            false);             // forReplication
 
     /*
      * IN Compressor
      */
     public static final DurationConfigParam COMPRESSOR_WAKEUP_INTERVAL =
                                 "1 s",                 // min
                                 "75 min",              // max
                                 "5 s",                 // default
                                 false,                 // mutable
                                 false);                // forReplication
 
     public static final IntConfigParam COMPRESSOR_RETRY =
                            Integer.valueOf(0),                // min
                            Integer.valueOf(.),// max
                            Integer.valueOf(3),                // default
                            false,                         // mutable
                            false);                        // forReplication
 
     public static final DurationConfigParam COMPRESSOR_LOCK_TIMEOUT =
                                 null,                  // min
                                 "75 min",              // max
                                 "500 ms",              // default
                                 false,                 // mutable
                                 false);                // forReplication
 
     /*
      * Evictor
      */
     public static final LongConfigParam EVICTOR_EVICT_BYTES =
                              Long.valueOf(1024),       // min
                              null,                 // max
                              Long.valueOf(524288),     // default
                              false,                // mutable
                              false);               // forReplication
 
    

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.
 
     public static final IntConfigParam EVICTOR_USEMEM_FLOOR =
         new IntConfigParam("je.evictor.useMemoryFloor",
                            Integer.valueOf(50),        // min
                            Integer.valueOf(100),       // max
                            Integer.valueOf(95),        // default
                            false,                  // mutable
                            false);                 // forReplication
 
    

Deprecated:
As of 1.7.2, this is replaced by je.evictor.nodesPerScan The evictor percentage of total nodes to scan per wakeup.
 
     public static final IntConfigParam EVICTOR_NODE_SCAN_PERCENTAGE =
         new IntConfigParam("je.evictor.nodeScanPercentage",
                            Integer.valueOf(1),          // min
                            Integer.valueOf(100),        // max
                            Integer.valueOf(10),         // default
                            false,                   // mutable
                            false);                  // forReplication
 
    

Deprecated:
As of 1.7.2, 1 node is chosen per scan. The evictor percentage of scanned nodes to evict per wakeup.
 
     public static final
         new IntConfigParam("je.evictor.evictionBatchPercentage",
                            Integer.valueOf(1),          // min
                            Integer.valueOf(100),        // max
                            Integer.valueOf(10),         // default
                            false,                   // mutable
                            false);                  // forReplication
 
     public static final IntConfigParam EVICTOR_NODES_PER_SCAN =
                            Integer.valueOf(1),           // min
                            Integer.valueOf(1000),        // max
                            Integer.valueOf(10),          // default
                            false,                    // mutable
                            false);                   // forReplication
 
     public static final IntConfigParam EVICTOR_CRITICAL_PERCENTAGE =
                            Integer.valueOf(0),           // min
                            Integer.valueOf(1000),        // max
                            Integer.valueOf(0),           // default
                            false,                    // mutable
                            false);                   // forReplication
 
    

Deprecated:
as of JE 4.1
 
     public static final IntConfigParam EVICTOR_RETRY =
                            Integer.valueOf(0),                // min
                            Integer.valueOf(.),// max
                            Integer.valueOf(3),                // default
                            false,                         // mutable
                            false);                        // forReplication
 
     public static final BooleanConfigParam EVICTOR_LRU_ONLY =
                                true,                  // default
                                false,                 // mutable
                                false);                // forReplication
 
     public static final BooleanConfigParam EVICTOR_FORCED_YIELD =
                                false,             // default
                                false,             // mutable
                                false);            // forReplication
 
     /*
      * Checkpointer
      */
     public static final LongConfigParam CHECKPOINTER_BYTES_INTERVAL =
                             Long.valueOf(0),               // min
                             Long.valueOf(.),  // max
                             (. ?
                              Long.valueOf(200000) :
                              Long.valueOf(20000000)),      // default
                             false,                     // mutable
                             false);                    // forReplication
 
     public static final DurationConfigParam CHECKPOINTER_WAKEUP_INTERVAL =
                                 "1 s",                 // min
                                 "75 min",              // max
                                 "0",                   // default
                                 false,                 // mutable
                                 false);                // forReplication
 
     public static final IntConfigParam CHECKPOINTER_RETRY =
                            Integer.valueOf(0),                 // min
                            Integer.valueOf(.), // max
                            Integer.valueOf(3),                 // default
                            false,                          // mutable
                            false);                         // forReplication
 
     public static final BooleanConfigParam CHECKPOINTER_HIGH_PRIORITY =
                                false// default
                                true,  // mutable
                                false);// forReplication
 
     /*
      * Cleaner
      */
     public static final IntConfigParam CLEANER_MIN_UTILIZATION =
                            Integer.valueOf(0),           // min
                            Integer.valueOf(90),          // max
                            Integer.valueOf(50),          // default
                            true,                     // mutable
                            false);                   // forReplication
 
     public static final IntConfigParam CLEANER_MIN_FILE_UTILIZATION =
                            Integer.valueOf(0),           // min
                            Integer.valueOf(50),          // max
                            Integer.valueOf(5),           // default
                            true,                     // mutable
                            false);                   // forReplication
 
     public static final LongConfigParam CLEANER_BYTES_INTERVAL =
                             Long.valueOf(0),              // min
                             Long.valueOf(.), // max
                             Long.valueOf(0),              // default
                             true,                     // mutable
                             false);                   // forReplication
 
     public static final BooleanConfigParam CLEANER_FETCH_OBSOLETE_SIZE =
                                false// default
                                true,  // mutable
                                false);// forReplication
 
     public static final IntConfigParam CLEANER_DEADLOCK_RETRY =
                            Integer.valueOf(0),                // min
                            Integer.valueOf(.),// max
                            Integer.valueOf(3),                // default
                            true,                          // mutable
                            false);                        // forReplication
 
     public static final DurationConfigParam CLEANER_LOCK_TIMEOUT =
                                 "0",                // min
                                 "75 min",           // max
                                 "500 ms",           // default
                                 true,               // mutable
                                 false);             // forReplication
 
     public static final BooleanConfigParam CLEANER_REMOVE =
                                true,                 // default
                                true,                 // mutable
                                false);               // forReplication
 
    

Deprecated:
As of 1.7.1, no longer used.
 
     public static final IntConfigParam CLEANER_MIN_FILES_TO_DELETE =
         new IntConfigParam("je.cleaner.minFilesToDelete",
                            Integer.valueOf(1),           // min
                            Integer.valueOf(1000000),     // max
                            Integer.valueOf(5),           // default
                            false,                    // mutable
                            false);        // forReplication
 
    

Deprecated:
As of 2.0, no longer used.
 
     public static final IntConfigParam CLEANER_RETRIES =
         new IntConfigParam("je.cleaner.retries",
                            Integer.valueOf(0),           // min
                            Integer.valueOf(1000),        // max
                            Integer.valueOf(10),          // default
                            false,                    // mutable
                            false);        // forReplication
 
    

Deprecated:
As of 2.0, no longer used.
 
     public static final IntConfigParam CLEANER_RESTART_RETRIES =
         new IntConfigParam("je.cleaner.restartRetries",
                            Integer.valueOf(0),           // min
                            Integer.valueOf(1000),        // max
                            Integer.valueOf(5),           // default
                            false,                    // mutable
                            false);        // forReplication
 
     public static final IntConfigParam CLEANER_MIN_AGE =
                            Integer.valueOf(1),           // min
                            Integer.valueOf(1000),        // max
                            Integer.valueOf(2),           // default
                            true,                     // mutable
                            false);                   // forReplication
 
     public static final IntConfigParam CLEANER_CALC_RECENT_LN_SIZES =
         new IntConfigParam("je.cleaner.calc.recentLNSizes",
                            Integer.valueOf(1),        // min
                            Integer.valueOf(100),      // max
                            Integer.valueOf(10),       // default
                            false,                     // mutable
                            false);                    // forReplication
 
     public static final IntConfigParam CLEANER_CALC_MIN_UNCOUNTED_LNS =
         new IntConfigParam("je.cleaner.calc.minUncountedLNs",
                            Integer.valueOf(0),        // min
                            Integer.valueOf(1000000),  // max
                            Integer.valueOf(1000),     // default
                            false,                     // mutable
                            false);                    // forReplication
 
     public static final IntConfigParam CLEANER_CALC_INITIAL_ADJUSTMENTS =
         new IntConfigParam("je.cleaner.calc.initialAdjustments",
                            Integer.valueOf(1),        // min
                            Integer.valueOf(100),      // max
                            Integer.valueOf(5),        // default
                            false,                     // mutable
                            false);                    // forReplication
 
     public static final IntConfigParam CLEANER_CALC_MIN_PROBE_SKIP_FILES =
         new IntConfigParam("je.cleaner.calc.minProbeSkipFiles",
                            Integer.valueOf(1),        // min
                            Integer.valueOf(100),      // max
                            Integer.valueOf(5),        // default
                            false,                     // mutable
                            false);                    // forReplication
 
     public static final IntConfigParam CLEANER_CALC_MAX_PROBE_SKIP_FILES =
         new IntConfigParam("je.cleaner.calc.maxProbeSkipFiles",
                            Integer.valueOf(1),        // min
                            Integer.valueOf(100),      // max
                            Integer.valueOf(20),       // default
                            false,                     // mutable
                            false);                    // forReplication
 
    
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.
 
     public static final BooleanConfigParam CLEANER_CLUSTER =
         new BooleanConfigParam("je.cleaner.cluster",
                                false,               // default
                                true,                // mutable
                                false);              // forReplication
 
    
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.
 
     public static final BooleanConfigParam CLEANER_CLUSTER_ALL =
         new BooleanConfigParam("je.cleaner.clusterAll",
                                false,              // default
                                true,               // mutable
                                false);             // forReplication
 
     public static final IntConfigParam CLEANER_MAX_BATCH_FILES =
                            Integer.valueOf(0),         // min
                            Integer.valueOf(100000),    // max
                            Integer.valueOf(0),         // default
                            true,                   // mutable
                            false);                 // forReplication
 
     public static final IntConfigParam CLEANER_READ_SIZE =
                            Integer.valueOf(128),  // min
                            null,              // max
                            Integer.valueOf(0),    // default
                            true,              // mutable
                            false);            // forReplication
 
    
DiskOrderedScan
 
     public static final DurationConfigParam DOS_PRODUCER_QUEUE_TIMEOUT =
                                 "0",                // min
                                 "75 min",           // max
                                 "10 seconds",       // default
                                 true,               // mutable
                                 false);             // forReplication
 
    
Not part of public API. If true, the cleaner tracks and stores detailed information that is used to decrease the cost of cleaning.
 
     public static final BooleanConfigParam CLEANER_TRACK_DETAIL =
         new BooleanConfigParam("je.cleaner.trackDetail",
                                true,          // default
                                false,         // mutable
                                false);        // forReplication
 
     public static final IntConfigParam CLEANER_DETAIL_MAX_MEMORY_PERCENTAGE =
                            Integer.valueOf(1),    // min
                            Integer.valueOf(90),   // max
                            Integer.valueOf(2),    // default
                            true,              // mutable
                            false);            // forReplication
 
    
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.
 
     public static final BooleanConfigParam CLEANER_RMW_FIX =
         new BooleanConfigParam("je.cleaner.rmwFix",
                                true,          // default
                                false,         // mutable
                                false);        // forReplication
 
     public static final ConfigParam CLEANER_FORCE_CLEAN_FILES =
                         "",                  // default
                         false,               // mutable
                         false);              // forReplication
 
     public static final IntConfigParam CLEANER_UPGRADE_TO_LOG_VERSION =
                            Integer.valueOf(-1),  // min
                            null,             // max
                            Integer.valueOf(0),   // default
                            false,            // mutable
                            false);           // forReplication
 
     public static final IntConfigParam CLEANER_THREADS =
                            Integer.valueOf(1),   // min
                            null,             // max
                            Integer.valueOf(1),   // default
                            true,             // mutable
                            false);           // forReplication
 
     public static final IntConfigParam CLEANER_LOOK_AHEAD_CACHE_SIZE =
                            Integer.valueOf(0),    // min
                            null,              // max
                            Integer.valueOf(8192), // default
                            true,              // mutable
                            false);            // forReplication
 
     public static final BooleanConfigParam
                            false,                // default
                            true,                 // mutable
                            false);               // forReplication
 
     public static final BooleanConfigParam
                            false,                // default
                            true,                 // mutable
                            false);               // forReplication
 
     public static final BooleanConfigParam CLEANER_LAZY_MIGRATION =
                            false,             // default
                            true,              // mutable
                            false);            // forReplication
 
     /* Processed entry count after which we clear the database cache. */
     public static final IntConfigParam ENV_DB_CACHE_CLEAR_COUNT =
         new IntConfigParam("je.env.dbCacheClearCount",
                            Integer.valueOf(1),    // min
                            null,                  // max
                            Integer.valueOf(100),  // default
                            true,                  // mutable
                            false);                // forReplication
 
     /*
      * Transactions
      */
     public static final IntConfigParam N_LOCK_TABLES =
                            Integer.valueOf(1),    // min
                            Integer.valueOf(32767),// max
                            Integer.valueOf(1),    // default
                            false,             // mutable
                            false);            // forReplication
 
     public static final DurationConfigParam LOCK_TIMEOUT =
                                 null,              // min
                                 "75 min",          // max
                                 "500 ms",          // default
                                 false,             // mutable
                                 false);            // forReplication
 
     public static final BooleanConfigParam LOCK_OLD_LOCK_EXCEPTIONS =
                                false,              // default
                                false,              // mutable
                                false);             // forReplication
 
     public static final DurationConfigParam TXN_TIMEOUT =
                                 null,              // min
                                 "75 min",          // max
                                 "0",               // default
                                 false,             // mutable
                                 false);            // forReplication
 
     public static final BooleanConfigParam TXN_SERIALIZABLE_ISOLATION =
                                false,              // default
                                false,              // mutable
                                false);             // forReplication
 
     public static final BooleanConfigParam TXN_DEADLOCK_STACK_TRACE =
                                false,              // default
                                true,               // mutable
                                false);             // forReplication
 
     public static final BooleanConfigParam TXN_DUMPLOCKS =
                                false,              // default
                                true,               // mutable
                                false);             // forReplication
 
     /*
      * If true, exceptions and critical cleaner and recovery event tracing
      * is written into the .jdb files.
      */
     public static final BooleanConfigParam JE_LOGGING_DBLOG =
         new BooleanConfigParam("je.env.logTrace",
                                true,               // default
                                false,              // mutable
                                false);             // forReplication
 
    /*
     * The level for JE ConsoleHandler.
     */
    public static final ConfigParam JE_CONSOLE_LEVEL =
                        "OFF",                     // default
                        true,                      // mutable
                        false) {                   // for Replication
            @Override
            public void validateValue(String level)
                throws NullPointerExceptionIllegalArgumentException {
                /* Parse the level. */
                Level.parse(level);
            }
    };
    /*
     * The level for JE FileHandler.
     */
    public static final ConfigParam JE_FILE_LEVEL =
                        "INFO",                    // default
                        true,                      // mutable
                        false) {                   // for Replication
            @Override
            public void validateValue(String level)
                throws NullPointerExceptionIllegalArgumentException {
                /* Parse the level. */
                Level.parse(level);
            }
    };
    /*
     * The default below for JE_DURABILITY is currently null to avoid mixed
     * mode durability API exceptions. Once the "sync" API has been removed, we
     * can provide a default like: sync,sync,simple majority that's compatible
     * with the current sync default stand alone behavior and is safe, though
     * not the best performing setup, wrt HA.
     */
    public static final ConfigParam JE_DURABILITY =
                        null,                  // default
                        true,                  // mutable
                        false) {               // forReplication
        @Override
        public void validateValue(String durabilityString)
            throws IllegalArgumentException {
            // Parse the string to determine whether it's valid
            Durability.parse(durabilityString);
        }
    };

    
If environment startup exceeds this duration, startup statistics are logged and can be found in the je.info file.
    public static final DurationConfigParam STARTUP_DUMP_THRESHOLD =
                                "0",               // min
                                null,              // max
                                "5 min",           // default
                                false,             // mutable
                                false);            // forReplication
    /*
     * Replication params are in com.sleepycat.je.rep.impl.ReplicatorParams
     */
    /*
     * Add a configuration parameter to the set supported by an environment.
     */
    public static void addSupportedParam(ConfigParam param) {
        .put(param.getName(), param);
    }