Deprecated API


Contents
Deprecated Fields
com.sleepycat.je.config.EnvironmentParams.CLEANER_MIN_FILES_TO_DELETE
          As of 1.7.1, no longer used. 
com.sleepycat.je.config.EnvironmentParams.CLEANER_RESTART_RETRIES
          As of 2.0, no longer used. 
com.sleepycat.je.config.EnvironmentParams.CLEANER_RETRIES
          As of 2.0, no longer used. 
com.sleepycat.je.CursorConfig.DIRTY_READ
          This has been replaced by CursorConfig.READ_UNCOMMITTED to conform to ANSI database isolation terminology. 
com.sleepycat.je.LockMode.DIRTY_READ
          This has been replaced by LockMode.READ_UNCOMMITTED to conform to ANSI database isolation terminology. 
com.sleepycat.je.config.EnvironmentParams.EVICTOR_EVICTION_BATCH_PERCENTAGE
          As of 1.7.2, 1 node is chosen per scan. The evictor percentage of scanned nodes to evict per wakeup. 
com.sleepycat.je.config.EnvironmentParams.EVICTOR_NODE_SCAN_PERCENTAGE
          As of 1.7.2, this is replaced by je.evictor.nodesPerScan The evictor percentage of total nodes to scan per wakeup. 
com.sleepycat.je.config.EnvironmentParams.EVICTOR_USEMEM_FLOOR
          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. 
com.sleepycat.je.config.EnvironmentParams.LOG_DEFERREDWRITE_TEMP
          As of 3.3, no longer used Optimize cleaner operation for temporary deferred write DBs. 
 

Deprecated Methods
com.sleepycat.collections.StoredCollections.dirtyReadCollection(Collection)
          This method has been replaced by StoredCollections.configuredCollection(java.util.Collection, com.sleepycat.je.CursorConfig) in order to conform to ANSI database isolation terminology. To obtain a dirty-read collection, pass CursorConfig.READ_UNCOMMITTED 
com.sleepycat.collections.StoredCollections.dirtyReadList(List)
          This method has been replaced by StoredCollections.configuredList(java.util.List, com.sleepycat.je.CursorConfig) in order to conform to ANSI database isolation terminology. To obtain a dirty-read list, pass CursorConfig.READ_UNCOMMITTED 
com.sleepycat.collections.StoredCollections.dirtyReadMap(Map)
          This method has been replaced by StoredCollections.configuredMap(java.util.Map, com.sleepycat.je.CursorConfig) in order to conform to ANSI database isolation terminology. To obtain a dirty-read map, pass CursorConfig.READ_UNCOMMITTED 
com.sleepycat.collections.StoredCollections.dirtyReadSet(Set)
          This method has been replaced by StoredCollections.configuredSet(java.util.Set, com.sleepycat.je.CursorConfig) in order to conform to ANSI database isolation terminology. To obtain a dirty-read set, pass CursorConfig.READ_UNCOMMITTED 
com.sleepycat.collections.StoredCollections.dirtyReadSortedMap(SortedMap)
          This method has been replaced by StoredCollections.configuredSortedMap(java.util.SortedMap, com.sleepycat.je.CursorConfig) in order to conform to ANSI database isolation terminology. To obtain a dirty-read map, pass CursorConfig.READ_UNCOMMITTED 
com.sleepycat.collections.StoredCollections.dirtyReadSortedSet(SortedSet)
          This method has been replaced by StoredCollections.configuredSortedSet(java.util.SortedSet, com.sleepycat.je.CursorConfig) in order to conform to ANSI database isolation terminology. To obtain a dirty-read set, pass CursorConfig.READ_UNCOMMITTED 
com.sleepycat.je.EnvironmentStats.getCacheDataBytes()
          Please use EnvironmentStats.getDataBytes() to get the amount of cache used for data and use EnvironmentStats.getAdminBytes(), EnvironmentStats.getLockBytes() and EnvironmentStats.getBufferBytes() to get other components of the total cache usage (EnvironmentStats.getCacheTotalBytes()). 
com.sleepycat.util.RuntimeExceptionWrapper.getDetail()
          replaced by RuntimeExceptionWrapper.getCause(). 
com.sleepycat.util.IOExceptionWrapper.getDetail()
          replaced by IOExceptionWrapper.getCause(). 
com.sleepycat.util.ExceptionWrapper.getDetail()
          replaced by ExceptionWrapper.getCause(). 
com.sleepycat.je.CursorConfig.getDirtyRead()
          This has been replaced by CursorConfig.getReadUncommitted() to conform to ANSI database isolation terminology. 
com.sleepycat.je.TransactionConfig.getDirtyRead()
          This has been replaced by TransactionConfig.getReadUncommitted() to conform to ANSI database isolation terminology. 
com.sleepycat.collections.StoredContainer.isDirtyRead()
          This method has been replaced by StoredContainer.getCursorConfig(). CursorConfig.isReadUncommitted may be called to determine whether dirty-read is enabled. 
com.sleepycat.collections.StoredContainer.isDirtyReadAllowed()
          This method is deprecated with no replacement in this class. In the DB product, DatabaseConfig.getReadUncommitted may be called. 
com.sleepycat.collections.StoredCollection.iterator(boolean)
          Please use StoredCollection.storedIterator() or StoredCollection.storedIterator(boolean) instead. Because the iterator returned must be closed, the method name iterator is confusing since standard Java iterators do not need to be closed. 
com.sleepycat.bind.tuple.TupleBase.newOutput()
          replaced by TupleBase.getTupleOutput(E) 
com.sleepycat.bind.tuple.TupleBase.newOutput(byte[])
          replaced by TupleBase.getTupleOutput(E) 
com.sleepycat.je.Database.preload(long)
          As of JE 2.0.83, replaced by Database.preload(PreloadConfig).

 
com.sleepycat.je.Database.preload(long, long)
          As of JE 2.0.101, replaced by Database.preload(PreloadConfig).

 
com.sleepycat.je.CursorConfig.setDirtyRead(boolean)
          This has been replaced by CursorConfig.setReadUncommitted(boolean) to conform to ANSI database isolation terminology. 
com.sleepycat.je.TransactionConfig.setDirtyRead(boolean)
          This has been replaced by TransactionConfig.setReadUncommitted(boolean) to conform to ANSI database isolation terminology. 
 

Deprecated Constructors
com.sleepycat.je.util.DbDump(Environment, String, PrintStream, String, boolean)
          Please use the 4-arg ctor without outputDirectory instead.