Deprecated API


Contents
Deprecated Fields
com.sleepycat.je.CursorConfig.DIRTY_READ
            
com.sleepycat.je.LockMode.DIRTY_READ
            
 

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.util.ExceptionWrapper.getDetail()
          replaced by ExceptionWrapper.getCause(). 
com.sleepycat.util.IOExceptionWrapper.getDetail()
          replaced by IOExceptionWrapper.getCause(). 
com.sleepycat.util.RuntimeExceptionWrapper.getDetail()
          replaced by RuntimeExceptionWrapper.getCause(). 
com.sleepycat.je.CursorConfig.getDirtyRead()
            
com.sleepycat.je.TransactionConfig.getDirtyRead()
            
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.bind.tuple.TupleBase.newOutput()
          replaced by TupleBase.getTupleOutput(java.lang.Object) 
com.sleepycat.bind.tuple.TupleBase.newOutput(byte[])
          replaced by TupleBase.getTupleOutput(java.lang.Object) 
com.sleepycat.je.CursorConfig.setDirtyRead(boolean)
            
com.sleepycat.je.TransactionConfig.setDirtyRead(boolean)
            
com.sleepycat.je.dbi.EnvironmentImpl.truncate(Locker, DatabaseImpl)
          This supports Database.truncate(), which is deprecated. 
com.sleepycat.je.dbi.DbTree.truncate(Locker, DatabaseImpl)
          This method used by Database.truncate() 
com.sleepycat.je.SecondaryDatabase.truncate(Transaction, boolean)
            
com.sleepycat.je.Database.truncate(Transaction, boolean)
          It has not been possible to implement this method with correct transactional semantics without incurring a performance penalty on all Database operations. Truncate functionality has been moved to Environment.truncateDatabase(), which requires that all Database handles on the database are closed before the truncate operation can execute. 
com.sleepycat.je.Database.truncateInternal(Locker, boolean)
            
 



Copyright 2004-2005 Sleepycat, Inc. All Rights Reserved.