Class and Description |
---|
com.sleepycat.je.jmx.JEMBeanHelper
As of JE 4, JEMBeanHelper is deprecated in favor of the concrete
MBeans available by default with a JE environment. These MBeans can be
registered and enabled by the environment by setting the following JVM
property:
JEMonitor:
This MBean provides general stats monitoring and access to basic
environment level operations.
JEMBeanHelper is a utility class for the MBean implementation which wants to
add management of a JE environment to its capabilities. MBean
implementations can contain a JEMBeanHelper instance to get MBean metadata
for JE and to set attributes, get attributes, and invoke operations.
com.sleepycat.je.jmx.JEMonitor and the example program jmx.JEApplicationMBean are two MBean implementations which provide support different application use cases. See those classes for examples of how to use JEMBeanHelper. |
com.sleepycat.je.LockStats
as of 4.0.10, replaced by
Environment.getStats(StatsConfig) . |
Exceptions and Description |
---|
com.sleepycat.je.DeadlockException
temporarily until true deadlock detection is implemented.
Presently, {code DeadlockException} is replaced by
LockConflictException as the common base class for lock conflict
exceptions. |
com.sleepycat.je.LockNotGrantedException
replaced by
LockNotAvailableException |
com.sleepycat.je.rep.MasterReplicaTransitionException
as of JE 5.0.88 because the environment no longer needs to
restart when transitioning from master to replica.
|
com.sleepycat.je.RunRecoveryException
replaced by
EnvironmentFailureException and Environment.isValid() . |
Field and Description | ||||||||
---|---|---|---|---|---|---|---|---|
com.sleepycat.je.rep.ReplicationConfig.ALLOW_UNKNOWN_STATE_ENV_OPEN
For internal use only.
When set to
true , it permits opening of a
ReplicatedEnvironment handle in the ReplicatedEnvironment.State.UNKNOWN state, if a Master could not be
determined within the timeout specified by ReplicationConfig.ENV_SETUP_TIMEOUT . If it's false, an
UnknownMasterException exception is thrown upon expiration of
the timeout.
A ReplicatedEnvironment handle in the
|
||||||||
com.sleepycat.je.EnvironmentConfig.CLEANER_ADJUST_UTILIZATION
in JE 6.3. Adjustments are no longer needed because LN log
sizes have been stored in the Btree since JE 6.0.
|
||||||||
com.sleepycat.je.EnvironmentConfig.CLEANER_BACKGROUND_PROACTIVE_MIGRATION
This parameter is ignored and proactive migration is no
longer supported due to its negative impact on eviction and
checkpointing. To reduce a cleaner backlog, configure more cleaner
threads.
|
||||||||
com.sleepycat.je.EnvironmentConfig.CLEANER_FOREGROUND_PROACTIVE_MIGRATION
This parameter is ignored and proactive migration is no
longer supported due to its negative impact on eviction and Btree
splits. To reduce a cleaner backlog, configure more cleaner threads.
|
||||||||
com.sleepycat.je.EnvironmentConfig.CLEANER_LAZY_MIGRATION
This parameter is ignored and lazy migration is no longer
supported due to its negative impact on eviction and checkpointing.
To reduce a cleaner backlog, configure more cleaner threads.
|
||||||||
com.sleepycat.je.EnvironmentConfig.COMPRESSOR_PURGE_ROOT
as of 3.3.87. Compression of the root node no longer has
any benefit and this feature has been removed. This parameter has no
effect.
|
||||||||
com.sleepycat.je.EnvironmentConfig.EVICTOR_DEADLOCK_RETRY
as of JE 4.1, since the single evictor thread has
been replaced be a more robust thread pool.
|
||||||||
com.sleepycat.je.EnvironmentConfig.EVICTOR_LRU_ONLY
as of JE 6.0. This parameter is ignored by the new,
more efficient and more accurate evictor.
|
||||||||
com.sleepycat.je.EnvironmentConfig.EVICTOR_NODES_PER_SCAN
as of JE 6.0. This parameter is ignored by the new, more
efficient and more accurate evictor.
|
||||||||
com.sleepycat.je.rep.ReplicationConfig.HELPER_HOSTS
replaced by
ReplicationMutableConfig.HELPER_HOSTS . |
||||||||
com.sleepycat.je.EnvironmentConfig.LOG_CHUNKED_NIO
NIO is no longer used by JE and this parameter has no
effect.
|
||||||||
com.sleepycat.je.EnvironmentConfig.LOG_DIRECT_NIO
NIO is no longer used by JE and this parameter has no
effect.
|
||||||||
com.sleepycat.je.EnvironmentConfig.LOG_USE_NIO
NIO is no longer used by JE and this parameter has no
effect.
|
||||||||
com.sleepycat.je.EnvironmentConfig.NODE_DUP_TREE_MAX_ENTRIES
this property no longer has any effect;
DatabaseConfig.setNodeMaxEntries(int) should be used instead. |
||||||||
com.sleepycat.je.Durability.READ_ONLY_TXN
use
TransactionConfig.setReadOnly(boolean) instead. |
||||||||
com.sleepycat.je.rep.ReplicationConfig.REPLAY_DB_HANDLE_TIMEOUT
replaced by
ReplicationMutableConfig.REPLAY_DB_HANDLE_TIMEOUT . |
||||||||
com.sleepycat.je.rep.ReplicationConfig.REPLAY_MAX_OPEN_DB_HANDLES
replaced by
ReplicationMutableConfig.REPLAY_MAX_OPEN_DB_HANDLES . |
||||||||
com.sleepycat.je.EnvironmentConfig.TRACE_CONSOLE
in favor of
CONSOLE_LOGGING_LEVEL As of JE
4.0, use the standard java.util.logging configuration
methodologies. To enable console output, set
com.sleepycat.je.util.ConsoleHandler.level = <LEVEL> through
the java.util.logging configuration file, or through the
java.util.logging.LogManager. To set the handler level programmatically,
set "com.sleepycat.je.util.ConsoleHandler.level" in the
EnvironmentConfig object. |
||||||||
com.sleepycat.je.EnvironmentConfig.TRACE_DB
As of JE 4.0, event tracing to the .jdb files has been
separated from the java.util.logging mechanism. This parameter has
no effect.
|
||||||||
com.sleepycat.je.EnvironmentConfig.TRACE_FILE
in favor of
FILE_LOGGING_LEVEL As of JE 4.0,
use the standard java.util.logging configuration methodologies. To
enable logging output to the je.info files, set
com.sleepycat.je.util.FileHandler.level = <LEVEL> through the
java.util.logging configuration file, or through the
java.util.logging.LogManager. To set the handler level programmatically,
set "com.sleepycat.je.util.FileHandler.level" in the EnvironmentConfig
object. |
||||||||
com.sleepycat.je.EnvironmentConfig.TRACE_FILE_COUNT
As of JE 4.0, use the standard java.util.logging
configuration methodologies. To set the FileHandler output file count,
set com.sleepycat.je.util.FileHandler.count = <NUMBER>
through the java.util.logging configuration file, or through the
java.util.logging.LogManager.
|
||||||||
com.sleepycat.je.EnvironmentConfig.TRACE_FILE_LIMIT
As of JE 4.0, use the standard java.util.logging
configuration methodologies. To set the FileHandler output file size,
set com.sleepycat.je.util.FileHandler.limit = <NUMBER>
through the java.util.logging configuration file, or through the
java.util.logging.LogManager.
|
||||||||
com.sleepycat.je.EnvironmentConfig.TRACE_LEVEL
As of JE 4.0, use the standard java.util.logging
configuration methodologies. Set logging levels using class names
through the java.util.logging configuration file, or through the
java.util.logging.LogManager.
|
||||||||
com.sleepycat.je.EnvironmentConfig.TRACE_LEVEL_CLEANER
As of JE 4.0, use the standard java.util.logging
configuration methodologies. To see cleaner logging, set
com.sleepycat.je.cleaner.level = <LEVEL> through the
java.util.logging configuration file, or through the
java.util.logging.LogManager.
|
||||||||
com.sleepycat.je.EnvironmentConfig.TRACE_LEVEL_EVICTOR
As of JE 4.0, use the standard java.util.logging
configuration methodologies. To see evictor logging, set
com.sleepycat.je.evictor.level = <LEVEL> through the
java.util.logging configuration file, or through the
java.util.logging.LogManager.
|
||||||||
com.sleepycat.je.EnvironmentConfig.TRACE_LEVEL_LOCK_MANAGER
As of JE 4.0, use the standard java.util.logging
configuration methodologies. To see locking logging, set
com.sleepycat.je.txn.level = <LEVEL> through the
java.util.logging configuration file, or through the
java.util.logging.LogManager.
|
||||||||
com.sleepycat.je.EnvironmentConfig.TRACE_LEVEL_RECOVERY
As of JE 4.0, use the standard java.util.logging
configuration methodologies. To see recovery logging, set
com.sleepycat.je.recovery.level = <LEVEL> through the
java.util.logging configuration file, or through the
java.util.logging.LogManager.
|
||||||||
com.sleepycat.je.EnvironmentConfig.TREE_MAX_DELTA
as of JE 6.0. The
EnvironmentConfig.TREE_BIN_DELTA param alone now
determines whether a delta is logged. |
Constructor and Description |
---|
com.sleepycat.je.util.DbDump(Environment, String, PrintStream, String, boolean)
Please use the 4-arg ctor without outputDirectory instead.
|
com.sleepycat.je.rep.monitor.Monitor(ReplicationConfig)
As of JE 5, replaced by
Monitor.Monitor(MonitorConfig) |
Enum Constant and Description |
---|
com.sleepycat.je.CacheMode.KEEP_HOT
please use
CacheMode.DEFAULT instead. In an upcoming release
this mode will function exactly as if CacheMode.DEFAULT were specified. |
com.sleepycat.je.CacheMode.MAKE_COLD
please use
CacheMode.UNCHANGED instead. In an upcoming
release this mode will function exactly as if CacheMode.UNCHANGED were
specified. |
Copyright (c) 2002, 2015 Oracle and/or its affiliates. All rights reserved.