<!--"$Id: 2.3.14.html,v 1.3 2007/05/17 18:17:18 bostic Exp $ (Sleepycat) $Date: 2007/05/17 18:17:18 $"--> <html> <head> <title>The Berkeley DB Package: Interface Changes introduced in DB 2.3.14</title> <meta name="description" content="DB: A database programmatic toolkit."> <meta name="keywords" content="embedded,database,programmatic,toolkit,b+tree,btree,hash,hashing,transaction,transactions,locking,logging,access method,access methods"> </head> <body bgcolor=white> <h3 align=center>Interface Changes introduced in DB 2.3.14:</h3> <ol> <li> There was a mismatch in previous releases of DB between the documented interface to <b>lock_detect</b>(3) (or <b>DbLockTab::detect()</b>) and the DB software. This mismatch was resolved in favor of the source code. Any software that uses this interface should be checked to make sure that the second argument is the "flags" argument, and the third argument is the "atype" argument. <font color=red> This change may NOT be transparent to applications. </font> <p><li> There is an new DB interface, <b>db_value_set</b>(), described in db_internal(3). The only purpose of the <b>db_value_set</b>() interface in the DB 2.3.14 release is to permit applications to set the number of spins that mutexes will make before blocking, when a mutex is not immediately available. This is intended to permit applications on multi-CPU architectures a finer granularity of control over mutexes. As with <b>db_jump_set</b>(), <b>db_value_set</b>() is only available from the C API, and is expected to be used by few applications. <p><li> We've added a Java API for DB. The Java API should be considered a beta release, and therefore more subject to change than normal. We would very much appreciate email on any comments and/or experiences you have in using the DB Java API! <p> The Java files and directories in the source distribution are: <p> <table border> <tr> <td>db/java/src/com/sleepycat/db</td> <td>The Java API</td> </tr><tr> <td>db/java/README</td> <td>Information on building the Java API.</td> </tr><tr> <td>db/man/man.html/index_java.html</td> <td>The Java API manual pages (available only in HTML).</td> </tr><tr> <td>db/java/src/com/sleepycat/examples/</td> <td>The example programs recoded in Java.</td> </tr><tr> <td>db/libdb_java</td> <td>Sources to build the libdb_java shared library.</td> </tr> </table> </ol> </body> </html>