Berkeley DB Java Edition
version 3.3.69

Deprecated API


Contents
Deprecated Fields
com.sleepycat.je.LockMode.DIRTY_READ
          This has been replaced by LockMode.READ_UNCOMMITTED to conform to ANSI database isolation terminology. 
com.sleepycat.je.CursorConfig.DIRTY_READ
          This has been replaced by CursorConfig.READ_UNCOMMITTED to conform to ANSI database isolation terminology. 
 

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.TransactionConfig.getDirtyRead()
          This has been replaced by TransactionConfig.getReadUncommitted() to conform to ANSI database isolation terminology. 
com.sleepycat.je.CursorConfig.getDirtyRead()
          This has been replaced by CursorConfig.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.TransactionConfig.setDirtyRead(boolean)
          This has been replaced by TransactionConfig.setReadUncommitted(boolean) to conform to ANSI database isolation terminology. 
com.sleepycat.je.CursorConfig.setDirtyRead(boolean)
          This has been replaced by CursorConfig.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. 
 


Berkeley DB Java Edition
version 3.3.69

Copyright (c) 2004,2008 Oracle. All rights reserved.