1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 2<!--NewPage--> 3<HTML> 4<HEAD> 5<!-- Generated by javadoc (build 1.6.0_03) on Mon Apr 12 16:25:51 EDT 2010 --> 6<TITLE> 7com.sleepycat.db (Oracle - Berkeley DB Java API) 8</TITLE> 9 10<META NAME="date" CONTENT="2010-04-12"> 11 12<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../style.css" TITLE="Style"> 13 14<SCRIPT type="text/javascript"> 15function windowTitle() 16{ 17 if (location.href.indexOf('is-external=true') == -1) { 18 parent.document.title="com.sleepycat.db (Oracle - Berkeley DB Java API)"; 19 } 20} 21</SCRIPT> 22<NOSCRIPT> 23</NOSCRIPT> 24 25</HEAD> 26 27<BODY BGCOLOR="white" onload="windowTitle();"> 28<HR> 29 30 31<!-- ========= START OF TOP NAVBAR ======= --> 32<A NAME="navbar_top"><!-- --></A> 33<A HREF="#skip-navbar_top" title="Skip navigation links"></A> 34<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> 35<TR> 36<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> 37<A NAME="navbar_top_firstrow"><!-- --></A> 38<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> 39 <TR ALIGN="center" VALIGN="top"> 40 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> 41 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Package</B></FONT> </TD> 42 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD> 43 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-use.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> 44 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> 45 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> 46 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> 47 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> 48 </TR> 49</TABLE> 50</TD> 51<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> 52<b>Berkeley DB</b><br><font size="-1"> version 4.8.30</font></EM> 53</TD> 54</TR> 55 56<TR> 57<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 58 <A HREF="../../../com/sleepycat/collections/package-summary.html"><B>PREV PACKAGE</B></A> 59 <A HREF="../../../com/sleepycat/persist/package-summary.html"><B>NEXT PACKAGE</B></A></FONT></TD> 60<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 61 <A HREF="../../../index.html?com/sleepycat/db/package-summary.html" target="_top"><B>FRAMES</B></A> 62 <A HREF="package-summary.html" target="_top"><B>NO FRAMES</B></A> 63 <SCRIPT type="text/javascript"> 64 <!-- 65 if(window==top) { 66 document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); 67 } 68 //--> 69</SCRIPT> 70<NOSCRIPT> 71 <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> 72</NOSCRIPT> 73 74 75</FONT></TD> 76</TR> 77</TABLE> 78<A NAME="skip-navbar_top"></A> 79<!-- ========= END OF TOP NAVBAR ========= --> 80 81<HR> 82<H2> 83Package com.sleepycat.db 84</H2> 85Berkeley DB Java API<br> 86<a href="../../../../programmer_reference/index.html" target="_top">[reference guide]</a> <a href="../../../../programmer_reference/java_program.html" target="_top">[Java programming notes]</a>. 87<P> 88<B>See:</B> 89<BR> 90 <A HREF="#package_description"><B>Description</B></A> 91<P> 92 93<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 94<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 95<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> 96<B>Interface Summary</B></FONT></TH> 97</TR> 98<TR BGCOLOR="white" CLASS="TableRowColor"> 99<TD WIDTH="15%"><B><A HREF="../../../com/sleepycat/db/BtreeCompressor.html" title="interface in com.sleepycat.db">BtreeCompressor</A></B></TD> 100<TD>An interface specifying how Btree compression works.</TD> 101</TR> 102<TR BGCOLOR="white" CLASS="TableRowColor"> 103<TD WIDTH="15%"><B><A HREF="../../../com/sleepycat/db/BtreePrefixCalculator.html" title="interface in com.sleepycat.db">BtreePrefixCalculator</A></B></TD> 104<TD>An interface specifying how Btree prefixes should be calculated.</TD> 105</TR> 106<TR BGCOLOR="white" CLASS="TableRowColor"> 107<TD WIDTH="15%"><B><A HREF="../../../com/sleepycat/db/ErrorHandler.html" title="interface in com.sleepycat.db">ErrorHandler</A></B></TD> 108<TD>An interface specifying a callback function to be called when an error 109occurs in the Berkeley DB library.</TD> 110</TR> 111<TR BGCOLOR="white" CLASS="TableRowColor"> 112<TD WIDTH="15%"><B><A HREF="../../../com/sleepycat/db/EventHandler.html" title="interface in com.sleepycat.db">EventHandler</A></B></TD> 113<TD>An interface classs with prototype definitions of all event functions that 114can be called via the Berkeley DB event callback mechanism.</TD> 115</TR> 116<TR BGCOLOR="white" CLASS="TableRowColor"> 117<TD WIDTH="15%"><B><A HREF="../../../com/sleepycat/db/FeedbackHandler.html" title="interface in com.sleepycat.db">FeedbackHandler</A></B></TD> 118<TD>An interface specifying a function to be called to provide feedback.</TD> 119</TR> 120<TR BGCOLOR="white" CLASS="TableRowColor"> 121<TD WIDTH="15%"><B><A HREF="../../../com/sleepycat/db/ForeignKeyNullifier.html" title="interface in com.sleepycat.db">ForeignKeyNullifier</A></B></TD> 122<TD> </TD> 123</TR> 124<TR BGCOLOR="white" CLASS="TableRowColor"> 125<TD WIDTH="15%"><B><A HREF="../../../com/sleepycat/db/ForeignMultiKeyNullifier.html" title="interface in com.sleepycat.db">ForeignMultiKeyNullifier</A></B></TD> 126<TD> </TD> 127</TR> 128<TR BGCOLOR="white" CLASS="TableRowColor"> 129<TD WIDTH="15%"><B><A HREF="../../../com/sleepycat/db/Hasher.html" title="interface in com.sleepycat.db">Hasher</A></B></TD> 130<TD>An application-specified, database hash function.</TD> 131</TR> 132<TR BGCOLOR="white" CLASS="TableRowColor"> 133<TD WIDTH="15%"><B><A HREF="../../../com/sleepycat/db/LogRecordHandler.html" title="interface in com.sleepycat.db">LogRecordHandler</A></B></TD> 134<TD>A function to process application-specific log records.</TD> 135</TR> 136<TR BGCOLOR="white" CLASS="TableRowColor"> 137<TD WIDTH="15%"><B><A HREF="../../../com/sleepycat/db/MessageHandler.html" title="interface in com.sleepycat.db">MessageHandler</A></B></TD> 138<TD>An interface specifying a callback function to be called to display 139informational messages.</TD> 140</TR> 141<TR BGCOLOR="white" CLASS="TableRowColor"> 142<TD WIDTH="15%"><B><A HREF="../../../com/sleepycat/db/PanicHandler.html" title="interface in com.sleepycat.db">PanicHandler</A></B></TD> 143<TD>An interface specifying a function to be called if the database 144environment panics.</TD> 145</TR> 146<TR BGCOLOR="white" CLASS="TableRowColor"> 147<TD WIDTH="15%"><B><A HREF="../../../com/sleepycat/db/PartitionHandler.html" title="interface in com.sleepycat.db">PartitionHandler</A></B></TD> 148<TD>An interface specifying how Btree prefixes should be calculated.</TD> 149</TR> 150<TR BGCOLOR="white" CLASS="TableRowColor"> 151<TD WIDTH="15%"><B><A HREF="../../../com/sleepycat/db/RecordNumberAppender.html" title="interface in com.sleepycat.db">RecordNumberAppender</A></B></TD> 152<TD>An interface specifying a callback function that modifies stored data 153based on a generated key.</TD> 154</TR> 155<TR BGCOLOR="white" CLASS="TableRowColor"> 156<TD WIDTH="15%"><B><A HREF="../../../com/sleepycat/db/ReplicationTransport.html" title="interface in com.sleepycat.db">ReplicationTransport</A></B></TD> 157<TD>An interface specifying a replication transmit function, which sends 158information to other members of the replication group.</TD> 159</TR> 160<TR BGCOLOR="white" CLASS="TableRowColor"> 161<TD WIDTH="15%"><B><A HREF="../../../com/sleepycat/db/SecondaryKeyCreator.html" title="interface in com.sleepycat.db">SecondaryKeyCreator</A></B></TD> 162<TD>The interface implemented for extracting single-valued secondary keys from 163primary records.</TD> 164</TR> 165<TR BGCOLOR="white" CLASS="TableRowColor"> 166<TD WIDTH="15%"><B><A HREF="../../../com/sleepycat/db/SecondaryMultiKeyCreator.html" title="interface in com.sleepycat.db">SecondaryMultiKeyCreator</A></B></TD> 167<TD>The interface implemented for extracting multi-valued secondary keys from 168primary records.</TD> 169</TR> 170</TABLE> 171 172 173<P> 174 175<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 176<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 177<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> 178<B>Class Summary</B></FONT></TH> 179</TR> 180<TR BGCOLOR="white" CLASS="TableRowColor"> 181<TD WIDTH="15%"><B><A HREF="../../../com/sleepycat/db/BtreeStats.html" title="class in com.sleepycat.db">BtreeStats</A></B></TD> 182<TD>The BtreeStats object is used to return Btree 183or Recno database statistics.</TD> 184</TR> 185<TR BGCOLOR="white" CLASS="TableRowColor"> 186<TD WIDTH="15%"><B><A HREF="../../../com/sleepycat/db/CacheFile.html" title="class in com.sleepycat.db">CacheFile</A></B></TD> 187<TD>This class allows applications to modify settings for 188a <A HREF="../../../com/sleepycat/db/Database.html" title="class in com.sleepycat.db"><CODE>Database</CODE></A> using the <A HREF="../../../com/sleepycat/db/Database.html#getCacheFile()"><CODE>Database.getCacheFile</CODE></A>.</TD> 189</TR> 190<TR BGCOLOR="white" CLASS="TableRowColor"> 191<TD WIDTH="15%"><B><A HREF="../../../com/sleepycat/db/CacheFilePriority.html" title="class in com.sleepycat.db">CacheFilePriority</A></B></TD> 192<TD>Priorities that can be assigned to files in the cache.</TD> 193</TR> 194<TR BGCOLOR="white" CLASS="TableRowColor"> 195<TD WIDTH="15%"><B><A HREF="../../../com/sleepycat/db/CacheFileStats.html" title="class in com.sleepycat.db">CacheFileStats</A></B></TD> 196<TD>Statistics for a file in the cache.</TD> 197</TR> 198<TR BGCOLOR="white" CLASS="TableRowColor"> 199<TD WIDTH="15%"><B><A HREF="../../../com/sleepycat/db/CacheStats.html" title="class in com.sleepycat.db">CacheStats</A></B></TD> 200<TD>Cache statistics for a database environment.</TD> 201</TR> 202<TR BGCOLOR="white" CLASS="TableRowColor"> 203<TD WIDTH="15%"><B><A HREF="../../../com/sleepycat/db/CheckpointConfig.html" title="class in com.sleepycat.db">CheckpointConfig</A></B></TD> 204<TD>Specifies the attributes of an application invoked checkpoint operation.</TD> 205</TR> 206<TR BGCOLOR="white" CLASS="TableRowColor"> 207<TD WIDTH="15%"><B><A HREF="../../../com/sleepycat/db/CompactConfig.html" title="class in com.sleepycat.db">CompactConfig</A></B></TD> 208<TD>Configuration for <A HREF="../../../com/sleepycat/db/Database.html#compact(com.sleepycat.db.Transaction, com.sleepycat.db.DatabaseEntry, com.sleepycat.db.DatabaseEntry, com.sleepycat.db.DatabaseEntry, com.sleepycat.db.CompactConfig)"><CODE>Database.compact(com.sleepycat.db.Transaction, com.sleepycat.db.DatabaseEntry, com.sleepycat.db.DatabaseEntry, com.sleepycat.db.DatabaseEntry, com.sleepycat.db.CompactConfig)</CODE></A> operations.</TD> 209</TR> 210<TR BGCOLOR="white" CLASS="TableRowColor"> 211<TD WIDTH="15%"><B><A HREF="../../../com/sleepycat/db/CompactStats.html" title="class in com.sleepycat.db">CompactStats</A></B></TD> 212<TD>TODO</TD> 213</TR> 214<TR BGCOLOR="white" CLASS="TableRowColor"> 215<TD WIDTH="15%"><B><A HREF="../../../com/sleepycat/db/Cursor.html" title="class in com.sleepycat.db">Cursor</A></B></TD> 216<TD>A database cursor.</TD> 217</TR> 218<TR BGCOLOR="white" CLASS="TableRowColor"> 219<TD WIDTH="15%"><B><A HREF="../../../com/sleepycat/db/CursorConfig.html" title="class in com.sleepycat.db">CursorConfig</A></B></TD> 220<TD>Specify the attributes of database cursor.</TD> 221</TR> 222<TR BGCOLOR="white" CLASS="TableRowColor"> 223<TD WIDTH="15%"><B><A HREF="../../../com/sleepycat/db/Database.html" title="class in com.sleepycat.db">Database</A></B></TD> 224<TD>A database handle.</TD> 225</TR> 226<TR BGCOLOR="white" CLASS="TableRowColor"> 227<TD WIDTH="15%"><B><A HREF="../../../com/sleepycat/db/DatabaseConfig.html" title="class in com.sleepycat.db">DatabaseConfig</A></B></TD> 228<TD>Specify the attributes of a database.</TD> 229</TR> 230<TR BGCOLOR="white" CLASS="TableRowColor"> 231<TD WIDTH="15%"><B><A HREF="../../../com/sleepycat/db/DatabaseEntry.html" title="class in com.sleepycat.db">DatabaseEntry</A></B></TD> 232<TD>Encodes database key and data items as a byte array.</TD> 233</TR> 234<TR BGCOLOR="white" CLASS="TableRowColor"> 235<TD WIDTH="15%"><B><A HREF="../../../com/sleepycat/db/DatabaseStats.html" title="class in com.sleepycat.db">DatabaseStats</A></B></TD> 236<TD>Statistics for a single database.</TD> 237</TR> 238<TR BGCOLOR="white" CLASS="TableRowColor"> 239<TD WIDTH="15%"><B><A HREF="../../../com/sleepycat/db/DatabaseType.html" title="class in com.sleepycat.db">DatabaseType</A></B></TD> 240<TD>Database types.</TD> 241</TR> 242<TR BGCOLOR="white" CLASS="TableRowColor"> 243<TD WIDTH="15%"><B><A HREF="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db">Environment</A></B></TD> 244<TD>A database environment.</TD> 245</TR> 246<TR BGCOLOR="white" CLASS="TableRowColor"> 247<TD WIDTH="15%"><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html" title="class in com.sleepycat.db">EnvironmentConfig</A></B></TD> 248<TD>Specifies the attributes of an environment.</TD> 249</TR> 250<TR BGCOLOR="white" CLASS="TableRowColor"> 251<TD WIDTH="15%"><B><A HREF="../../../com/sleepycat/db/EventHandlerAdapter.html" title="class in com.sleepycat.db">EventHandlerAdapter</A></B></TD> 252<TD>An abstract class that implements <A HREF="../../../com/sleepycat/db/EventHandler.html" title="interface in com.sleepycat.db"><CODE>EventHandler</CODE></A>, used to specify a 253callback function to be called when an event is sent from the Berkeley DB 254library.</TD> 255</TR> 256<TR BGCOLOR="white" CLASS="TableRowColor"> 257<TD WIDTH="15%"><B><A HREF="../../../com/sleepycat/db/ForeignKeyDeleteAction.html" title="class in com.sleepycat.db">ForeignKeyDeleteAction</A></B></TD> 258<TD> </TD> 259</TR> 260<TR BGCOLOR="white" CLASS="TableRowColor"> 261<TD WIDTH="15%"><B><A HREF="../../../com/sleepycat/db/HashStats.html" title="class in com.sleepycat.db">HashStats</A></B></TD> 262<TD>The HashStats object is used to return Hash database statistics.</TD> 263</TR> 264<TR BGCOLOR="white" CLASS="TableRowColor"> 265<TD WIDTH="15%"><B><A HREF="../../../com/sleepycat/db/JoinConfig.html" title="class in com.sleepycat.db">JoinConfig</A></B></TD> 266<TD>The configuration properties of a <code>JoinCursor</code>.</TD> 267</TR> 268<TR BGCOLOR="white" CLASS="TableRowColor"> 269<TD WIDTH="15%"><B><A HREF="../../../com/sleepycat/db/JoinCursor.html" title="class in com.sleepycat.db">JoinCursor</A></B></TD> 270<TD>A specialized join cursor for use in performing equality or natural joins on 271secondary indices.</TD> 272</TR> 273<TR BGCOLOR="white" CLASS="TableRowColor"> 274<TD WIDTH="15%"><B><A HREF="../../../com/sleepycat/db/KeyRange.html" title="class in com.sleepycat.db">KeyRange</A></B></TD> 275<TD>An object that returns status from the <A HREF="../../../com/sleepycat/db/Database.html#getKeyRange(com.sleepycat.db.Transaction, com.sleepycat.db.DatabaseEntry)"><CODE>Database.getKeyRange</CODE></A> method.</TD> 276</TR> 277<TR BGCOLOR="white" CLASS="TableRowColor"> 278<TD WIDTH="15%"><B><A HREF="../../../com/sleepycat/db/Lock.html" title="class in com.sleepycat.db">Lock</A></B></TD> 279<TD>The locking interfaces for the database environment are methods of the 280 <A HREF="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><CODE>Environment</CODE></A> handle.</TD> 281</TR> 282<TR BGCOLOR="white" CLASS="TableRowColor"> 283<TD WIDTH="15%"><B><A HREF="../../../com/sleepycat/db/LockDetectMode.html" title="class in com.sleepycat.db">LockDetectMode</A></B></TD> 284<TD>Deadlock detection modes.</TD> 285</TR> 286<TR BGCOLOR="white" CLASS="TableRowColor"> 287<TD WIDTH="15%"><B><A HREF="../../../com/sleepycat/db/LockMode.html" title="class in com.sleepycat.db">LockMode</A></B></TD> 288<TD>Locking modes for database operations.</TD> 289</TR> 290<TR BGCOLOR="white" CLASS="TableRowColor"> 291<TD WIDTH="15%"><B><A HREF="../../../com/sleepycat/db/LockOperation.html" title="class in com.sleepycat.db">LockOperation</A></B></TD> 292<TD>Operations that can be performed on locks.</TD> 293</TR> 294<TR BGCOLOR="white" CLASS="TableRowColor"> 295<TD WIDTH="15%"><B><A HREF="../../../com/sleepycat/db/LockRequest.html" title="class in com.sleepycat.db">LockRequest</A></B></TD> 296<TD>The LockRequest object is used to encapsulate a single lock request.</TD> 297</TR> 298<TR BGCOLOR="white" CLASS="TableRowColor"> 299<TD WIDTH="15%"><B><A HREF="../../../com/sleepycat/db/LockRequestMode.html" title="class in com.sleepycat.db">LockRequestMode</A></B></TD> 300<TD>When using the default lock conflict matrix, the LockRequestMode class 301defines the set of possible lock modes.</TD> 302</TR> 303<TR BGCOLOR="white" CLASS="TableRowColor"> 304<TD WIDTH="15%"><B><A HREF="../../../com/sleepycat/db/LockStats.html" title="class in com.sleepycat.db">LockStats</A></B></TD> 305<TD>Lock statistics for a database environment.</TD> 306</TR> 307<TR BGCOLOR="white" CLASS="TableRowColor"> 308<TD WIDTH="15%"><B><A HREF="../../../com/sleepycat/db/LogCursor.html" title="class in com.sleepycat.db">LogCursor</A></B></TD> 309<TD>The LogCursor object is the handle for a cursor into the log files, 310supporting sequential access to the records stored in log files.</TD> 311</TR> 312<TR BGCOLOR="white" CLASS="TableRowColor"> 313<TD WIDTH="15%"><B><A HREF="../../../com/sleepycat/db/LogSequenceNumber.html" title="class in com.sleepycat.db">LogSequenceNumber</A></B></TD> 314<TD>The LogSequenceNumber object is a <em>log sequence number</em> which 315specifies a unique location in a log file.</TD> 316</TR> 317<TR BGCOLOR="white" CLASS="TableRowColor"> 318<TD WIDTH="15%"><B><A HREF="../../../com/sleepycat/db/LogStats.html" title="class in com.sleepycat.db">LogStats</A></B></TD> 319<TD>Log statistics for a database environment.</TD> 320</TR> 321<TR BGCOLOR="white" CLASS="TableRowColor"> 322<TD WIDTH="15%"><B><A HREF="../../../com/sleepycat/db/MultipleDataEntry.html" title="class in com.sleepycat.db">MultipleDataEntry</A></B></TD> 323<TD>A DatabaseEntry that holds multiple data items returned by a single 324<A HREF="../../../com/sleepycat/db/Database.html" title="class in com.sleepycat.db"><CODE>Database</CODE></A> or <A HREF="../../../com/sleepycat/db/Cursor.html" title="class in com.sleepycat.db"><CODE>Cursor</CODE></A> get call.</TD> 325</TR> 326<TR BGCOLOR="white" CLASS="TableRowColor"> 327<TD WIDTH="15%"><B><A HREF="../../../com/sleepycat/db/MultipleEntry.html" title="class in com.sleepycat.db">MultipleEntry</A></B></TD> 328<TD>An abstract class representing a DatabaseEntry that holds multiple results 329returned by a single <A HREF="../../../com/sleepycat/db/Cursor.html" title="class in com.sleepycat.db"><CODE>Cursor</CODE></A> get method.</TD> 330</TR> 331<TR BGCOLOR="white" CLASS="TableRowColor"> 332<TD WIDTH="15%"><B><A HREF="../../../com/sleepycat/db/MultipleKeyDataEntry.html" title="class in com.sleepycat.db">MultipleKeyDataEntry</A></B></TD> 333<TD>A DatabaseEntry that holds multiple key/data pairs returned by a single 334<A HREF="../../../com/sleepycat/db/Database.html" title="class in com.sleepycat.db"><CODE>Database</CODE></A> or <A HREF="../../../com/sleepycat/db/Cursor.html" title="class in com.sleepycat.db"><CODE>Cursor</CODE></A> get call.</TD> 335</TR> 336<TR BGCOLOR="white" CLASS="TableRowColor"> 337<TD WIDTH="15%"><B><A HREF="../../../com/sleepycat/db/MultipleKeyNIODataEntry.html" title="class in com.sleepycat.db">MultipleKeyNIODataEntry</A></B></TD> 338<TD>A DatabaseEntry that holds multiple key/data pairs returned by a single 339<A HREF="../../../com/sleepycat/db/Database.html" title="class in com.sleepycat.db"><CODE>Database</CODE></A> or <A HREF="../../../com/sleepycat/db/Cursor.html" title="class in com.sleepycat.db"><CODE>Cursor</CODE></A> get call.</TD> 340</TR> 341<TR BGCOLOR="white" CLASS="TableRowColor"> 342<TD WIDTH="15%"><B><A HREF="../../../com/sleepycat/db/MultipleNIODataEntry.html" title="class in com.sleepycat.db">MultipleNIODataEntry</A></B></TD> 343<TD>A DatabaseEntry that holds multiple data items returned by a single 344<A HREF="../../../com/sleepycat/db/Database.html" title="class in com.sleepycat.db"><CODE>Database</CODE></A> or <A HREF="../../../com/sleepycat/db/Cursor.html" title="class in com.sleepycat.db"><CODE>Cursor</CODE></A> get call.</TD> 345</TR> 346<TR BGCOLOR="white" CLASS="TableRowColor"> 347<TD WIDTH="15%"><B><A HREF="../../../com/sleepycat/db/MultipleRecnoDataEntry.html" title="class in com.sleepycat.db">MultipleRecnoDataEntry</A></B></TD> 348<TD>A DatabaseEntry that holds multiple record number/data pairs returned by a 349single <A HREF="../../../com/sleepycat/db/Database.html" title="class in com.sleepycat.db"><CODE>Database</CODE></A> or <A HREF="../../../com/sleepycat/db/Cursor.html" title="class in com.sleepycat.db"><CODE>Cursor</CODE></A> get call.</TD> 350</TR> 351<TR BGCOLOR="white" CLASS="TableRowColor"> 352<TD WIDTH="15%"><B><A HREF="../../../com/sleepycat/db/MultipleRecnoNIODataEntry.html" title="class in com.sleepycat.db">MultipleRecnoNIODataEntry</A></B></TD> 353<TD>A DatabaseEntry that holds multiple record number/data pairs returned by a 354single <A HREF="../../../com/sleepycat/db/Database.html" title="class in com.sleepycat.db"><CODE>Database</CODE></A> or <A HREF="../../../com/sleepycat/db/Cursor.html" title="class in com.sleepycat.db"><CODE>Cursor</CODE></A> get call.</TD> 355</TR> 356<TR BGCOLOR="white" CLASS="TableRowColor"> 357<TD WIDTH="15%"><B><A HREF="../../../com/sleepycat/db/MutexStats.html" title="class in com.sleepycat.db">MutexStats</A></B></TD> 358<TD>Statistics about mutexes in a Berkeley DB database environment, returned 359by <A HREF="../../../com/sleepycat/db/Environment.html#getMutexStats(com.sleepycat.db.StatsConfig)"><CODE>Environment.getMutexStats(com.sleepycat.db.StatsConfig)</CODE></A></TD> 360</TR> 361<TR BGCOLOR="white" CLASS="TableRowColor"> 362<TD WIDTH="15%"><B><A HREF="../../../com/sleepycat/db/OperationStatus.html" title="class in com.sleepycat.db">OperationStatus</A></B></TD> 363<TD>Status values from database operations.</TD> 364</TR> 365<TR BGCOLOR="white" CLASS="TableRowColor"> 366<TD WIDTH="15%"><B><A HREF="../../../com/sleepycat/db/PreparedTransaction.html" title="class in com.sleepycat.db">PreparedTransaction</A></B></TD> 367<TD>The PreparedTransaction object is used to encapsulate a single prepared, 368but not yet resolved, transaction.</TD> 369</TR> 370<TR BGCOLOR="white" CLASS="TableRowColor"> 371<TD WIDTH="15%"><B><A HREF="../../../com/sleepycat/db/QueueStats.html" title="class in com.sleepycat.db">QueueStats</A></B></TD> 372<TD>The QueueStats object is used to return Queue database statistics.</TD> 373</TR> 374<TR BGCOLOR="white" CLASS="TableRowColor"> 375<TD WIDTH="15%"><B><A HREF="../../../com/sleepycat/db/RecoveryOperation.html" title="class in com.sleepycat.db">RecoveryOperation</A></B></TD> 376<TD>The recovery operation being performed when <A HREF="../../../com/sleepycat/db/LogRecordHandler.html#handleLogRecord(com.sleepycat.db.Environment, com.sleepycat.db.DatabaseEntry, com.sleepycat.db.LogSequenceNumber, com.sleepycat.db.RecoveryOperation)"><CODE>LogRecordHandler.handleLogRecord</CODE></A> is called.</TD> 377</TR> 378<TR BGCOLOR="white" CLASS="TableRowColor"> 379<TD WIDTH="15%"><B><A HREF="../../../com/sleepycat/db/ReplicationConfig.html" title="class in com.sleepycat.db">ReplicationConfig</A></B></TD> 380<TD>Settings that configure Berkeley DB replication.</TD> 381</TR> 382<TR BGCOLOR="white" CLASS="TableRowColor"> 383<TD WIDTH="15%"><B><A HREF="../../../com/sleepycat/db/ReplicationHostAddress.html" title="class in com.sleepycat.db">ReplicationHostAddress</A></B></TD> 384<TD>A simple wrapper class to hold information needed to define 385a host in a replication group.</TD> 386</TR> 387<TR BGCOLOR="white" CLASS="TableRowColor"> 388<TD WIDTH="15%"><B><A HREF="../../../com/sleepycat/db/ReplicationManagerAckPolicy.html" title="class in com.sleepycat.db">ReplicationManagerAckPolicy</A></B></TD> 389<TD>A class that provides definitions for the types of network ack policyto use 390when transmitting messages between replication sites using theReplication 391Manager.</TD> 392</TR> 393<TR BGCOLOR="white" CLASS="TableRowColor"> 394<TD WIDTH="15%"><B><A HREF="../../../com/sleepycat/db/ReplicationManagerSiteInfo.html" title="class in com.sleepycat.db">ReplicationManagerSiteInfo</A></B></TD> 395<TD>A simple wrapper class to hold information needed to define a replication site.</TD> 396</TR> 397<TR BGCOLOR="white" CLASS="TableRowColor"> 398<TD WIDTH="15%"><B><A HREF="../../../com/sleepycat/db/ReplicationManagerStartPolicy.html" title="class in com.sleepycat.db">ReplicationManagerStartPolicy</A></B></TD> 399<TD>This class provides definitions of the various start policies thatcan be specified when starting a replication client using the<A HREF="../../../com/sleepycat/db/Environment.html#replicationManagerStart(int, com.sleepycat.db.ReplicationManagerStartPolicy)"><CODE>Environment.replicationManagerStart</CODE></A> call.</TD> 400</TR> 401<TR BGCOLOR="white" CLASS="TableRowColor"> 402<TD WIDTH="15%"><B><A HREF="../../../com/sleepycat/db/ReplicationManagerStats.html" title="class in com.sleepycat.db">ReplicationManagerStats</A></B></TD> 403<TD>Replication Manager statistics for a database environment.</TD> 404</TR> 405<TR BGCOLOR="white" CLASS="TableRowColor"> 406<TD WIDTH="15%"><B><A HREF="../../../com/sleepycat/db/ReplicationStats.html" title="class in com.sleepycat.db">ReplicationStats</A></B></TD> 407<TD>Replication statistics for a database environment.</TD> 408</TR> 409<TR BGCOLOR="white" CLASS="TableRowColor"> 410<TD WIDTH="15%"><B><A HREF="../../../com/sleepycat/db/ReplicationStatus.html" title="class in com.sleepycat.db">ReplicationStatus</A></B></TD> 411<TD>The return status from processing a replication message.</TD> 412</TR> 413<TR BGCOLOR="white" CLASS="TableRowColor"> 414<TD WIDTH="15%"><B><A HREF="../../../com/sleepycat/db/ReplicationTimeoutType.html" title="class in com.sleepycat.db">ReplicationTimeoutType</A></B></TD> 415<TD>The ReplicationTimeoutType defines the types of timeouts that can beconfigured for the Berkeley Db replication functionality.</TD> 416</TR> 417<TR BGCOLOR="white" CLASS="TableRowColor"> 418<TD WIDTH="15%"><B><A HREF="../../../com/sleepycat/db/SecondaryConfig.html" title="class in com.sleepycat.db">SecondaryConfig</A></B></TD> 419<TD>The configuration properties of a <code>SecondaryDatabase</code> extend 420those of a primary <code>Database</code>.</TD> 421</TR> 422<TR BGCOLOR="white" CLASS="TableRowColor"> 423<TD WIDTH="15%"><B><A HREF="../../../com/sleepycat/db/SecondaryCursor.html" title="class in com.sleepycat.db">SecondaryCursor</A></B></TD> 424<TD>A database cursor for a secondary database.</TD> 425</TR> 426<TR BGCOLOR="white" CLASS="TableRowColor"> 427<TD WIDTH="15%"><B><A HREF="../../../com/sleepycat/db/SecondaryDatabase.html" title="class in com.sleepycat.db">SecondaryDatabase</A></B></TD> 428<TD>A secondary database handle.</TD> 429</TR> 430<TR BGCOLOR="white" CLASS="TableRowColor"> 431<TD WIDTH="15%"><B><A HREF="../../../com/sleepycat/db/Sequence.html" title="class in com.sleepycat.db">Sequence</A></B></TD> 432<TD>A Sequence handle is used to manipulate a sequence record in a database.</TD> 433</TR> 434<TR BGCOLOR="white" CLASS="TableRowColor"> 435<TD WIDTH="15%"><B><A HREF="../../../com/sleepycat/db/SequenceConfig.html" title="class in com.sleepycat.db">SequenceConfig</A></B></TD> 436<TD>Specify the attributes of a sequence.</TD> 437</TR> 438<TR BGCOLOR="white" CLASS="TableRowColor"> 439<TD WIDTH="15%"><B><A HREF="../../../com/sleepycat/db/SequenceStats.html" title="class in com.sleepycat.db">SequenceStats</A></B></TD> 440<TD>A SequenceStats object is used to return sequence statistics.</TD> 441</TR> 442<TR BGCOLOR="white" CLASS="TableRowColor"> 443<TD WIDTH="15%"><B><A HREF="../../../com/sleepycat/db/StatsConfig.html" title="class in com.sleepycat.db">StatsConfig</A></B></TD> 444<TD>Specifies the attributes of a statistics retrieval operation.</TD> 445</TR> 446<TR BGCOLOR="white" CLASS="TableRowColor"> 447<TD WIDTH="15%"><B><A HREF="../../../com/sleepycat/db/Transaction.html" title="class in com.sleepycat.db">Transaction</A></B></TD> 448<TD>The Transaction object is the handle for a transaction.</TD> 449</TR> 450<TR BGCOLOR="white" CLASS="TableRowColor"> 451<TD WIDTH="15%"><B><A HREF="../../../com/sleepycat/db/TransactionConfig.html" title="class in com.sleepycat.db">TransactionConfig</A></B></TD> 452<TD>Specifies the attributes of a database environment transaction.</TD> 453</TR> 454<TR BGCOLOR="white" CLASS="TableRowColor"> 455<TD WIDTH="15%"><B><A HREF="../../../com/sleepycat/db/TransactionStats.html" title="class in com.sleepycat.db">TransactionStats</A></B></TD> 456<TD>Transaction statistics for a database environment.</TD> 457</TR> 458<TR BGCOLOR="white" CLASS="TableRowColor"> 459<TD WIDTH="15%"><B><A HREF="../../../com/sleepycat/db/TransactionStats.Active.html" title="class in com.sleepycat.db">TransactionStats.Active</A></B></TD> 460<TD> </TD> 461</TR> 462<TR BGCOLOR="white" CLASS="TableRowColor"> 463<TD WIDTH="15%"><B><A HREF="../../../com/sleepycat/db/VerboseConfig.html" title="class in com.sleepycat.db">VerboseConfig</A></B></TD> 464<TD>Specifies the attributes of a verification operation.</TD> 465</TR> 466<TR BGCOLOR="white" CLASS="TableRowColor"> 467<TD WIDTH="15%"><B><A HREF="../../../com/sleepycat/db/VerifyConfig.html" title="class in com.sleepycat.db">VerifyConfig</A></B></TD> 468<TD>Specifies the attributes of a verification operation.</TD> 469</TR> 470</TABLE> 471 472 473<P> 474 475<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 476<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 477<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> 478<B>Exception Summary</B></FONT></TH> 479</TR> 480<TR BGCOLOR="white" CLASS="TableRowColor"> 481<TD WIDTH="15%"><B><A HREF="../../../com/sleepycat/db/DatabaseException.html" title="class in com.sleepycat.db">DatabaseException</A></B></TD> 482<TD>The root of all database exceptions.</TD> 483</TR> 484<TR BGCOLOR="white" CLASS="TableRowColor"> 485<TD WIDTH="15%"><B><A HREF="../../../com/sleepycat/db/DeadlockException.html" title="class in com.sleepycat.db">DeadlockException</A></B></TD> 486<TD>DeadlockException is thrown to a thread of control when multiple threads 487competing for a lock are 488deadlocked, when a lock request has timed out 489or when a lock request would need to block and the transaction has been 490configured to not wait for locks.</TD> 491</TR> 492<TR BGCOLOR="white" CLASS="TableRowColor"> 493<TD WIDTH="15%"><B><A HREF="../../../com/sleepycat/db/LockNotGrantedException.html" title="class in com.sleepycat.db">LockNotGrantedException</A></B></TD> 494<TD>A LockNotGrantedException is thrown when a lock requested using the 495<A HREF="../../../com/sleepycat/db/Environment.html#getLock(int, boolean, com.sleepycat.db.DatabaseEntry, com.sleepycat.db.LockRequestMode)"><CODE>Environment.getLock</CODE></A> or <A HREF="../../../com/sleepycat/db/Environment.html#lockVector(int, boolean, com.sleepycat.db.LockRequest[])"><CODE>Environment.lockVector</CODE></A> 496methods, where the noWait flag or lock timers were configured, could not 497be granted before the wait-time expired.</TD> 498</TR> 499<TR BGCOLOR="white" CLASS="TableRowColor"> 500<TD WIDTH="15%"><B><A HREF="../../../com/sleepycat/db/MemoryException.html" title="class in com.sleepycat.db">MemoryException</A></B></TD> 501<TD>This exception is thrown when a <A HREF="../../../com/sleepycat/db/DatabaseEntry.html" title="class in com.sleepycat.db"><CODE>DatabaseEntry</CODE></A> 502passed to a <A HREF="../../../com/sleepycat/db/Database.html" title="class in com.sleepycat.db"><CODE>Database</CODE></A> or <A HREF="../../../com/sleepycat/db/Cursor.html" title="class in com.sleepycat.db"><CODE>Cursor</CODE></A> method is not large 503enough to hold a value being returned.</TD> 504</TR> 505<TR BGCOLOR="white" CLASS="TableRowColor"> 506<TD WIDTH="15%"><B><A HREF="../../../com/sleepycat/db/ReplicationDuplicateMasterException.html" title="class in com.sleepycat.db">ReplicationDuplicateMasterException</A></B></TD> 507<TD>The replication group has more than one master.</TD> 508</TR> 509<TR BGCOLOR="white" CLASS="TableRowColor"> 510<TD WIDTH="15%"><B><A HREF="../../../com/sleepycat/db/ReplicationHandleDeadException.html" title="class in com.sleepycat.db">ReplicationHandleDeadException</A></B></TD> 511<TD>Thrown when a database handle has been invalidated because a replication 512election unrolled a committed transaction.</TD> 513</TR> 514<TR BGCOLOR="white" CLASS="TableRowColor"> 515<TD WIDTH="15%"><B><A HREF="../../../com/sleepycat/db/ReplicationHoldElectionException.html" title="class in com.sleepycat.db">ReplicationHoldElectionException</A></B></TD> 516<TD>An election is needed.</TD> 517</TR> 518<TR BGCOLOR="white" CLASS="TableRowColor"> 519<TD WIDTH="15%"><B><A HREF="../../../com/sleepycat/db/ReplicationJoinFailureException.html" title="class in com.sleepycat.db">ReplicationJoinFailureException</A></B></TD> 520<TD>Thrown if a new master has been chosen but the client is unable to synchronize 521with the new master (possibly because the client has been configured 522with the <A HREF="../../../com/sleepycat/db/ReplicationConfig.html#NOAUTOINIT"><CODE>ReplicationConfig.NOAUTOINIT</CODE></A> setting to turn-off automatic 523internal initialization).</TD> 524</TR> 525<TR BGCOLOR="white" CLASS="TableRowColor"> 526<TD WIDTH="15%"><B><A HREF="../../../com/sleepycat/db/ReplicationLeaseExpiredException.html" title="class in com.sleepycat.db">ReplicationLeaseExpiredException</A></B></TD> 527<TD>Thrown if a master lease has expired.</TD> 528</TR> 529<TR BGCOLOR="white" CLASS="TableRowColor"> 530<TD WIDTH="15%"><B><A HREF="../../../com/sleepycat/db/ReplicationLeaseTimeoutException.html" title="class in com.sleepycat.db">ReplicationLeaseTimeoutException</A></B></TD> 531<TD>Thrown if a master lease has timed out.</TD> 532</TR> 533<TR BGCOLOR="white" CLASS="TableRowColor"> 534<TD WIDTH="15%"><B><A HREF="../../../com/sleepycat/db/ReplicationLockoutException.html" title="class in com.sleepycat.db">ReplicationLockoutException</A></B></TD> 535<TD>Thrown when an operation was blocked by client/master synchronization.</TD> 536</TR> 537<TR BGCOLOR="white" CLASS="TableRowColor"> 538<TD WIDTH="15%"><B><A HREF="../../../com/sleepycat/db/ReplicationSiteUnavailableException.html" title="class in com.sleepycat.db">ReplicationSiteUnavailableException</A></B></TD> 539<TD>Thrown if replication group was unable to elect a master, or was unable to 540complete the election in the specified timeout period.</TD> 541</TR> 542<TR BGCOLOR="white" CLASS="TableRowColor"> 543<TD WIDTH="15%"><B><A HREF="../../../com/sleepycat/db/RunRecoveryException.html" title="class in com.sleepycat.db">RunRecoveryException</A></B></TD> 544<TD>Thrown when the database environment needs to be recovered.</TD> 545</TR> 546<TR BGCOLOR="white" CLASS="TableRowColor"> 547<TD WIDTH="15%"><B><A HREF="../../../com/sleepycat/db/VersionMismatchException.html" title="class in com.sleepycat.db">VersionMismatchException</A></B></TD> 548<TD>Thrown if the version of the Berkeley DB library doesn't match the version that created 549the database environment.</TD> 550</TR> 551</TABLE> 552 553 554<P> 555<A NAME="package_description"><!-- --></A><H2> 556Package com.sleepycat.db Description 557</H2> 558 559<P> 560Berkeley DB Java API<br> 561<a href="../../../../programmer_reference/index.html" target="_top">[reference guide]</a> <a href="../../../../programmer_reference/java_program.html" target="_top">[Java programming notes]</a>. 562<p> 563This package is a wrapper around the Berkeley DB library. It uses JNI 564to provide access to Berkeley DB, which is implemented in C. That means 565that a shared library or DLL must be available when applications use 566this package. 567<p> 568There are also several utilities provided with Berkeley DB that make 569administrative tasks possible from the command line. For more 570information, see the page <a href="../../../../api_reference/C/utilities.html" 571target="_top">Berkeley DB Supporting Utilities</a>. 572<P> 573 574<P> 575<DL> 576</DL> 577<HR> 578 579 580<!-- ======= START OF BOTTOM NAVBAR ====== --> 581<A NAME="navbar_bottom"><!-- --></A> 582<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> 583<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> 584<TR> 585<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> 586<A NAME="navbar_bottom_firstrow"><!-- --></A> 587<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> 588 <TR ALIGN="center" VALIGN="top"> 589 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> 590 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Package</B></FONT> </TD> 591 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD> 592 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-use.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> 593 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> 594 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> 595 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> 596 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> 597 </TR> 598</TABLE> 599</TD> 600<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> 601<b>Berkeley DB</b><br><font size="-1"> version 4.8.30</font></EM> 602</TD> 603</TR> 604 605<TR> 606<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 607 <A HREF="../../../com/sleepycat/collections/package-summary.html"><B>PREV PACKAGE</B></A> 608 <A HREF="../../../com/sleepycat/persist/package-summary.html"><B>NEXT PACKAGE</B></A></FONT></TD> 609<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 610 <A HREF="../../../index.html?com/sleepycat/db/package-summary.html" target="_top"><B>FRAMES</B></A> 611 <A HREF="package-summary.html" target="_top"><B>NO FRAMES</B></A> 612 <SCRIPT type="text/javascript"> 613 <!-- 614 if(window==top) { 615 document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); 616 } 617 //--> 618</SCRIPT> 619<NOSCRIPT> 620 <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> 621</NOSCRIPT> 622 623 624</FONT></TD> 625</TR> 626</TABLE> 627<A NAME="skip-navbar_bottom"></A> 628<!-- ======== END OF BOTTOM NAVBAR ======= --> 629 630<HR> 631<font size=1>Copyright (c) 1996-2009 Oracle. All rights reserved.</font> 632</BODY> 633</HTML> 634