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.5.0) on Thu May 15 17:17:30 EDT 2008 --> 6<TITLE> 7CompactConfig (Oracle - Berkeley DB Java API) 8</TITLE> 9 10<META NAME="keywords" CONTENT="com.sleepycat.db.CompactConfig class"> 11 12<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../style.css" TITLE="Style"> 13 14<SCRIPT type="text/javascript"> 15function windowTitle() 16{ 17 parent.document.title="CompactConfig (Oracle - Berkeley DB Java API)"; 18} 19</SCRIPT> 20<NOSCRIPT> 21</NOSCRIPT> 22 23</HEAD> 24 25<BODY BGCOLOR="white" onload="windowTitle();"> 26 27 28<!-- ========= START OF TOP NAVBAR ======= --> 29<A NAME="navbar_top"><!-- --></A> 30<A HREF="#skip-navbar_top" title="Skip navigation links"></A> 31<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> 32<TR> 33<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> 34<A NAME="navbar_top_firstrow"><!-- --></A> 35<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> 36 <TR ALIGN="center" VALIGN="top"> 37 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> 38 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> 39 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> 40 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/CompactConfig.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> 41 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> 42 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> 43 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> 44 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> 45 </TR> 46</TABLE> 47</TD> 48<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> 49<b>Berkeley DB</b><br><font size="-1"> version 4.7.25</font></EM> 50</TD> 51</TR> 52 53<TR> 54<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 55 <A HREF="../../../com/sleepycat/db/CheckpointConfig.html" title="class in com.sleepycat.db"><B>PREV CLASS</B></A> 56 <A HREF="../../../com/sleepycat/db/CompactStats.html" title="class in com.sleepycat.db"><B>NEXT CLASS</B></A></FONT></TD> 57<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 58 <A HREF="../../../index.html?com/sleepycat/db/CompactConfig.html" target="_top"><B>FRAMES</B></A> 59 <A HREF="CompactConfig.html" target="_top"><B>NO FRAMES</B></A> 60 <SCRIPT type="text/javascript"> 61 <!-- 62 if(window==top) { 63 document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); 64 } 65 //--> 66</SCRIPT> 67<NOSCRIPT> 68 <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> 69</NOSCRIPT> 70 71 72</FONT></TD> 73</TR> 74<TR> 75<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 76 SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> 77<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 78DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> 79</TR> 80</TABLE> 81<A NAME="skip-navbar_top"></A> 82<!-- ========= END OF TOP NAVBAR ========= --> 83 84<HR> 85<!-- ======== START OF CLASS DATA ======== --> 86<H2> 87<FONT SIZE="-1"> 88com.sleepycat.db</FONT> 89<BR> 90Class CompactConfig</H2> 91<PRE> 92<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">java.lang.Object</A> 93 <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>com.sleepycat.db.CompactConfig</B> 94</PRE> 95<DL> 96<DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Cloneable.html" title="class or interface in java.lang">Cloneable</A></DD> 97</DL> 98<HR> 99<DL> 100<DT><PRE>public class <B>CompactConfig</B><DT>extends <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A><DT>implements <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Cloneable.html" title="class or interface in java.lang">Cloneable</A></DL> 101</PRE> 102 103<P> 104Configuration 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. 105<P> 106 107<P> 108<HR> 109 110<P> 111<!-- =========== FIELD SUMMARY =========== --> 112 113<A NAME="field_summary"><!-- --></A> 114<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 115<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 116<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> 117<B>Field Summary</B></FONT></TH> 118</TR> 119<TR BGCOLOR="white" CLASS="TableRowColor"> 120<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 121<CODE>static <A HREF="../../../com/sleepycat/db/CompactConfig.html" title="class in com.sleepycat.db">CompactConfig</A></CODE></FONT></TD> 122<TD><CODE><B><A HREF="../../../com/sleepycat/db/CompactConfig.html#DEFAULT">DEFAULT</A></B></CODE> 123 124<BR> 125 Default configuration used if null is passed to methods that create a 126 cursor.</TD> 127</TR> 128</TABLE> 129 130<!-- ======== CONSTRUCTOR SUMMARY ======== --> 131 132<A NAME="constructor_summary"><!-- --></A> 133<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 134<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 135<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> 136<B>Constructor Summary</B></FONT></TH> 137</TR> 138<TR BGCOLOR="white" CLASS="TableRowColor"> 139<TD><CODE><B><A HREF="../../../com/sleepycat/db/CompactConfig.html#CompactConfig()">CompactConfig</A></B>()</CODE> 140 141<BR> 142 Construct a default configuration object for compact operations.</TD> 143</TR> 144</TABLE> 145 146<!-- ========== METHOD SUMMARY =========== --> 147 148<A NAME="method_summary"><!-- --></A> 149<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 150<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 151<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> 152<B>Method Summary</B></FONT></TH> 153</TR> 154<TR BGCOLOR="white" CLASS="TableRowColor"> 155<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 156<CODE> int</CODE></FONT></TD> 157<TD><CODE><B><A HREF="../../../com/sleepycat/db/CompactConfig.html#getFillPercent()">getFillPercent</A></B>()</CODE> 158 159<BR> 160 Return the the desired fill percentage.</TD> 161</TR> 162<TR BGCOLOR="white" CLASS="TableRowColor"> 163<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 164<CODE> boolean</CODE></FONT></TD> 165<TD><CODE><B><A HREF="../../../com/sleepycat/db/CompactConfig.html#getFreeListOnly()">getFreeListOnly</A></B>()</CODE> 166 167<BR> 168 Return true if the whether to skip page compaction.</TD> 169</TR> 170<TR BGCOLOR="white" CLASS="TableRowColor"> 171<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 172<CODE> boolean</CODE></FONT></TD> 173<TD><CODE><B><A HREF="../../../com/sleepycat/db/CompactConfig.html#getFreeSpace()">getFreeSpace</A></B>()</CODE> 174 175<BR> 176 Return true if the whether to return pages to the filesystem.</TD> 177</TR> 178<TR BGCOLOR="white" CLASS="TableRowColor"> 179<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 180<CODE> int</CODE></FONT></TD> 181<TD><CODE><B><A HREF="../../../com/sleepycat/db/CompactConfig.html#getMaxPages()">getMaxPages</A></B>()</CODE> 182 183<BR> 184 Return the the maximum number of pages to free.</TD> 185</TR> 186<TR BGCOLOR="white" CLASS="TableRowColor"> 187<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 188<CODE> int</CODE></FONT></TD> 189<TD><CODE><B><A HREF="../../../com/sleepycat/db/CompactConfig.html#getTimeout()">getTimeout</A></B>()</CODE> 190 191<BR> 192 Return the the lock timeout set for implicit transactions, in microseconds.</TD> 193</TR> 194<TR BGCOLOR="white" CLASS="TableRowColor"> 195<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 196<CODE> void</CODE></FONT></TD> 197<TD><CODE><B><A HREF="../../../com/sleepycat/db/CompactConfig.html#setFillPercent(int)">setFillPercent</A></B>(int fillpercent)</CODE> 198 199<BR> 200 Set the desired fill percentage.</TD> 201</TR> 202<TR BGCOLOR="white" CLASS="TableRowColor"> 203<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 204<CODE> void</CODE></FONT></TD> 205<TD><CODE><B><A HREF="../../../com/sleepycat/db/CompactConfig.html#setFreeListOnly(boolean)">setFreeListOnly</A></B>(boolean freeListOnly)</CODE> 206 207<BR> 208 Configure whether to skip page compaction, only returning pages 209 to the filesystem that are already free and at the end of the file.</TD> 210</TR> 211<TR BGCOLOR="white" CLASS="TableRowColor"> 212<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 213<CODE> void</CODE></FONT></TD> 214<TD><CODE><B><A HREF="../../../com/sleepycat/db/CompactConfig.html#setFreeSpace(boolean)">setFreeSpace</A></B>(boolean freeSpace)</CODE> 215 216<BR> 217 Return pages to the filesystem if possible.</TD> 218</TR> 219<TR BGCOLOR="white" CLASS="TableRowColor"> 220<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 221<CODE> void</CODE></FONT></TD> 222<TD><CODE><B><A HREF="../../../com/sleepycat/db/CompactConfig.html#setMaxPages(int)">setMaxPages</A></B>(int maxPages)</CODE> 223 224<BR> 225 Set the maximum number of pages to free.</TD> 226</TR> 227<TR BGCOLOR="white" CLASS="TableRowColor"> 228<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 229<CODE> void</CODE></FONT></TD> 230<TD><CODE><B><A HREF="../../../com/sleepycat/db/CompactConfig.html#setTimeout(int)">setTimeout</A></B>(int timeout)</CODE> 231 232<BR> 233 Set the lock timeout for implicit transactions.</TD> 234</TR> 235</TABLE> 236 <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> 237<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 238<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> 239<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></B></TH> 240</TR> 241<TR BGCOLOR="white" CLASS="TableRowColor"> 242<TD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD> 243</TR> 244</TABLE> 245 246<P> 247 248<!-- ============ FIELD DETAIL =========== --> 249 250<A NAME="field_detail"><!-- --></A> 251<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 252<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 253<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> 254<B>Field Detail</B></FONT></TH> 255</TR> 256</TABLE> 257 258<A NAME="DEFAULT"><!-- --></A><H3> 259DEFAULT</H3> 260<PRE> 261public static final <A HREF="../../../com/sleepycat/db/CompactConfig.html" title="class in com.sleepycat.db">CompactConfig</A> <B>DEFAULT</B></PRE> 262<DL> 263<DD>Default configuration used if null is passed to methods that create a 264 cursor. 265<P> 266<DL> 267</DL> 268</DL> 269 270<!-- ========= CONSTRUCTOR DETAIL ======== --> 271 272<A NAME="constructor_detail"><!-- --></A> 273<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 274<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 275<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> 276<B>Constructor Detail</B></FONT></TH> 277</TR> 278</TABLE> 279 280<A NAME="CompactConfig()"><!-- --></A><H3> 281CompactConfig</H3> 282<PRE> 283public <B>CompactConfig</B>()</PRE> 284<DL> 285<DD>Construct a default configuration object for compact operations. 286<P> 287</DL> 288 289<!-- ============ METHOD DETAIL ========== --> 290 291<A NAME="method_detail"><!-- --></A> 292<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 293<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 294<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> 295<B>Method Detail</B></FONT></TH> 296</TR> 297</TABLE> 298 299<A NAME="setFillPercent(int)"><!-- --></A><H3> 300setFillPercent</H3> 301<PRE> 302public void <B>setFillPercent</B>(int fillpercent)</PRE> 303<DL> 304<DD>Set the desired fill percentage. 305 If non-zero, the goal for filling pages, specified as a percentage 306 between 1 and 100. Any page in a Btree or Recno databases not at or 307 above this percentage full will be considered for compaction. The 308 default behavior is to consider every page for compaction, regardless 309 of its page fill percentage. 310<P> 311<DD><DL> 312</DL> 313</DD> 314<DD><DL> 315<DT><B>Parameters:</B><DD><CODE>fillpercent</CODE> - The desired fill percentage.</DL> 316</DD> 317</DL> 318<HR> 319 320<A NAME="getFillPercent()"><!-- --></A><H3> 321getFillPercent</H3> 322<PRE> 323public int <B>getFillPercent</B>()</PRE> 324<DL> 325<DD>Return the the desired fill percentage. 326<p> 327This method may be called at any time during the life of the application. 328<p> 329<P> 330<DD><DL> 331</DL> 332</DD> 333<DD><DL> 334 335<DT><B>Returns:</B><DD>The the desired fill percentage.</DL> 336</DD> 337</DL> 338<HR> 339 340<A NAME="setFreeListOnly(boolean)"><!-- --></A><H3> 341setFreeListOnly</H3> 342<PRE> 343public void <B>setFreeListOnly</B>(boolean freeListOnly)</PRE> 344<DL> 345<DD>Configure whether to skip page compaction, only returning pages 346 to the filesystem that are already free and at the end of the file. 347 This flag must be set if the database is a Hash access method database. 348<P> 349<DD><DL> 350</DL> 351</DD> 352<DD><DL> 353<DT><B>Parameters:</B><DD><CODE>freeListOnly</CODE> - Whether to skip page compaction</DL> 354</DD> 355</DL> 356<HR> 357 358<A NAME="getFreeListOnly()"><!-- --></A><H3> 359getFreeListOnly</H3> 360<PRE> 361public boolean <B>getFreeListOnly</B>()</PRE> 362<DL> 363<DD>Return true if the whether to skip page compaction. 364<p> 365This method may be called at any time during the life of the application. 366<p> 367<P> 368<DD><DL> 369</DL> 370</DD> 371<DD><DL> 372 373<DT><B>Returns:</B><DD>True if the whether to skip page compaction.</DL> 374</DD> 375</DL> 376<HR> 377 378<A NAME="setFreeSpace(boolean)"><!-- --></A><H3> 379setFreeSpace</H3> 380<PRE> 381public void <B>setFreeSpace</B>(boolean freeSpace)</PRE> 382<DL> 383<DD>Return pages to the filesystem if possible. If this flag is not 384 specified, pages emptied as a result of compaction will be placed on the 385 free list for re-use, but not returned to the filesystem. 386 Note that only pages at the end of the file may be returned. Given the one 387 pass nature of the algorithm if a page near the end of the file is 388 logically near the begining of the btree it will inhibit returning pages to 389 the file system. 390 A second call to the method with a low fillfactor can be used to return 391 pages in such a situation. 392<P> 393<DD><DL> 394</DL> 395</DD> 396<DD><DL> 397<DT><B>Parameters:</B><DD><CODE>freeSpace</CODE> - Whether to return pages to the filesystem</DL> 398</DD> 399</DL> 400<HR> 401 402<A NAME="getFreeSpace()"><!-- --></A><H3> 403getFreeSpace</H3> 404<PRE> 405public boolean <B>getFreeSpace</B>()</PRE> 406<DL> 407<DD>Return true if the whether to return pages to the filesystem. 408<p> 409This method may be called at any time during the life of the application. 410<p> 411<P> 412<DD><DL> 413</DL> 414</DD> 415<DD><DL> 416 417<DT><B>Returns:</B><DD>True if the whether to return pages to the filesystem.</DL> 418</DD> 419</DL> 420<HR> 421 422<A NAME="setMaxPages(int)"><!-- --></A><H3> 423setMaxPages</H3> 424<PRE> 425public void <B>setMaxPages</B>(int maxPages)</PRE> 426<DL> 427<DD>Set the maximum number of pages to free. 428<P> 429<DD><DL> 430</DL> 431</DD> 432<DD><DL> 433<DT><B>Parameters:</B><DD><CODE>maxPages</CODE> - If non-zero, the call will return after that number of pages have been 434 freed.</DL> 435</DD> 436</DL> 437<HR> 438 439<A NAME="getMaxPages()"><!-- --></A><H3> 440getMaxPages</H3> 441<PRE> 442public int <B>getMaxPages</B>()</PRE> 443<DL> 444<DD>Return the the maximum number of pages to free. 445<p> 446This method may be called at any time during the life of the application. 447<p> 448<P> 449<DD><DL> 450</DL> 451</DD> 452<DD><DL> 453 454<DT><B>Returns:</B><DD>The the maximum number of pages to free.</DL> 455</DD> 456</DL> 457<HR> 458 459<A NAME="setTimeout(int)"><!-- --></A><H3> 460setTimeout</H3> 461<PRE> 462public void <B>setTimeout</B>(int timeout)</PRE> 463<DL> 464<DD>Set the lock timeout for implicit transactions. 465 If non-zero, and no transaction parameter was specified to 466 <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>, the lock timeout set for implicit 467 transactions, in microseconds. 468<P> 469<DD><DL> 470</DL> 471</DD> 472<DD><DL> 473<DT><B>Parameters:</B><DD><CODE>timeout</CODE> - the lock timeout set for implicit transactions, in microseconds.</DL> 474</DD> 475</DL> 476<HR> 477 478<A NAME="getTimeout()"><!-- --></A><H3> 479getTimeout</H3> 480<PRE> 481public int <B>getTimeout</B>()</PRE> 482<DL> 483<DD>Return the the lock timeout set for implicit transactions, in microseconds. 484<p> 485This method may be called at any time during the life of the application. 486<p> 487<P> 488<DD><DL> 489</DL> 490</DD> 491<DD><DL> 492 493<DT><B>Returns:</B><DD>The the lock timeout set for implicit transactions, in microseconds.</DL> 494</DD> 495</DL> 496<!-- ========= END OF CLASS DATA ========= --> 497<HR> 498 499 500<!-- ======= START OF BOTTOM NAVBAR ====== --> 501<A NAME="navbar_bottom"><!-- --></A> 502<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> 503<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> 504<TR> 505<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> 506<A NAME="navbar_bottom_firstrow"><!-- --></A> 507<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> 508 <TR ALIGN="center" VALIGN="top"> 509 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> 510 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> 511 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> 512 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/CompactConfig.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> 513 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> 514 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> 515 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> 516 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> 517 </TR> 518</TABLE> 519</TD> 520<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> 521<b>Berkeley DB</b><br><font size="-1"> version 4.7.25</font></EM> 522</TD> 523</TR> 524 525<TR> 526<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 527 <A HREF="../../../com/sleepycat/db/CheckpointConfig.html" title="class in com.sleepycat.db"><B>PREV CLASS</B></A> 528 <A HREF="../../../com/sleepycat/db/CompactStats.html" title="class in com.sleepycat.db"><B>NEXT CLASS</B></A></FONT></TD> 529<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 530 <A HREF="../../../index.html?com/sleepycat/db/CompactConfig.html" target="_top"><B>FRAMES</B></A> 531 <A HREF="CompactConfig.html" target="_top"><B>NO FRAMES</B></A> 532 <SCRIPT type="text/javascript"> 533 <!-- 534 if(window==top) { 535 document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); 536 } 537 //--> 538</SCRIPT> 539<NOSCRIPT> 540 <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> 541</NOSCRIPT> 542 543 544</FONT></TD> 545</TR> 546<TR> 547<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 548 SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> 549<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 550DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> 551</TR> 552</TABLE> 553<A NAME="skip-navbar_bottom"></A> 554<!-- ======== END OF BOTTOM NAVBAR ======= --> 555 556<HR> 557<font size=1>Copyright (c) 1996,2008 Oracle. All rights reserved.</font> 558</BODY> 559</HTML> 560