|
Berkeley DB Java Edition version 3.0.12 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
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.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(java.lang.Object) |
|
com.sleepycat.bind.tuple.TupleBase.newOutput(byte[])
replaced by TupleBase.getTupleOutput(java.lang.Object) |
|
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. |
|
com.sleepycat.je.Database.truncate(Transaction, boolean)
As of JE 1.7, replaced by Environment.truncateDatabase(Transaction, String, boolean) .
The Database class is thread safe and may be used concurrently by multiple threads, using multiple transactions. It was not possible to supply correct transactional semantics for this method in all cases without imposing a performance penalty on all operations. Specifically, a truncate operation executed within one transaction can be incorrectly seen before commit by other transactions if those later transactions use the same Database handle. The replacement method, Environment.truncateDatabase(), avoids these issues because all Database handles must be closed before the truncateDatabase() method is called.
|
|
Berkeley DB Java Edition version 3.0.12 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |