1<!--"$Id: 2.3.14.html,v 1.3 2007/05/17 18:17:18 bostic Exp $ (Sleepycat) $Date: 2007/05/17 18:17:18 $"-->
2<html>
3<head>
4<title>The Berkeley DB Package: Interface Changes introduced in DB 2.3.14</title>
5<meta name="description" content="DB: A database programmatic toolkit.">
6<meta name="keywords" content="embedded,database,programmatic,toolkit,b+tree,btree,hash,hashing,transaction,transactions,locking,logging,access method,access methods">
7</head>
8<body bgcolor=white>
9
10<h3 align=center>Interface Changes introduced in DB 2.3.14:</h3>
11
12<ol>
13
14<li>
15There was a mismatch in previous releases of DB between the
16documented interface to <b>lock_detect</b>(3) (or
17<b>DbLockTab::detect()</b>) and the DB software.  This mismatch
18was resolved in favor of the source code.  Any software that
19uses this interface should be checked to make sure that the
20second argument is the "flags" argument, and the third argument is
21the "atype" argument.
22<font color=red>
23This change may NOT be transparent to applications.
24</font>
25
26<p><li>
27There is an new DB interface, <b>db_value_set</b>(), described in
28db_internal(3).
29The only purpose of the <b>db_value_set</b>() interface in the DB
302.3.14 release is to permit applications to set the number of spins
31that mutexes will make before blocking, when a mutex is not immediately
32available.  This is intended to permit applications on multi-CPU
33architectures a finer granularity of control over mutexes.
34As with <b>db_jump_set</b>(), <b>db_value_set</b>() is only available
35from the C API, and is expected to be used by few applications.
36
37<p><li>
38We've added a Java API for DB.
39The Java API should be considered a beta release,
40and therefore more subject to change than normal.
41We would very much appreciate email on any comments and/or experiences
42you have in using the DB Java API!
43<p>
44The Java files and directories in the source distribution are:
45<p>
46<table border>
47<tr>
48<td>db/java/src/com/sleepycat/db</td>
49<td>The Java API</td>
50</tr><tr>
51<td>db/java/README</td>
52<td>Information on building the Java API.</td>
53</tr><tr>
54<td>db/man/man.html/index_java.html</td>
55<td>The Java API manual pages (available only in HTML).</td>
56</tr><tr>
57<td>db/java/src/com/sleepycat/examples/</td>
58<td>The example programs recoded in Java.</td>
59</tr><tr>
60<td>db/libdb_java</td>
61<td>Sources to build the libdb_java shared library.</td>
62</tr>
63</table>
64
65</ol>
66</body>
67</html>
68