diff options
| author | Lorry Tar Creator <lorry-tar-importer@baserock.org> | 2015-02-17 17:25:57 +0000 |
|---|---|---|
| committer | <> | 2015-03-17 16:26:24 +0000 |
| commit | 780b92ada9afcf1d58085a83a0b9e6bc982203d1 (patch) | |
| tree | 598f8b9fa431b228d29897e798de4ac0c1d3d970 /docs/java/com/sleepycat/db/EnvironmentConfig.html | |
| parent | 7a2660ba9cc2dc03a69ddfcfd95369395cc87444 (diff) | |
| download | berkeleydb-master.tar.gz | |
Diffstat (limited to 'docs/java/com/sleepycat/db/EnvironmentConfig.html')
| -rw-r--r-- | docs/java/com/sleepycat/db/EnvironmentConfig.html | 11057 |
1 files changed, 4877 insertions, 6180 deletions
diff --git a/docs/java/com/sleepycat/db/EnvironmentConfig.html b/docs/java/com/sleepycat/db/EnvironmentConfig.html index aafffeb6..f410491a 100644 --- a/docs/java/com/sleepycat/db/EnvironmentConfig.html +++ b/docs/java/com/sleepycat/db/EnvironmentConfig.html @@ -1,110 +1,110 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> -<!--NewPage--> -<HTML> -<HEAD> -<!-- Generated by javadoc (build 1.6.0_23) on Fri May 11 14:10:05 EDT 2012 --> -<TITLE> -EnvironmentConfig (Oracle - Berkeley DB Java API) -</TITLE> - -<META NAME="date" CONTENT="2012-05-11"> - -<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../style.css" TITLE="Style"> - -<SCRIPT type="text/javascript"> -function windowTitle() -{ +<!-- NewPage --> +<html lang="en"> +<head> +<!-- Generated by javadoc (version 1.7.0_60) on Tue Feb 17 12:25:53 EST 2015 --> +<title>EnvironmentConfig (Oracle - Berkeley DB Java API)</title> +<meta name="date" content="2015-02-17"> +<link rel="stylesheet" type="text/css" href="../../../style.css" title="Style"> +</head> +<body> +<script type="text/javascript"><!-- if (location.href.indexOf('is-external=true') == -1) { parent.document.title="EnvironmentConfig (Oracle - Berkeley DB Java API)"; } -} -</SCRIPT> -<NOSCRIPT> -</NOSCRIPT> - -</HEAD> - -<BODY BGCOLOR="white" onload="windowTitle();"> -<HR> - - +//--> +</script> +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> <!-- ========= START OF TOP NAVBAR ======= --> -<A NAME="navbar_top"><!-- --></A> -<A HREF="#skip-navbar_top" title="Skip navigation links"></A> -<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> -<TR> -<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> -<A NAME="navbar_top_firstrow"><!-- --></A> -<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> - <TR ALIGN="center" VALIGN="top"> - <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> - <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> - <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> - <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/EnvironmentConfig.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> - <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> - <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> - <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> - <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> - </TR> -</TABLE> -</TD> -<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> -<b>Berkeley DB</b><br><font size="-1"> version 5.3.21</font></EM> -</TD> -</TR> - -<TR> -<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> - <A HREF="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><B>PREV CLASS</B></A> - <A HREF="../../../com/sleepycat/db/ErrorHandler.html" title="interface in com.sleepycat.db"><B>NEXT CLASS</B></A></FONT></TD> -<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> - <A HREF="../../../index.html?com/sleepycat/db/EnvironmentConfig.html" target="_top"><B>FRAMES</B></A> - <A HREF="EnvironmentConfig.html" target="_top"><B>NO FRAMES</B></A> - <SCRIPT type="text/javascript"> - <!-- +<div class="topNav"><a name="navbar_top"> +<!-- --> +</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="class-use/EnvironmentConfig.html">Use</a></li> +<li><a href="package-tree.html">Tree</a></li> +<li><a href="../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../index-all.html">Index</a></li> +<li><a href="../../../help-doc.html">Help</a></li> +</ul> +<div class="aboutLanguage"><em><b>Berkeley DB</b><br><font size="-1"> version 6.1.23</font></em></div> +</div> +<div class="subNav"> +<ul class="navList"> +<li><a href="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../com/sleepycat/db/ErrorHandler.html" title="interface in com.sleepycat.db"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?com/sleepycat/db/EnvironmentConfig.html" target="_top">Frames</a></li> +<li><a href="EnvironmentConfig.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_top"> +<li><a href="../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_top"); if(window==top) { - document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; } //--> -</SCRIPT> -<NOSCRIPT> - <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> -</NOSCRIPT> - - -</FONT></TD> -</TR> -<TR> -<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> - SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> -<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> -DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> -</TR> -</TABLE> -<A NAME="skip-navbar_top"></A> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li>Nested | </li> +<li><a href="#field_summary">Field</a> | </li> +<li><a href="#constructor_summary">Constr</a> | </li> +<li><a href="#method_summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li><a href="#field_detail">Field</a> | </li> +<li><a href="#constructor_detail">Constr</a> | </li> +<li><a href="#method_detail">Method</a></li> +</ul> +</div> +<a name="skip-navbar_top"> +<!-- --> +</a></div> <!-- ========= END OF TOP NAVBAR ========= --> - -<HR> <!-- ======== START OF CLASS DATA ======== --> -<H2> -<FONT SIZE="-1"> -com.sleepycat.db</FONT> -<BR> -Class EnvironmentConfig</H2> -<PRE> -<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A> - <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>com.sleepycat.db.EnvironmentConfig</B> -</PRE> -<DL> -<DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Cloneable.html?is-external=true" title="class or interface in java.lang">Cloneable</A></DD> -</DL> -<HR> -<DL> -<DT><PRE>public class <B>EnvironmentConfig</B><DT>extends <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A><DT>implements <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Cloneable.html?is-external=true" title="class or interface in java.lang">Cloneable</A></DL> -</PRE> - -<P> -Specifies the attributes of an environment. +<div class="header"> +<div class="subTitle">com.sleepycat.db</div> +<h2 title="Class EnvironmentConfig" class="title">Class EnvironmentConfig</h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li>java.lang.Object</li> +<li> +<ul class="inheritance"> +<li>com.sleepycat.db.EnvironmentConfig</li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<dl> +<dt>All Implemented Interfaces:</dt> +<dd>java.lang.Cloneable</dd> +</dl> +<hr> +<br> +<pre>public class <span class="strong">EnvironmentConfig</span> +extends java.lang.Object +implements java.lang.Cloneable</pre> +<div class="block">Specifies the attributes of an environment. <p> To change the default settings for a database environment, an application creates a configuration object, customizes settings and uses it for @@ -151,2029 +151,1779 @@ handle for an already open environment. <p> After an Environment has been constructed, its mutable properties may be changed using -<A HREF="../../../com/sleepycat/db/Environment.html#setConfig(com.sleepycat.db.EnvironmentConfig)"><CODE>Environment.setConfig(com.sleepycat.db.EnvironmentConfig)</CODE></A>. -<p> -<P> - -<P> -<HR> - -<P> +<a href="../../../com/sleepycat/db/Environment.html#setConfig(com.sleepycat.db.EnvironmentConfig)"><code>Environment.setConfig(com.sleepycat.db.EnvironmentConfig)</code></a>. +<p></div> +</li> +</ul> +</div> +<div class="summary"> +<ul class="blockList"> +<li class="blockList"> <!-- =========== FIELD SUMMARY =========== --> - -<A NAME="field_summary"><!-- --></A> -<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> -<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> -<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> -<B>Field Summary</B></FONT></TH> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE>static <A HREF="../../../com/sleepycat/db/EnvironmentConfig.html" title="class in com.sleepycat.db">EnvironmentConfig</A></CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#DEFAULT">DEFAULT</A></B></CODE> - -<BR> - </TD> -</TR> -</TABLE> - +<ul class="blockList"> +<li class="blockList"><a name="field_summary"> +<!-- --> +</a> +<h3>Field Summary</h3> +<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> +<caption><span>Fields</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Field and Description</th> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static <a href="../../../com/sleepycat/db/EnvironmentConfig.html" title="class in com.sleepycat.db">EnvironmentConfig</a></code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#DEFAULT">DEFAULT</a></strong></code> </td> +</tr> +</table> +</li> +</ul> <!-- ======== CONSTRUCTOR SUMMARY ======== --> - -<A NAME="constructor_summary"><!-- --></A> -<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> -<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> -<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> -<B>Constructor Summary</B></FONT></TH> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#EnvironmentConfig()">EnvironmentConfig</A></B>()</CODE> - -<BR> - Create an EnvironmentConfig initialized with the system default settings.</TD> -</TR> -</TABLE> - +<ul class="blockList"> +<li class="blockList"><a name="constructor_summary"> +<!-- --> +</a> +<h3>Constructor Summary</h3> +<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> +<caption><span>Constructors</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colOne" scope="col">Constructor and Description</th> +</tr> +<tr class="altColor"> +<td class="colOne"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#EnvironmentConfig()">EnvironmentConfig</a></strong>()</code> +<div class="block">Create an EnvironmentConfig initialized with the system default settings.</div> +</td> +</tr> +</table> +</li> +</ul> <!-- ========== METHOD SUMMARY =========== --> - -<A NAME="method_summary"><!-- --></A> -<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> -<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> -<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> -<B>Method Summary</B></FONT></TH> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#addDataDir(java.io.File)">addDataDir</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</A> dataDir)</CODE> - -<BR> - Set the path of a directory to be used as the location of the access - method database files.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#addDataDir(java.lang.String)">addDataDir</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> dataDir)</CODE> - -<BR> - <B>Deprecated.</B> <I>replaced by <A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#addDataDir(java.io.File)"><CODE>addDataDir(java.io.File)</CODE></A></I></TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#addReplicationManagerSite(com.sleepycat.db.ReplicationManagerSiteConfig)">addReplicationManagerSite</A></B>(<A HREF="../../../com/sleepycat/db/ReplicationManagerSiteConfig.html" title="class in com.sleepycat.db">ReplicationManagerSiteConfig</A> repmgrSiteConfig)</CODE> - -<BR> - Configure a site in a replication group.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> boolean</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getAllowCreate()">getAllowCreate</A></B>()</CODE> - -<BR> - Return true if the database environment is configured to create any - underlying files, as necessary.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> <A HREF="../../../com/sleepycat/db/BackupHandler.html" title="interface in com.sleepycat.db">BackupHandler</A></CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getBackupHandler()">getBackupHandler</A></B>()</CODE> - -<BR> - Return the <A HREF="../../../com/sleepycat/db/BackupHandler.html" title="interface in com.sleepycat.db"><CODE>BackupHandler</CODE></A> -used to override default hot backup behavior.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> int</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getBackupReadCount()">getBackupReadCount</A></B>()</CODE> - -<BR> - Return the number of pages to read before pausing during the hot backup.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> int</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getBackupReadSleep()">getBackupReadSleep</A></B>()</CODE> - -<BR> - Return the number of microseconds to sleep between batches of reads during -a hot backup.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> int</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getBackupSize()">getBackupSize</A></B>()</CODE> - -<BR> - Return the size of the buffer, in megabytes, to read from the database -during a hot backup.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> boolean</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getBackupWriteDirect()">getBackupWriteDirect</A></B>()</CODE> - -<BR> - Return return true if direct I/O is used when writing pages to the disk -during a hot backup.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> int</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getCacheCount()">getCacheCount</A></B>()</CODE> - -<BR> - Return the number of shared memory buffer pools, that is, the number - of cache regions.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> long</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getCacheMax()">getCacheMax</A></B>()</CODE> - -<BR> - Return the maximum size of the cache.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> int</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getCachePageSize()">getCachePageSize</A></B>()</CODE> - -<BR> - Returns the environment's current page size setting.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> long</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getCacheSize()">getCacheSize</A></B>()</CODE> - -<BR> - Return the size of the shared memory buffer pool, that is, the cache.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> int</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getCacheTableSize()">getCacheTableSize</A></B>()</CODE> - -<BR> - Returns the environment's current table size setting.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> boolean</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getCDBLockAllDatabases()">getCDBLockAllDatabases</A></B>()</CODE> - -<BR> - Return true if the Concurrent Data Store applications are configured to +<ul class="blockList"> +<li class="blockList"><a name="method_summary"> +<!-- --> +</a> +<h3>Method Summary</h3> +<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> +<caption><span>Methods</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Method and Description</th> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#addDataDir(java.io.File)">addDataDir</a></strong>(java.io.File dataDir)</code> +<div class="block">Set the path of a directory to be used as the location of the access + method database files.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#addDataDir(java.lang.String)">addDataDir</a></strong>(java.lang.String dataDir)</code> +<div class="block"><strong>Deprecated.</strong> +<div class="block"><i>replaced by <a href="../../../com/sleepycat/db/EnvironmentConfig.html#addDataDir(java.io.File)"><code>addDataDir(java.io.File)</code></a></i></div> +</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#addReplicationManagerSite(com.sleepycat.db.ReplicationManagerSiteConfig)">addReplicationManagerSite</a></strong>(<a href="../../../com/sleepycat/db/ReplicationManagerSiteConfig.html" title="class in com.sleepycat.db">ReplicationManagerSiteConfig</a> repmgrSiteConfig)</code> +<div class="block">Configure a site in a replication group.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getAllowCreate()">getAllowCreate</a></strong>()</code> +<div class="block">Return true if the database environment is configured to create any + underlying files, as necessary.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="../../../com/sleepycat/db/BackupHandler.html" title="interface in com.sleepycat.db">BackupHandler</a></code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getBackupHandler()">getBackupHandler</a></strong>()</code> +<div class="block">Return the <a href="../../../com/sleepycat/db/BackupHandler.html" title="interface in com.sleepycat.db"><code>BackupHandler</code></a> +used to override default hot backup behavior.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getBackupReadCount()">getBackupReadCount</a></strong>()</code> +<div class="block">Return the number of pages to read before pausing during the hot backup.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getBackupReadSleep()">getBackupReadSleep</a></strong>()</code> +<div class="block">Return the number of microseconds to sleep between batches of reads during +a hot backup.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getBackupSize()">getBackupSize</a></strong>()</code> +<div class="block">Return the size of the buffer, in megabytes, to read from the database +during a hot backup.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getBackupWriteDirect()">getBackupWriteDirect</a></strong>()</code> +<div class="block">Return return true if direct I/O is used when writing pages to the disk +during a hot backup.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>java.io.File</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getBlobDir()">getBlobDir</a></strong>()</code> +<div class="block">Returns the path of a directory where blobs are stored.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getBlobThreshold()">getBlobThreshold</a></strong>()</code> +<div class="block">Return the environment wide default blob threshold value.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getCacheCount()">getCacheCount</a></strong>()</code> +<div class="block">Return the number of shared memory buffer pools, that is, the number + of cache regions.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>long</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getCacheMax()">getCacheMax</a></strong>()</code> +<div class="block">Return the maximum size of the cache.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getCachePageSize()">getCachePageSize</a></strong>()</code> +<div class="block">Returns the environment's current page size setting.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>long</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getCacheSize()">getCacheSize</a></strong>()</code> +<div class="block">Return the size of the shared memory buffer pool, that is, the cache.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getCacheTableSize()">getCacheTableSize</a></strong>()</code> +<div class="block">Returns the environment's current table size setting.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getCDBLockAllDatabases()">getCDBLockAllDatabases</a></strong>()</code> +<div class="block">Return true if the Concurrent Data Store applications are configured to perform locking on an environment-wide basis rather than on a - per-database basis.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</A></CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getCreateDir()">getCreateDir</A></B>()</CODE> - -<BR> - Returns the path of a directory to be used as the location to create the -access method database files.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</A>[]</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getDataDirs()">getDataDirs</A></B>()</CODE> - -<BR> - Return the array of data directories.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> boolean</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getDirectDatabaseIO()">getDirectDatabaseIO</A></B>()</CODE> - -<BR> - Return true if the database environment has been configured to not buffer - database files.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> boolean</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getDirectLogIO()">getDirectLogIO</A></B>()</CODE> - -<BR> - Return true if the database environment has been configured to not buffer - log files.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> boolean</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getDsyncDatabases()">getDsyncDatabases</A></B>()</CODE> - -<BR> - Return true if the database environment has been configured to flush database - writes to the backing disk before returning from the write system call.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> boolean</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getDsyncLog()">getDsyncLog</A></B>()</CODE> - -<BR> - Return true if the database environment has been configured to flush log + per-database basis.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>java.io.File</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getCreateDir()">getCreateDir</a></strong>()</code> +<div class="block">Returns the path of a directory to be used as the location to create the +access method database files.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>java.io.File[]</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getDataDirs()">getDataDirs</a></strong>()</code> +<div class="block">Return the array of data directories.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getDirectDatabaseIO()">getDirectDatabaseIO</a></strong>()</code> +<div class="block">Return true if the database environment has been configured to not buffer + database files.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getDirectLogIO()">getDirectLogIO</a></strong>()</code> +<div class="block">Return true if the database environment has been configured to not buffer + log files.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getDsyncDatabases()">getDsyncDatabases</a></strong>()</code> +<div class="block">Return true if the database environment has been configured to flush database + writes to the backing disk before returning from the write system call.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getDsyncLog()">getDsyncLog</a></strong>()</code> +<div class="block">Return true if the database environment has been configured to flush log writes to the backing disk before returning from the write system - call.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> boolean</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getEncrypted()">getEncrypted</A></B>()</CODE> - -<BR> - Return the database environment has been configured to perform - encryption.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> <A HREF="../../../com/sleepycat/db/ErrorHandler.html" title="interface in com.sleepycat.db">ErrorHandler</A></CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getErrorHandler()">getErrorHandler</A></B>()</CODE> - -<BR> - Return the function to be called if an error occurs.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getErrorPrefix()">getErrorPrefix</A></B>()</CODE> - -<BR> - Return the prefix string that appears before error messages.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</A></CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getErrorStream()">getErrorStream</A></B>()</CODE> - -<BR> - Return the OutputStream for displaying error messages.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> <A HREF="../../../com/sleepycat/db/EventHandler.html" title="interface in com.sleepycat.db">EventHandler</A></CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getEventHandler()">getEventHandler</A></B>()</CODE> - -<BR> - Return the object's methods to be called when a triggered event occurs.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> <A HREF="../../../com/sleepycat/db/FeedbackHandler.html" title="interface in com.sleepycat.db">FeedbackHandler</A></CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getFeedbackHandler()">getFeedbackHandler</A></B>()</CODE> - -<BR> - Return the object's methods to be called to provide feedback.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> boolean</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getHotbackupInProgress()">getHotbackupInProgress</A></B>()</CODE> - -<BR> - Return true if a "hot backup" is in progress.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> boolean</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getInitializeCache()">getInitializeCache</A></B>()</CODE> - -<BR> - Return true if the database environment is configured with a shared - memory buffer pool.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> boolean</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getInitializeCDB()">getInitializeCDB</A></B>()</CODE> - -<BR> - Return true if the database environment is configured for the Concurrent - Data Store product.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> boolean</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getInitializeLocking()">getInitializeLocking</A></B>()</CODE> - -<BR> - Return true if the database environment is configured for locking.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> boolean</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getInitializeLogging()">getInitializeLogging</A></B>()</CODE> - -<BR> - Return true if the database environment is configured for logging.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> boolean</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getInitializeRegions()">getInitializeRegions</A></B>()</CODE> - -<BR> - Return true if the database environment has been configured to page-fault + call.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getEncrypted()">getEncrypted</a></strong>()</code> +<div class="block">Return the database environment has been configured to perform + encryption.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="../../../com/sleepycat/db/ErrorHandler.html" title="interface in com.sleepycat.db">ErrorHandler</a></code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getErrorHandler()">getErrorHandler</a></strong>()</code> +<div class="block">Return the function to be called if an error occurs.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>java.lang.String</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getErrorPrefix()">getErrorPrefix</a></strong>()</code> +<div class="block">Return the prefix string that appears before error messages.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>java.io.OutputStream</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getErrorStream()">getErrorStream</a></strong>()</code> +<div class="block">Return the OutputStream for displaying error messages.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="../../../com/sleepycat/db/EventHandler.html" title="interface in com.sleepycat.db">EventHandler</a></code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getEventHandler()">getEventHandler</a></strong>()</code> +<div class="block">Return the object's methods to be called when a triggered event occurs.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="../../../com/sleepycat/db/FeedbackHandler.html" title="interface in com.sleepycat.db">FeedbackHandler</a></code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getFeedbackHandler()">getFeedbackHandler</a></strong>()</code> +<div class="block">Return the object's methods to be called to provide feedback.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getHotbackupInProgress()">getHotbackupInProgress</a></strong>()</code> +<div class="block">Return true if a "hot backup" is in progress.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getInitializeCache()">getInitializeCache</a></strong>()</code> +<div class="block">Return true if the database environment is configured with a shared + memory buffer pool.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getInitializeCDB()">getInitializeCDB</a></strong>()</code> +<div class="block">Return true if the database environment is configured for the Concurrent + Data Store product.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getInitializeLocking()">getInitializeLocking</a></strong>()</code> +<div class="block">Return true if the database environment is configured for locking.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getInitializeLogging()">getInitializeLogging</a></strong>()</code> +<div class="block">Return true if the database environment is configured for logging.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getInitializeRegions()">getInitializeRegions</a></strong>()</code> +<div class="block">Return true if the database environment has been configured to page-fault shared regions into memory when initially creating or joining a - database environment.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> boolean</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getInitializeReplication()">getInitializeReplication</A></B>()</CODE> - -<BR> - Return true if the database environment is configured for replication.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> int</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getInitialMutexes()">getInitialMutexes</A></B>()</CODE> - -<BR> - Return the number of mutexes allocated when an environment is created.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> boolean</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getJoinEnvironment()">getJoinEnvironment</A></B>()</CODE> - -<BR> - Return the handle is configured to join an existing environment.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> byte[][]</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getLockConflicts()">getLockConflicts</A></B>()</CODE> - -<BR> - Return the locking conflicts matrix.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> <A HREF="../../../com/sleepycat/db/LockDetectMode.html" title="class in com.sleepycat.db">LockDetectMode</A></CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getLockDetectMode()">getLockDetectMode</A></B>()</CODE> - -<BR> - Return true if the deadlock detector is configured to run whenever a lock - conflict occurs.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> boolean</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getLockDown()">getLockDown</A></B>()</CODE> - -<BR> - Return true if the database environment is configured to lock shared - environment files and memory-mapped databases into memory.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> int</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getLockPartitions()">getLockPartitions</A></B>()</CODE> - -<BR> - Returns the number of lock table partitions in the Berkeley DB environment.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> int</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getLockTableSize()">getLockTableSize</A></B>()</CODE> - -<BR> - Return the lock hash table size.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> long</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getLockTimeout()">getLockTimeout</A></B>()</CODE> - -<BR> - Return the database environment lock timeout value, in microseconds; - a timeout of 0 means no timeout is set.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> boolean</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getLogAutoRemove()">getLogAutoRemove</A></B>()</CODE> - -<BR> - Return true if the system has been configured to to automatically remove log - files that are no longer needed.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> int</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getLogBufferSize()">getLogBufferSize</A></B>()</CODE> - -<BR> - Return the size of the in-memory log buffer, in bytes.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</A></CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getLogDirectory()">getLogDirectory</A></B>()</CODE> - -<BR> - Return the path of a directory to be used as the location of logging files.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> int</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getLogFileMode()">getLogFileMode</A></B>()</CODE> - -<BR> - Return the absolute file mode for created log files.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> boolean</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getLogInMemory()">getLogInMemory</A></B>()</CODE> - -<BR> - Return true if the database environment is configured to maintain transaction logs - in memory rather than on disk.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> <A HREF="../../../com/sleepycat/db/LogRecordHandler.html" title="interface in com.sleepycat.db">LogRecordHandler</A></CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getLogRecordHandler()">getLogRecordHandler</A></B>()</CODE> - -<BR> - Return the handler for application-specific log records.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> int</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getLogRegionSize()">getLogRegionSize</A></B>()</CODE> - -<BR> - Return the size of the underlying logging subsystem region.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> boolean</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getLogZero()">getLogZero</A></B>()</CODE> - -<BR> - Return true if the database environment is configured to zero all pages of - new log files upon their creation.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> int</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getMaxLockers()">getMaxLockers</A></B>()</CODE> - -<BR> - Return the maximum number of lockers.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> int</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getMaxLockObjects()">getMaxLockObjects</A></B>()</CODE> - -<BR> - Return the maximum number of locked objects.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> int</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getMaxLocks()">getMaxLocks</A></B>()</CODE> - -<BR> - Return the maximum number of locks.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> int</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getMaxLogFileSize()">getMaxLogFileSize</A></B>()</CODE> - -<BR> - Return the maximum size of a single file in the log, in bytes.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> int</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getMaxMutexes()">getMaxMutexes</A></B>()</CODE> - -<BR> - Return the total number of mutexes allocated.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> int</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getMaxOpenFiles()">getMaxOpenFiles</A></B>()</CODE> - -<BR> - Return the maximum number of file descriptors that will be opened concurrently..</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> int</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getMaxWrite()">getMaxWrite</A></B>()</CODE> - -<BR> - Return the maximum number of sequential write operations.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> long</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getMaxWriteSleep()">getMaxWriteSleep</A></B>()</CODE> - -<BR> - Return the microseconds to pause before scheduling further write operations.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> <A HREF="../../../com/sleepycat/db/MessageHandler.html" title="interface in com.sleepycat.db">MessageHandler</A></CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getMessageHandler()">getMessageHandler</A></B>()</CODE> - -<BR> - Return the function to be called with an informational message.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</A></CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getMessageStream()">getMessageStream</A></B>()</CODE> - -<BR> - Return the OutputStream for displaying informational messages.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</A></CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getMetadataDir()">getMetadataDir</A></B>()</CODE> - -<BR> - Return the path of a directory to be used as the location to store the - persistent metadata.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> long</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getMMapSize()">getMMapSize</A></B>()</CODE> - -<BR> - Return the maximum file size, in bytes, for a file to be mapped into - the process address space.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> long</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getMode()">getMode</A></B>()</CODE> - -<BR> - Return the mode to use when creating underlying files and shared - memory segments.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> boolean</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getMultiversion()">getMultiversion</A></B>()</CODE> - -<BR> - Return true if the handle is configured to open all databases for multiversion - concurrency control.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> int</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getMutexAlignment()">getMutexAlignment</A></B>()</CODE> - -<BR> - Return the mutex alignment, in bytes.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> int</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getMutexIncrement()">getMutexIncrement</A></B>()</CODE> - -<BR> - Return the number of additional mutexes to allocate.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> int</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getMutexTestAndSetSpins()">getMutexTestAndSetSpins</A></B>()</CODE> - -<BR> - Return the test-and-set spin count.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> boolean</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getNoLocking()">getNoLocking</A></B>()</CODE> - -<BR> - Return true if the system has been configured to grant all requested mutual + database environment.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getInitializeReplication()">getInitializeReplication</a></strong>()</code> +<div class="block">Return true if the database environment is configured for replication.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getInitialMutexes()">getInitialMutexes</a></strong>()</code> +<div class="block">Return the number of mutexes allocated when an environment is created.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getJoinEnvironment()">getJoinEnvironment</a></strong>()</code> +<div class="block">Return the handle is configured to join an existing environment.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>byte[][]</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getLockConflicts()">getLockConflicts</a></strong>()</code> +<div class="block">Return the locking conflicts matrix.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="../../../com/sleepycat/db/LockDetectMode.html" title="class in com.sleepycat.db">LockDetectMode</a></code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getLockDetectMode()">getLockDetectMode</a></strong>()</code> +<div class="block">Return true if the deadlock detector is configured to run whenever a lock + conflict occurs.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getLockDown()">getLockDown</a></strong>()</code> +<div class="block">Return true if the database environment is configured to lock shared + environment files and memory-mapped databases into memory.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getLockPartitions()">getLockPartitions</a></strong>()</code> +<div class="block">Returns the number of lock table partitions in the Berkeley DB environment.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getLockTableSize()">getLockTableSize</a></strong>()</code> +<div class="block">Return the lock hash table size.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>long</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getLockTimeout()">getLockTimeout</a></strong>()</code> +<div class="block">Return the database environment lock timeout value, in microseconds; + a timeout of 0 means no timeout is set.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getLogAutoRemove()">getLogAutoRemove</a></strong>()</code> +<div class="block">Return true if the system has been configured to to automatically remove log + files that are no longer needed.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getLogBlobContent()">getLogBlobContent</a></strong>()</code> +<div class="block">Return true if full logging of blob data is enabled.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getLogBufferSize()">getLogBufferSize</a></strong>()</code> +<div class="block">Return the size of the in-memory log buffer, in bytes.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>java.io.File</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getLogDirectory()">getLogDirectory</a></strong>()</code> +<div class="block">Return the path of a directory to be used as the location of logging files.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getLogFileMode()">getLogFileMode</a></strong>()</code> +<div class="block">Return the absolute file mode for created log files.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getLogInMemory()">getLogInMemory</a></strong>()</code> +<div class="block">Return true if the database environment is configured to maintain transaction logs + in memory rather than on disk.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getLogNoSync()">getLogNoSync</a></strong>()</code> +<div class="block">Return true if the system has been configured to avoid fsync() calls during + log files during flushes.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="../../../com/sleepycat/db/LogRecordHandler.html" title="interface in com.sleepycat.db">LogRecordHandler</a></code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getLogRecordHandler()">getLogRecordHandler</a></strong>()</code> +<div class="block">Return the handler for application-specific log records.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getLogRegionSize()">getLogRegionSize</a></strong>()</code> +<div class="block">Return the size of the underlying logging subsystem region.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getLogZero()">getLogZero</a></strong>()</code> +<div class="block">Return true if the database environment is configured to zero all pages of + new log files upon their creation.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getMaxLockers()">getMaxLockers</a></strong>()</code> +<div class="block">Return the maximum number of lockers.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getMaxLockObjects()">getMaxLockObjects</a></strong>()</code> +<div class="block">Return the maximum number of locked objects.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getMaxLocks()">getMaxLocks</a></strong>()</code> +<div class="block">Return the maximum number of locks.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getMaxLogFileSize()">getMaxLogFileSize</a></strong>()</code> +<div class="block">Return the maximum size of a single file in the log, in bytes.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getMaxMutexes()">getMaxMutexes</a></strong>()</code> +<div class="block">Return the total number of mutexes allocated.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getMaxOpenFiles()">getMaxOpenFiles</a></strong>()</code> +<div class="block">Return the maximum number of file descriptors that will be opened concurrently..</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getMaxWrite()">getMaxWrite</a></strong>()</code> +<div class="block">Return the maximum number of sequential write operations.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>long</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getMaxWriteSleep()">getMaxWriteSleep</a></strong>()</code> +<div class="block">Return the microseconds to pause before scheduling further write operations.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="../../../com/sleepycat/db/MessageHandler.html" title="interface in com.sleepycat.db">MessageHandler</a></code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getMessageHandler()">getMessageHandler</a></strong>()</code> +<div class="block">Return the function to be called with an informational message.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>java.io.OutputStream</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getMessageStream()">getMessageStream</a></strong>()</code> +<div class="block">Return the OutputStream for displaying informational messages.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>java.io.File</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getMetadataDir()">getMetadataDir</a></strong>()</code> +<div class="block">Return the path of a directory to be used as the location to store the + persistent metadata.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>long</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getMMapSize()">getMMapSize</a></strong>()</code> +<div class="block">Return the maximum file size, in bytes, for a file to be mapped into + the process address space.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>long</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getMode()">getMode</a></strong>()</code> +<div class="block">Return the mode to use when creating underlying files and shared + memory segments.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getMultiversion()">getMultiversion</a></strong>()</code> +<div class="block">Return true if the handle is configured to open all databases for multiversion + concurrency control.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getMutexAlignment()">getMutexAlignment</a></strong>()</code> +<div class="block">Return the mutex alignment, in bytes.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getMutexIncrement()">getMutexIncrement</a></strong>()</code> +<div class="block">Return the number of additional mutexes to allocate.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getMutexTestAndSetSpins()">getMutexTestAndSetSpins</a></strong>()</code> +<div class="block">Return the test-and-set spin count.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getNoLocking()">getNoLocking</a></strong>()</code> +<div class="block">Return true if the system has been configured to grant all requested mutual exclusion mutexes and database locks without regard for their actual - availability.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> boolean</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getNoMMap()">getNoMMap</A></B>()</CODE> - -<BR> - Return true if the system has been configured to copy read-only database files + availability.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getNoMMap()">getNoMMap</a></strong>()</code> +<div class="block">Return true if the system has been configured to copy read-only database files into the local cache instead of potentially mapping them into process - memory.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> boolean</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getNoPanic()">getNoPanic</A></B>()</CODE> - -<BR> - Return true if the system has been configured to ignore any panic state in - the database environment.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> boolean</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getOverwrite()">getOverwrite</A></B>()</CODE> - -<BR> - Return true if the system has been configured to overwrite files stored in - encrypted formats before deleting them.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> <A HREF="../../../com/sleepycat/db/PanicHandler.html" title="interface in com.sleepycat.db">PanicHandler</A></CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getPanicHandler()">getPanicHandler</A></B>()</CODE> - -<BR> - Return the function to be called if the database environment panics.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> boolean</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getPrivate()">getPrivate</A></B>()</CODE> - -<BR> - Return true if the database environment is configured to only be accessed - by a single process.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> int</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getRegionMemoryInitialSize(com.sleepycat.db.RegionResourceType)">getRegionMemoryInitialSize</A></B>(<A HREF="../../../com/sleepycat/db/RegionResourceType.html" title="class in com.sleepycat.db">RegionResourceType</A> resource)</CODE> - -<BR> - Return the inital memory configuration for a region resource.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> long</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getRegionMemoryMax()">getRegionMemoryMax</A></B>()</CODE> - -<BR> - Return the maximum amount of memory that can be used by shared structures - in the main environment region.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> boolean</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getRegister()">getRegister</A></B>()</CODE> - -<BR> - Return true if the check for process failure when the environment is opened.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> int</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getReplicationClockskewFast()">getReplicationClockskewFast</A></B>()</CODE> - -<BR> - Return the current clock skew value for the fastest clock in the group of sites.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> int</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getReplicationClockskewSlow()">getReplicationClockskewSlow</A></B>()</CODE> - -<BR> - Return the current clock skew value for the slowest clock in the group of sites.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> boolean</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getReplicationInMemory()">getReplicationInMemory</A></B>()</CODE> - -<BR> - Return true if internal replication information is stored in memory only.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> long</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getReplicationLimit()">getReplicationLimit</A></B>()</CODE> - -<BR> - Return the transmit limit in bytes for a single call to - <A HREF="../../../com/sleepycat/db/Environment.html#processReplicationMessage(com.sleepycat.db.DatabaseEntry, com.sleepycat.db.DatabaseEntry, int)"><CODE>Environment.processReplicationMessage</CODE></A>.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> <A HREF="../../../com/sleepycat/db/ReplicationManagerAckPolicy.html" title="class in com.sleepycat.db">ReplicationManagerAckPolicy</A></CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getReplicationManagerAckPolicy()">getReplicationManagerAckPolicy</A></B>()</CODE> - -<BR> - Get the network Ack policy used by the replication manager.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> int</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getReplicationNumSites()">getReplicationNumSites</A></B>()</CODE> - -<BR> - Get the total number of sites configured in this EnvironmentConfig object.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> int</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getReplicationPriority()">getReplicationPriority</A></B>()</CODE> - -<BR> - Get the current environment's priority.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> int</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getReplicationRequestMax()">getReplicationRequestMax</A></B>()</CODE> - -<BR> - Get the threshold for the maximum amount of time that a client waits before - requesting retransmission of a missed message.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> int</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getReplicationRequestMin()">getReplicationRequestMin</A></B>()</CODE> - -<BR> - Get the threshold for the minimum amount of time that a client waits before - requesting retransmission of a missed message.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> <A HREF="../../../com/sleepycat/db/ReplicationTransport.html" title="interface in com.sleepycat.db">ReplicationTransport</A></CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getReplicationTransport()">getReplicationTransport</A></B>()</CODE> - -<BR> - Return the replication callback function used to transmit data using - the replication application's communication infrastructure.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> boolean</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getRunFatalRecovery()">getRunFatalRecovery</A></B>()</CODE> - -<BR> - Return the handle is configured to run catastrophic recovery on - the database environment before opening it for use.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> boolean</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getRunRecovery()">getRunRecovery</A></B>()</CODE> - -<BR> - Return the handle is configured to run normal recovery on the - database environment before opening it for use.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> long</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getSegmentId()">getSegmentId</A></B>()</CODE> - -<BR> - Return the base segment ID.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> boolean</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getSystemMemory()">getSystemMemory</A></B>()</CODE> - -<BR> - Return true if the database environment is configured to allocate memory + memory.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getNoPanic()">getNoPanic</a></strong>()</code> +<div class="block">Return true if the system has been configured to ignore any panic state in + the database environment.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getOverwrite()">getOverwrite</a></strong>()</code> +<div class="block">Return true if the system has been configured to overwrite files stored in + encrypted formats before deleting them.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="../../../com/sleepycat/db/PanicHandler.html" title="interface in com.sleepycat.db">PanicHandler</a></code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getPanicHandler()">getPanicHandler</a></strong>()</code> +<div class="block">Return the function to be called if the database environment panics.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getPrivate()">getPrivate</a></strong>()</code> +<div class="block">Return true if the database environment is configured to only be accessed + by a single process.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getRegionMemoryInitialSize(com.sleepycat.db.RegionResourceType)">getRegionMemoryInitialSize</a></strong>(<a href="../../../com/sleepycat/db/RegionResourceType.html" title="class in com.sleepycat.db">RegionResourceType</a> resource)</code> +<div class="block">Return the inital memory configuration for a region resource.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>long</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getRegionMemoryMax()">getRegionMemoryMax</a></strong>()</code> +<div class="block">Return the maximum amount of memory that can be used by shared structures + in the main environment region.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getRegister()">getRegister</a></strong>()</code> +<div class="block">Return true if the check for process failure when the environment is opened.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getReplicationClockskewFast()">getReplicationClockskewFast</a></strong>()</code> +<div class="block">Return the current clock skew value for the fastest clock in the group of sites.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getReplicationClockskewSlow()">getReplicationClockskewSlow</a></strong>()</code> +<div class="block">Return the current clock skew value for the slowest clock in the group of sites.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getReplicationInMemory()">getReplicationInMemory</a></strong>()</code> +<div class="block">Return true if internal replication information is stored in memory only.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>long</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getReplicationLimit()">getReplicationLimit</a></strong>()</code> +<div class="block">Return the transmit limit in bytes for a single call to + <a href="../../../com/sleepycat/db/Environment.html#processReplicationMessage(com.sleepycat.db.DatabaseEntry,%20com.sleepycat.db.DatabaseEntry,%20int)"><code>Environment.processReplicationMessage</code></a>.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="../../../com/sleepycat/db/ReplicationManagerAckPolicy.html" title="class in com.sleepycat.db">ReplicationManagerAckPolicy</a></code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getReplicationManagerAckPolicy()">getReplicationManagerAckPolicy</a></strong>()</code> +<div class="block">Get the network Ack policy used by the replication manager.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>long</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getReplicationManagerIncomingQueueMax()">getReplicationManagerIncomingQueueMax</a></strong>()</code> +<div class="block">Get the maximum amount of dynamic memory used by the Replication Manager + incoming queue.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getReplicationNumSites()">getReplicationNumSites</a></strong>()</code> +<div class="block">Get the total number of sites configured in this EnvironmentConfig object.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getReplicationPriority()">getReplicationPriority</a></strong>()</code> +<div class="block">Get the current environment's priority.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getReplicationRequestMax()">getReplicationRequestMax</a></strong>()</code> +<div class="block">Get the threshold for the maximum amount of time that a client waits before + requesting retransmission of a missed message.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getReplicationRequestMin()">getReplicationRequestMin</a></strong>()</code> +<div class="block">Get the threshold for the minimum amount of time that a client waits before + requesting retransmission of a missed message.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code><a href="../../../com/sleepycat/db/ReplicationTransport.html" title="interface in com.sleepycat.db">ReplicationTransport</a></code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getReplicationTransport()">getReplicationTransport</a></strong>()</code> +<div class="block">Return the replication callback function used to transmit data using + the replication application's communication infrastructure.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code><a href="../../../com/sleepycat/db/ReplicationViewHandler.html" title="interface in com.sleepycat.db">ReplicationViewHandler</a></code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getReplicationViewHandler()">getReplicationViewHandler</a></strong>()</code> +<div class="block">Return the function name used by replication views to determine whether + a database file is replicated to the local site.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getRunFatalRecovery()">getRunFatalRecovery</a></strong>()</code> +<div class="block">Return the handle is configured to run catastrophic recovery on + the database environment before opening it for use.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getRunRecovery()">getRunRecovery</a></strong>()</code> +<div class="block">Return the handle is configured to run normal recovery on the + database environment before opening it for use.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>long</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getSegmentId()">getSegmentId</a></strong>()</code> +<div class="block">Return the base segment ID.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getSystemMemory()">getSystemMemory</a></strong>()</code> +<div class="block">Return true if the database environment is configured to allocate memory from system shared memory instead of from memory backed by the - filesystem.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</A></CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getTemporaryDirectory()">getTemporaryDirectory</A></B>()</CODE> - -<BR> - Return the path of a directory to be used as the location of - temporary files.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> int</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getTestAndSetSpins()">getTestAndSetSpins</A></B>()</CODE> - -<BR> - <B>Deprecated.</B> <I>replaced by <A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getMutexTestAndSetSpins()"><CODE>getMutexTestAndSetSpins()</CODE></A></I></TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> boolean</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getThreaded()">getThreaded</A></B>()</CODE> - -<BR> - Return true if the handle is configured to be <em>free-threaded</em>.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> boolean</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getTransactional()">getTransactional</A></B>()</CODE> - -<BR> - Return true if the database environment is configured for transactions.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> int</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getTxnMaxActive()">getTxnMaxActive</A></B>()</CODE> - -<BR> - Return the minimum number of simultaneously active transactions supported - by the database environment.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> boolean</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getTxnNoSync()">getTxnNoSync</A></B>()</CODE> - -<BR> - Return true if the system has been configured to not write or synchronously - flush the log on transaction commit.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> boolean</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getTxnNotDurable()">getTxnNotDurable</A></B>()</CODE> - -<BR> - Return true if the system has been configured to not write log records.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> boolean</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getTxnNoWait()">getTxnNoWait</A></B>()</CODE> - -<BR> - Return true if the transactions have been configured to not wait for locks by default.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> boolean</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getTxnSnapshot()">getTxnSnapshot</A></B>()</CODE> - -<BR> - Return true if the handle is configured to run all transactions at snapshot - isolation.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> long</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getTxnTimeout()">getTxnTimeout</A></B>()</CODE> - -<BR> - Return the database environment transaction timeout value, in - microseconds; a timeout of 0 means no timeout is set.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</A></CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getTxnTimestamp()">getTxnTimestamp</A></B>()</CODE> - -<BR> - Return the time to which recovery will be done, or 0 if recovery will - be done to the most current possible date.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> boolean</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getTxnWriteNoSync()">getTxnWriteNoSync</A></B>()</CODE> - -<BR> - Return true if the system has been configured to write, but not synchronously - flush, the log on transaction commit.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> boolean</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getUseEnvironment()">getUseEnvironment</A></B>()</CODE> - -<BR> - Return true if the database environment is configured to accept information - from the process environment when naming files.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> boolean</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getUseEnvironmentRoot()">getUseEnvironmentRoot</A></B>()</CODE> - -<BR> - Return true if the database environment is configured to accept information + filesystem.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>java.io.File</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getTemporaryDirectory()">getTemporaryDirectory</a></strong>()</code> +<div class="block">Return the path of a directory to be used as the location of + temporary files.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getTestAndSetSpins()">getTestAndSetSpins</a></strong>()</code> +<div class="block"><strong>Deprecated.</strong> +<div class="block"><i>replaced by <a href="../../../com/sleepycat/db/EnvironmentConfig.html#getMutexTestAndSetSpins()"><code>getMutexTestAndSetSpins()</code></a></i></div> +</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getThreaded()">getThreaded</a></strong>()</code> +<div class="block">Return true if the handle is configured to be <em>free-threaded</em>.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getTransactional()">getTransactional</a></strong>()</code> +<div class="block">Return true if the database environment is configured for transactions.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getTxnMaxActive()">getTxnMaxActive</a></strong>()</code> +<div class="block">Return the minimum number of simultaneously active transactions supported + by the database environment.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getTxnNoSync()">getTxnNoSync</a></strong>()</code> +<div class="block">Return true if the system has been configured to not write or synchronously + flush the log on transaction commit.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getTxnNotDurable()">getTxnNotDurable</a></strong>()</code> +<div class="block">Return true if the system has been configured to not write log records.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getTxnNoWait()">getTxnNoWait</a></strong>()</code> +<div class="block">Return true if the transactions have been configured to not wait for locks by default.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getTxnSnapshot()">getTxnSnapshot</a></strong>()</code> +<div class="block">Return true if the handle is configured to run all transactions at snapshot + isolation.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>long</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getTxnTimeout()">getTxnTimeout</a></strong>()</code> +<div class="block">Return the database environment transaction timeout value, in + microseconds; a timeout of 0 means no timeout is set.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>java.util.Date</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getTxnTimestamp()">getTxnTimestamp</a></strong>()</code> +<div class="block">Return the time to which recovery will be done, or 0 if recovery will + be done to the most current possible date.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getTxnWriteNoSync()">getTxnWriteNoSync</a></strong>()</code> +<div class="block">Return true if the system has been configured to write, but not synchronously + flush, the log on transaction commit.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getUseEnvironment()">getUseEnvironment</a></strong>()</code> +<div class="block">Return true if the database environment is configured to accept information + from the process environment when naming files.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getUseEnvironmentRoot()">getUseEnvironmentRoot</a></strong>()</code> +<div class="block">Return true if the database environment is configured to accept information from the process environment when naming files if the process has - appropriate permissions.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> boolean</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getVerbose(com.sleepycat.db.VerboseConfig)">getVerbose</A></B>(<A HREF="../../../com/sleepycat/db/VerboseConfig.html" title="class in com.sleepycat.db">VerboseConfig</A> flag)</CODE> - -<BR> - Return if the database environment is configured to display - a given type of verbose information.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> boolean</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getVerboseDeadlock()">getVerboseDeadlock</A></B>()</CODE> - -<BR> - <B>Deprecated.</B> <I>replaced by <A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getVerbose(com.sleepycat.db.VerboseConfig)"><CODE>getVerbose(com.sleepycat.db.VerboseConfig)</CODE></A></I></TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> boolean</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getVerboseRecovery()">getVerboseRecovery</A></B>()</CODE> - -<BR> - <B>Deprecated.</B> <I>replaced by <A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getVerbose(com.sleepycat.db.VerboseConfig)"><CODE>getVerbose(com.sleepycat.db.VerboseConfig)</CODE></A></I></TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> boolean</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getVerboseRegister()">getVerboseRegister</A></B>()</CODE> - -<BR> - <B>Deprecated.</B> <I>replaced by <A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getVerbose(com.sleepycat.db.VerboseConfig)"><CODE>getVerbose(com.sleepycat.db.VerboseConfig)</CODE></A></I></TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> boolean</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getVerboseReplication()">getVerboseReplication</A></B>()</CODE> - -<BR> - <B>Deprecated.</B> <I>replaced by <A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getVerbose(com.sleepycat.db.VerboseConfig)"><CODE>getVerbose(com.sleepycat.db.VerboseConfig)</CODE></A></I></TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> boolean</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getVerboseWaitsFor()">getVerboseWaitsFor</A></B>()</CODE> - -<BR> - <B>Deprecated.</B> <I>replaced by <A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getVerbose(com.sleepycat.db.VerboseConfig)"><CODE>getVerbose(com.sleepycat.db.VerboseConfig)</CODE></A></I></TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> boolean</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getYieldCPU()">getYieldCPU</A></B>()</CODE> - -<BR> - Return true if the system has been configured to yield the processor - immediately after each page or mutex acquisition.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setAllowCreate(boolean)">setAllowCreate</A></B>(boolean allowCreate)</CODE> - -<BR> - Configure the database environment to create any underlying files, - as necessary.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setBackupHandler(com.sleepycat.db.BackupHandler)">setBackupHandler</A></B>(<A HREF="../../../com/sleepycat/db/BackupHandler.html" title="interface in com.sleepycat.db">BackupHandler</A> backupHandler)</CODE> - -<BR> - Sets the <A HREF="../../../com/sleepycat/db/BackupHandler.html" title="interface in com.sleepycat.db"><CODE>BackupHandler</CODE></A> -interface to be used when performing hot backups.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setBackupReadCount(int)">setBackupReadCount</A></B>(int count)</CODE> - -<BR> - Configures the number of pages to read during a hot backup before pausing.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setBackupReadSleep(int)">setBackupReadSleep</A></B>(int sleep)</CODE> - -<BR> - Configures the number of microseconds to sleep between batches of reads during -a hot backup.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setBackupSize(int)">setBackupSize</A></B>(int size)</CODE> - -<BR> - Configures the size of the buffer, in bytes, to read from the database -during a hot backup.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setBackupWriteDirect(boolean)">setBackupWriteDirect</A></B>(boolean writeDirect)</CODE> - -<BR> - Configures whether direct I/O is used when writing pages to the disk during a -hot backup.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setCacheCount(int)">setCacheCount</A></B>(int cacheCount)</CODE> - -<BR> - Set the number of shared memory buffer pools, that is, the number of -caches.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setCacheMax(long)">setCacheMax</A></B>(long cacheMax)</CODE> - -<BR> - Set the maximum cache size in bytes.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setCachePageSize(int)">setCachePageSize</A></B>(int mpPageSize)</CODE> - -<BR> - Sets the page size used to allocate the hash table and the number of mutexes -expected to be needed by the buffer pool.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setCacheSize(long)">setCacheSize</A></B>(long cacheSize)</CODE> - -<BR> - Set the size of the shared memory buffer pool, that is, the size of the -cache.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setCacheTableSize(int)">setCacheTableSize</A></B>(int mpTableSize)</CODE> - -<BR> - Overrides the calculated hash table size.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setCDBLockAllDatabases(boolean)">setCDBLockAllDatabases</A></B>(boolean cdbLockAllDatabases)</CODE> - -<BR> - Configure Concurrent Data Store applications to perform locking on - an environment-wide basis rather than on a per-database basis.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setCreateDir(java.io.File)">setCreateDir</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</A> dir)</CODE> - -<BR> - Sets the path of a directory to be used as the location to create the -access method database files.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setDirectDatabaseIO(boolean)">setDirectDatabaseIO</A></B>(boolean directDatabaseIO)</CODE> - -<BR> - Configure the database environment to not buffer database files.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setDirectLogIO(boolean)">setDirectLogIO</A></B>(boolean directLogIO)</CODE> - -<BR> - Configure the database environment to not buffer log files.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setDsyncDatabases(boolean)">setDsyncDatabases</A></B>(boolean dsyncDatabases)</CODE> - -<BR> - Configure the database environment to flush database writes to the backing + appropriate permissions.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getVerbose(com.sleepycat.db.VerboseConfig)">getVerbose</a></strong>(<a href="../../../com/sleepycat/db/VerboseConfig.html" title="class in com.sleepycat.db">VerboseConfig</a> flag)</code> +<div class="block">Return if the database environment is configured to display + a given type of verbose information.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getVerboseDeadlock()">getVerboseDeadlock</a></strong>()</code> +<div class="block"><strong>Deprecated.</strong> +<div class="block"><i>replaced by <a href="../../../com/sleepycat/db/EnvironmentConfig.html#getVerbose(com.sleepycat.db.VerboseConfig)"><code>getVerbose(com.sleepycat.db.VerboseConfig)</code></a></i></div> +</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getVerboseRecovery()">getVerboseRecovery</a></strong>()</code> +<div class="block"><strong>Deprecated.</strong> +<div class="block"><i>replaced by <a href="../../../com/sleepycat/db/EnvironmentConfig.html#getVerbose(com.sleepycat.db.VerboseConfig)"><code>getVerbose(com.sleepycat.db.VerboseConfig)</code></a></i></div> +</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getVerboseRegister()">getVerboseRegister</a></strong>()</code> +<div class="block"><strong>Deprecated.</strong> +<div class="block"><i>replaced by <a href="../../../com/sleepycat/db/EnvironmentConfig.html#getVerbose(com.sleepycat.db.VerboseConfig)"><code>getVerbose(com.sleepycat.db.VerboseConfig)</code></a></i></div> +</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getVerboseReplication()">getVerboseReplication</a></strong>()</code> +<div class="block"><strong>Deprecated.</strong> +<div class="block"><i>replaced by <a href="../../../com/sleepycat/db/EnvironmentConfig.html#getVerbose(com.sleepycat.db.VerboseConfig)"><code>getVerbose(com.sleepycat.db.VerboseConfig)</code></a></i></div> +</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getVerboseWaitsFor()">getVerboseWaitsFor</a></strong>()</code> +<div class="block"><strong>Deprecated.</strong> +<div class="block"><i>replaced by <a href="../../../com/sleepycat/db/EnvironmentConfig.html#getVerbose(com.sleepycat.db.VerboseConfig)"><code>getVerbose(com.sleepycat.db.VerboseConfig)</code></a></i></div> +</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#getYieldCPU()">getYieldCPU</a></strong>()</code> +<div class="block">Return true if the system has been configured to yield the processor + immediately after each page or mutex acquisition.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setAllowCreate(boolean)">setAllowCreate</a></strong>(boolean allowCreate)</code> +<div class="block">Configure the database environment to create any underlying files, + as necessary.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setBackupHandler(com.sleepycat.db.BackupHandler)">setBackupHandler</a></strong>(<a href="../../../com/sleepycat/db/BackupHandler.html" title="interface in com.sleepycat.db">BackupHandler</a> backupHandler)</code> +<div class="block">Sets the <a href="../../../com/sleepycat/db/BackupHandler.html" title="interface in com.sleepycat.db"><code>BackupHandler</code></a> +interface to be used when performing hot backups.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setBackupReadCount(int)">setBackupReadCount</a></strong>(int count)</code> +<div class="block">Configures the number of pages to read during a hot backup before pausing.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setBackupReadSleep(int)">setBackupReadSleep</a></strong>(int sleep)</code> +<div class="block">Configures the number of microseconds to sleep between batches of reads during +a hot backup.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setBackupSize(int)">setBackupSize</a></strong>(int size)</code> +<div class="block">Configures the size of the buffer, in bytes, to read from the database +during a hot backup.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setBackupWriteDirect(boolean)">setBackupWriteDirect</a></strong>(boolean writeDirect)</code> +<div class="block">Configures whether direct I/O is used when writing pages to the disk during a +hot backup.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setBlobDir(java.io.File)">setBlobDir</a></strong>(java.io.File dir)</code> +<div class="block">Sets the path of a directory where blobs are stored.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setBlobThreshold(int)">setBlobThreshold</a></strong>(int value)</code> +<div class="block">Set the default blob threshold for databases opened in this environment.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setCacheCount(int)">setCacheCount</a></strong>(int cacheCount)</code> +<div class="block">Set the number of shared memory buffer pools, that is, the number of +caches.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setCacheMax(long)">setCacheMax</a></strong>(long cacheMax)</code> +<div class="block">Set the maximum cache size in bytes.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setCachePageSize(int)">setCachePageSize</a></strong>(int mpPageSize)</code> +<div class="block">Sets the page size used to allocate the hash table and the number of mutexes +expected to be needed by the buffer pool.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setCacheSize(long)">setCacheSize</a></strong>(long cacheSize)</code> +<div class="block">Set the size of the shared memory buffer pool, that is, the size of the +cache.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setCacheTableSize(int)">setCacheTableSize</a></strong>(int mpTableSize)</code> +<div class="block">Overrides the calculated hash table size.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setCDBLockAllDatabases(boolean)">setCDBLockAllDatabases</a></strong>(boolean cdbLockAllDatabases)</code> +<div class="block">Configure Concurrent Data Store applications to perform locking on + an environment-wide basis rather than on a per-database basis.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setCreateDir(java.io.File)">setCreateDir</a></strong>(java.io.File dir)</code> +<div class="block">Sets the path of a directory to be used as the location to create the +access method database files.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setDirectDatabaseIO(boolean)">setDirectDatabaseIO</a></strong>(boolean directDatabaseIO)</code> +<div class="block">Configure the database environment to not buffer database files.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setDirectLogIO(boolean)">setDirectLogIO</a></strong>(boolean directLogIO)</code> +<div class="block">Configure the database environment to not buffer log files.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setDsyncDatabases(boolean)">setDsyncDatabases</a></strong>(boolean dsyncDatabases)</code> +<div class="block">Configure the database environment to flush database writes to the backing disk before returning from the write system call, rather than flushing - database writes explicitly in a separate system call, as necessary.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setDsyncLog(boolean)">setDsyncLog</A></B>(boolean dsyncLog)</CODE> - -<BR> - Configure the database environment to flush log writes to the + database writes explicitly in a separate system call, as necessary.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setDsyncLog(boolean)">setDsyncLog</a></strong>(boolean dsyncLog)</code> +<div class="block">Configure the database environment to flush log writes to the backing disk before returning from the write system call, rather - than flushing log writes explicitly in a separate system call.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setEncrypted(java.lang.String)">setEncrypted</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> password)</CODE> - -<BR> - Set the password used to perform encryption and decryption.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setErrorHandler(com.sleepycat.db.ErrorHandler)">setErrorHandler</A></B>(<A HREF="../../../com/sleepycat/db/ErrorHandler.html" title="interface in com.sleepycat.db">ErrorHandler</A> errorHandler)</CODE> - -<BR> - Set the function to be called if an error occurs.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setErrorPrefix(java.lang.String)">setErrorPrefix</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> errorPrefix)</CODE> - -<BR> - Set the prefix string that appears before error messages.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setErrorStream(java.io.OutputStream)">setErrorStream</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</A> errorStream)</CODE> - -<BR> - Set an OutputStream for displaying error messages.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setEventHandler(com.sleepycat.db.EventHandler)">setEventHandler</A></B>(<A HREF="../../../com/sleepycat/db/EventHandler.html" title="interface in com.sleepycat.db">EventHandler</A> eventHandler)</CODE> - -<BR> - Set an object whose methods are to be called when a triggered event occurs.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setFeedbackHandler(com.sleepycat.db.FeedbackHandler)">setFeedbackHandler</A></B>(<A HREF="../../../com/sleepycat/db/FeedbackHandler.html" title="interface in com.sleepycat.db">FeedbackHandler</A> feedbackHandler)</CODE> - -<BR> - Set an object whose methods are called to provide feedback.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setHotbackupInProgress(boolean)">setHotbackupInProgress</A></B>(boolean hotbackup)</CODE> - -<BR> - When a "hot backup" copy of a database environment is taken, this -attribute should be configured in the environment prior to copying.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setInitializeCache(boolean)">setInitializeCache</A></B>(boolean initializeCache)</CODE> - -<BR> - Configure a shared memory buffer pool in the database environment.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setInitializeCDB(boolean)">setInitializeCDB</A></B>(boolean initializeCDB)</CODE> - -<BR> - Configure the database environment for the Concurrent Data Store - product.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setInitializeLocking(boolean)">setInitializeLocking</A></B>(boolean initializeLocking)</CODE> - -<BR> - Configure the database environment for locking.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setInitializeLogging(boolean)">setInitializeLogging</A></B>(boolean initializeLogging)</CODE> - -<BR> - Configure the database environment for logging.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setInitializeRegions(boolean)">setInitializeRegions</A></B>(boolean initializeRegions)</CODE> - -<BR> - Configure the database environment to page-fault shared regions into - memory when initially creating or joining a database environment.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setInitializeReplication(boolean)">setInitializeReplication</A></B>(boolean initializeReplication)</CODE> - -<BR> - Configure the database environment for replication.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setInitialMutexes(int)">setInitialMutexes</A></B>(int initMutexes)</CODE> - -<BR> - Set the number of mutexes to allocate when an environment is created.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setJoinEnvironment(boolean)">setJoinEnvironment</A></B>(boolean joinEnvironment)</CODE> - -<BR> - Configure the handle to join an existing environment.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setLockConflicts(byte[][])">setLockConflicts</A></B>(byte[][] lockConflicts)</CODE> - -<BR> - Configure the locking conflicts matrix.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setLockDetectMode(com.sleepycat.db.LockDetectMode)">setLockDetectMode</A></B>(<A HREF="../../../com/sleepycat/db/LockDetectMode.html" title="class in com.sleepycat.db">LockDetectMode</A> lockDetectMode)</CODE> - -<BR> - Configure if the deadlock detector is to be run whenever a lock - conflict occurs.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setLockDown(boolean)">setLockDown</A></B>(boolean lockDown)</CODE> - -<BR> - Configure the database environment to lock shared environment files - and memory-mapped databases into memory.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setLockPartitions(int)">setLockPartitions</A></B>(int partitions)</CODE> - -<BR> - Set the number of lock table partitions in the Berkeley DB environment.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setLockTableSize(int)">setLockTableSize</A></B>(int lockTableSize)</CODE> - -<BR> - Set the size for the hash table that contains references to locks.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setLockTimeout(long)">setLockTimeout</A></B>(long lockTimeout)</CODE> - -<BR> - Set the timeout value for the database environment -locks.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setLogAutoRemove(boolean)">setLogAutoRemove</A></B>(boolean logAutoRemove)</CODE> - -<BR> - Configure the system to automatically remove log files that are no - longer needed.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setLogBufferSize(int)">setLogBufferSize</A></B>(int logBufferSize)</CODE> - -<BR> - Set the size of the in-memory log buffer, in bytes.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setLogDirectory(java.io.File)">setLogDirectory</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</A> logDirectory)</CODE> - -<BR> - Set the path of a directory to be used as the location of logging files.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setLogFileMode(int)">setLogFileMode</A></B>(int logFileMode)</CODE> - -<BR> - Set the absolute file mode for created log files.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setLogInMemory(boolean)">setLogInMemory</A></B>(boolean logInMemory)</CODE> - -<BR> - If set, maintain transaction logs in memory rather than on disk.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setLogRecordHandler(com.sleepycat.db.LogRecordHandler)">setLogRecordHandler</A></B>(<A HREF="../../../com/sleepycat/db/LogRecordHandler.html" title="interface in com.sleepycat.db">LogRecordHandler</A> logRecordHandler)</CODE> - -<BR> - Set a function to process application-specific log records.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setLogRegionSize(int)">setLogRegionSize</A></B>(int logRegionSize)</CODE> - -<BR> - Set the size of the underlying logging area of the database - environment, in bytes.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setLogZero(boolean)">setLogZero</A></B>(boolean logZero)</CODE> - -<BR> - If set, zero all pages of a log file when that log file is created.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setMaxLockers(int)">setMaxLockers</A></B>(int maxLockers)</CODE> - -<BR> - Set the maximum number of locking entities supported by the database - environment.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setMaxLockObjects(int)">setMaxLockObjects</A></B>(int maxLockObjects)</CODE> - -<BR> - Set the maximum number of locked objects supported by the database - environment.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setMaxLocks(int)">setMaxLocks</A></B>(int maxLocks)</CODE> - -<BR> - Set the maximum number of locks supported by the database - environment.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setMaxLogFileSize(int)">setMaxLogFileSize</A></B>(int maxLogFileSize)</CODE> - -<BR> - Set the maximum size of a single file in the log, in bytes.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setMaxMutexes(int)">setMaxMutexes</A></B>(int maxMutexes)</CODE> - -<BR> - Set the total number of mutexes to allocate.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setMaxOpenFiles(int)">setMaxOpenFiles</A></B>(int maxOpenFiles)</CODE> - -<BR> - Limit the number of file descriptors the library will open concurrently - when flushing dirty pages from the cache.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setMaxWrite(int, long)">setMaxWrite</A></B>(int maxWrite, - long maxWriteSleep)</CODE> - -<BR> - Limit the number of sequential write operations scheduled by the - library when flushing dirty pages from the cache.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setMessageHandler(com.sleepycat.db.MessageHandler)">setMessageHandler</A></B>(<A HREF="../../../com/sleepycat/db/MessageHandler.html" title="interface in com.sleepycat.db">MessageHandler</A> messageHandler)</CODE> - -<BR> - Set a function to be called with an informational message.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setMessageStream(java.io.OutputStream)">setMessageStream</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</A> messageStream)</CODE> - -<BR> - Set an OutputStream for displaying informational messages.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setMetadataDir(java.io.File)">setMetadataDir</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</A> dir)</CODE> - -<BR> - Set the path of a directory to be used as the location to store the - persistent metadata files.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setMMapSize(long)">setMMapSize</A></B>(long mmapSize)</CODE> - -<BR> - Set the maximum file size, in bytes, for a file to be mapped into - the process address space.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setMode(int)">setMode</A></B>(int mode)</CODE> - -<BR> - Configure the database environment to use a specific mode when - creating underlying files and shared memory segments.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setMultiversion(boolean)">setMultiversion</A></B>(boolean multiversion)</CODE> - -<BR> - Configure the database environment to open all databases that are not - using the queue access method for multiversion concurrency control.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setMutexAlignment(int)">setMutexAlignment</A></B>(int mutexAlignment)</CODE> - -<BR> - Set the mutex alignment, in bytes.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setMutexIncrement(int)">setMutexIncrement</A></B>(int mutexIncrement)</CODE> - -<BR> - Increase the number of mutexes to allocate.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setMutexTestAndSetSpins(int)">setMutexTestAndSetSpins</A></B>(int mutexTestAndSetSpins)</CODE> - -<BR> - Specify the number of times that test-and-set mutexes should spin - without blocking.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setNoLocking(boolean)">setNoLocking</A></B>(boolean noLocking)</CODE> - -<BR> - Configure the system to grant all requested mutual exclusion mutexes - and database locks without regard for their actual availability.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setNoMMap(boolean)">setNoMMap</A></B>(boolean noMMap)</CODE> - -<BR> - Configure the system to copy read-only database files into the local - cache instead of potentially mapping them into process memory.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setNoPanic(boolean)">setNoPanic</A></B>(boolean noPanic)</CODE> - -<BR> - Configure the system to ignore any panic state in the database - environment.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setOverwrite(boolean)">setOverwrite</A></B>(boolean overwrite)</CODE> - -<BR> - Configure the system to overwrite files stored in encrypted formats - before deleting them.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setPanicHandler(com.sleepycat.db.PanicHandler)">setPanicHandler</A></B>(<A HREF="../../../com/sleepycat/db/PanicHandler.html" title="interface in com.sleepycat.db">PanicHandler</A> panicHandler)</CODE> - -<BR> - Set the function to be called if the database environment panics.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setPrivate(boolean)">setPrivate</A></B>(boolean isPrivate)</CODE> - -<BR> - Configure the database environment to only be accessed by a single - process (although that process may be multithreaded).</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setRegionMemoryInitialSize(com.sleepycat.db.RegionResourceType, int)">setRegionMemoryInitialSize</A></B>(<A HREF="../../../com/sleepycat/db/RegionResourceType.html" title="class in com.sleepycat.db">RegionResourceType</A> resource, - int count)</CODE> - -<BR> - Assign an initial count for a particular resource within the shared region - of Berkeley DB.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setRegionMemoryMax(long)">setRegionMemoryMax</A></B>(long regionMemoryMax)</CODE> - -<BR> - This method sets the maximum amount of memory to be used by shared - structures in the main environment region.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setRegister(boolean)">setRegister</A></B>(boolean register)</CODE> - -<BR> - Check if a process has failed while using the database environment, that - is, if a process has exited with an open <A HREF="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><CODE>Environment</CODE></A> handle.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setReplicationClockskew(int, int)">setReplicationClockskew</A></B>(int replicationClockskewFast, - int replicationClockskewSlow)</CODE> - -<BR> - Sets the clock skew ratio among replication group members based on the - fastest and slowest measurements among the group for use with master leases.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setReplicationInMemory(boolean)">setReplicationInMemory</A></B>(boolean replicationInMemory)</CODE> - -<BR> - If set, store internal replication information in memory only.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setReplicationLimit(long)">setReplicationLimit</A></B>(long replicationLimit)</CODE> - -<BR> - Impose a byte-count limit on the amount of data that will be - transmitted from a site in a single call to <A HREF="../../../com/sleepycat/db/Environment.html#processReplicationMessage(com.sleepycat.db.DatabaseEntry, com.sleepycat.db.DatabaseEntry, int)"><CODE>Environment.processReplicationMessage</CODE></A>.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setReplicationManagerAckPolicy(com.sleepycat.db.ReplicationManagerAckPolicy)">setReplicationManagerAckPolicy</A></B>(<A HREF="../../../com/sleepycat/db/ReplicationManagerAckPolicy.html" title="class in com.sleepycat.db">ReplicationManagerAckPolicy</A> repmgrAckPolicy)</CODE> - -<BR> - Set the network Ack policy used by the replication manager.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setReplicationNumSites(int)">setReplicationNumSites</A></B>(int replicationNumSites)</CODE> - -<BR> - Set the total number of sites the replication group is configured for.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setReplicationPriority(int)">setReplicationPriority</A></B>(int replicationPriority)</CODE> - -<BR> - Set the current environment's priority.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setReplicationRequestMax(int)">setReplicationRequestMax</A></B>(int replicationRequestMax)</CODE> - -<BR> - Set a threshold for the maximum time that a client waits before requesting - retransmission of a missing message.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setReplicationRequestMin(int)">setReplicationRequestMin</A></B>(int replicationRequestMin)</CODE> - -<BR> - Set a threshold for the minimum time that a client waits before requesting - retransmission of a missing message.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setReplicationTransport(int, com.sleepycat.db.ReplicationTransport)">setReplicationTransport</A></B>(int envid, - <A HREF="../../../com/sleepycat/db/ReplicationTransport.html" title="interface in com.sleepycat.db">ReplicationTransport</A> replicationTransport)</CODE> - -<BR> - Initialize the communication infrastructure for a database environment - participating in a replicated application.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setRunFatalRecovery(boolean)">setRunFatalRecovery</A></B>(boolean runFatalRecovery)</CODE> - -<BR> - Configure to run catastrophic recovery on this environment before opening it for -normal use.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setRunRecovery(boolean)">setRunRecovery</A></B>(boolean runRecovery)</CODE> - -<BR> - Configure to run normal recovery on this environment before opening it for -normal use.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setSegmentId(long)">setSegmentId</A></B>(long segmentId)</CODE> - -<BR> - Specify a base segment ID for database environment shared memory + than flushing log writes explicitly in a separate system call.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setEncrypted(java.lang.String)">setEncrypted</a></strong>(java.lang.String password)</code> +<div class="block">Set the password used to perform encryption and decryption.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setErrorHandler(com.sleepycat.db.ErrorHandler)">setErrorHandler</a></strong>(<a href="../../../com/sleepycat/db/ErrorHandler.html" title="interface in com.sleepycat.db">ErrorHandler</a> errorHandler)</code> +<div class="block">Set the function to be called if an error occurs.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setErrorPrefix(java.lang.String)">setErrorPrefix</a></strong>(java.lang.String errorPrefix)</code> +<div class="block">Set the prefix string that appears before error messages.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setErrorStream(java.io.OutputStream)">setErrorStream</a></strong>(java.io.OutputStream errorStream)</code> +<div class="block">Set an OutputStream for displaying error messages.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setEventHandler(com.sleepycat.db.EventHandler)">setEventHandler</a></strong>(<a href="../../../com/sleepycat/db/EventHandler.html" title="interface in com.sleepycat.db">EventHandler</a> eventHandler)</code> +<div class="block">Set an object whose methods are to be called when a triggered event occurs.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setFeedbackHandler(com.sleepycat.db.FeedbackHandler)">setFeedbackHandler</a></strong>(<a href="../../../com/sleepycat/db/FeedbackHandler.html" title="interface in com.sleepycat.db">FeedbackHandler</a> feedbackHandler)</code> +<div class="block">Set an object whose methods are called to provide feedback.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setHotbackupInProgress(boolean)">setHotbackupInProgress</a></strong>(boolean hotbackup)</code> +<div class="block">When a "hot backup" copy of a database environment is taken, this +attribute should be configured in the environment prior to copying.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setInitializeCache(boolean)">setInitializeCache</a></strong>(boolean initializeCache)</code> +<div class="block">Configure a shared memory buffer pool in the database environment.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setInitializeCDB(boolean)">setInitializeCDB</a></strong>(boolean initializeCDB)</code> +<div class="block">Configure the database environment for the Concurrent Data Store + product.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setInitializeLocking(boolean)">setInitializeLocking</a></strong>(boolean initializeLocking)</code> +<div class="block">Configure the database environment for locking.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setInitializeLogging(boolean)">setInitializeLogging</a></strong>(boolean initializeLogging)</code> +<div class="block">Configure the database environment for logging.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setInitializeRegions(boolean)">setInitializeRegions</a></strong>(boolean initializeRegions)</code> +<div class="block">Configure the database environment to page-fault shared regions into + memory when initially creating or joining a database environment.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setInitializeReplication(boolean)">setInitializeReplication</a></strong>(boolean initializeReplication)</code> +<div class="block">Configure the database environment for replication.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setInitialMutexes(int)">setInitialMutexes</a></strong>(int initMutexes)</code> +<div class="block">Set the number of mutexes to allocate when an environment is created.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setJoinEnvironment(boolean)">setJoinEnvironment</a></strong>(boolean joinEnvironment)</code> +<div class="block">Configure the handle to join an existing environment.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setLockConflicts(byte[][])">setLockConflicts</a></strong>(byte[][] lockConflicts)</code> +<div class="block">Configure the locking conflicts matrix.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setLockDetectMode(com.sleepycat.db.LockDetectMode)">setLockDetectMode</a></strong>(<a href="../../../com/sleepycat/db/LockDetectMode.html" title="class in com.sleepycat.db">LockDetectMode</a> lockDetectMode)</code> +<div class="block">Configure if the deadlock detector is to be run whenever a lock + conflict occurs.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setLockDown(boolean)">setLockDown</a></strong>(boolean lockDown)</code> +<div class="block">Configure the database environment to lock shared environment files + and memory-mapped databases into memory.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setLockPartitions(int)">setLockPartitions</a></strong>(int partitions)</code> +<div class="block">Set the number of lock table partitions in the Berkeley DB environment.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setLockTableSize(int)">setLockTableSize</a></strong>(int lockTableSize)</code> +<div class="block">Set the size for the hash table that contains references to locks.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setLockTimeout(long)">setLockTimeout</a></strong>(long lockTimeout)</code> +<div class="block">Set the timeout value for the database environment +locks.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setLogAutoRemove(boolean)">setLogAutoRemove</a></strong>(boolean logAutoRemove)</code> +<div class="block">Configure the system to automatically remove log files that are no + longer needed.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setLogBlobContent(boolean)">setLogBlobContent</a></strong>(boolean logBlobContent)</code> +<div class="block">Enable full logging of blob data.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setLogBufferSize(int)">setLogBufferSize</a></strong>(int logBufferSize)</code> +<div class="block">Set the size of the in-memory log buffer, in bytes.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setLogDirectory(java.io.File)">setLogDirectory</a></strong>(java.io.File logDirectory)</code> +<div class="block">Set the path of a directory to be used as the location of logging files.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setLogFileMode(int)">setLogFileMode</a></strong>(int logFileMode)</code> +<div class="block">Set the absolute file mode for created log files.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setLogInMemory(boolean)">setLogInMemory</a></strong>(boolean logInMemory)</code> +<div class="block">If set, maintain transaction logs in memory rather than on disk.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setLogNoSync(boolean)">setLogNoSync</a></strong>(boolean logNoSync)</code> +<div class="block">Configure the system to avoid fsync() calls during log file flushes.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setLogRecordHandler(com.sleepycat.db.LogRecordHandler)">setLogRecordHandler</a></strong>(<a href="../../../com/sleepycat/db/LogRecordHandler.html" title="interface in com.sleepycat.db">LogRecordHandler</a> logRecordHandler)</code> +<div class="block">Set a function to process application-specific log records.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setLogRegionSize(int)">setLogRegionSize</a></strong>(int logRegionSize)</code> +<div class="block">Set the size of the underlying logging area of the database + environment, in bytes.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setLogZero(boolean)">setLogZero</a></strong>(boolean logZero)</code> +<div class="block">If set, zero all pages of a log file when that log file is created.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setMaxLockers(int)">setMaxLockers</a></strong>(int maxLockers)</code> +<div class="block">Set the maximum number of locking entities supported by the database + environment.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setMaxLockObjects(int)">setMaxLockObjects</a></strong>(int maxLockObjects)</code> +<div class="block">Set the maximum number of locked objects supported by the database + environment.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setMaxLocks(int)">setMaxLocks</a></strong>(int maxLocks)</code> +<div class="block">Set the maximum number of locks supported by the database + environment.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setMaxLogFileSize(int)">setMaxLogFileSize</a></strong>(int maxLogFileSize)</code> +<div class="block">Set the maximum size of a single file in the log, in bytes.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setMaxMutexes(int)">setMaxMutexes</a></strong>(int maxMutexes)</code> +<div class="block">Set the total number of mutexes to allocate.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setMaxOpenFiles(int)">setMaxOpenFiles</a></strong>(int maxOpenFiles)</code> +<div class="block">Limit the number of file descriptors the library will open concurrently + when flushing dirty pages from the cache.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setMaxWrite(int,%20long)">setMaxWrite</a></strong>(int maxWrite, + long maxWriteSleep)</code> +<div class="block">Limit the number of sequential write operations scheduled by the + library when flushing dirty pages from the cache.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setMessageHandler(com.sleepycat.db.MessageHandler)">setMessageHandler</a></strong>(<a href="../../../com/sleepycat/db/MessageHandler.html" title="interface in com.sleepycat.db">MessageHandler</a> messageHandler)</code> +<div class="block">Set a function to be called with an informational message.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setMessageStream(java.io.OutputStream)">setMessageStream</a></strong>(java.io.OutputStream messageStream)</code> +<div class="block">Set an OutputStream for displaying informational messages.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setMetadataDir(java.io.File)">setMetadataDir</a></strong>(java.io.File dir)</code> +<div class="block">Set the path of a directory to be used as the location to store the + persistent metadata files.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setMMapSize(long)">setMMapSize</a></strong>(long mmapSize)</code> +<div class="block">Set the maximum file size, in bytes, for a file to be mapped into + the process address space.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setMode(int)">setMode</a></strong>(int mode)</code> +<div class="block">Configure the database environment to use a specific mode when + creating underlying files and shared memory segments.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setMsgfile(java.io.File)">setMsgfile</a></strong>(java.io.File file)</code> +<div class="block">Sets the path of a file to store statistical information.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setMultiversion(boolean)">setMultiversion</a></strong>(boolean multiversion)</code> +<div class="block">Configure the database environment to open all databases that are not + using the queue access method for multiversion concurrency control.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setMutexAlignment(int)">setMutexAlignment</a></strong>(int mutexAlignment)</code> +<div class="block">Set the mutex alignment, in bytes.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setMutexIncrement(int)">setMutexIncrement</a></strong>(int mutexIncrement)</code> +<div class="block">Increase the number of mutexes to allocate.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setMutexTestAndSetSpins(int)">setMutexTestAndSetSpins</a></strong>(int mutexTestAndSetSpins)</code> +<div class="block">Specify the number of times that test-and-set mutexes should spin + without blocking.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setNoLocking(boolean)">setNoLocking</a></strong>(boolean noLocking)</code> +<div class="block">Configure the system to grant all requested mutual exclusion mutexes + and database locks without regard for their actual availability.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setNoMMap(boolean)">setNoMMap</a></strong>(boolean noMMap)</code> +<div class="block">Configure the system to copy read-only database files into the local + cache instead of potentially mapping them into process memory.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setNoPanic(boolean)">setNoPanic</a></strong>(boolean noPanic)</code> +<div class="block">Configure the system to ignore any panic state in the database + environment.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setOverwrite(boolean)">setOverwrite</a></strong>(boolean overwrite)</code> +<div class="block">Configure the system to overwrite files stored in encrypted formats + before deleting them.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setPanicHandler(com.sleepycat.db.PanicHandler)">setPanicHandler</a></strong>(<a href="../../../com/sleepycat/db/PanicHandler.html" title="interface in com.sleepycat.db">PanicHandler</a> panicHandler)</code> +<div class="block">Set the function to be called if the database environment panics.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setPrivate(boolean)">setPrivate</a></strong>(boolean isPrivate)</code> +<div class="block">Configure the database environment to only be accessed by a single + process (although that process may be multithreaded).</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setRegionMemoryInitialSize(com.sleepycat.db.RegionResourceType,%20int)">setRegionMemoryInitialSize</a></strong>(<a href="../../../com/sleepycat/db/RegionResourceType.html" title="class in com.sleepycat.db">RegionResourceType</a> resource, + int count)</code> +<div class="block">Assign an initial count for a particular resource within the shared region + of Berkeley DB.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setRegionMemoryMax(long)">setRegionMemoryMax</a></strong>(long regionMemoryMax)</code> +<div class="block">This method sets the maximum amount of memory to be used by shared + structures in the main environment region.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setRegister(boolean)">setRegister</a></strong>(boolean register)</code> +<div class="block">Check if a process has failed while using the database environment, that + is, if a process has exited with an open <a href="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><code>Environment</code></a> handle.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setReplicationClockskew(int,%20int)">setReplicationClockskew</a></strong>(int replicationClockskewFast, + int replicationClockskewSlow)</code> +<div class="block">Sets the clock skew ratio among replication group members based on the + fastest and slowest measurements among the group for use with master leases.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setReplicationInMemory(boolean)">setReplicationInMemory</a></strong>(boolean replicationInMemory)</code> +<div class="block">If set, store internal replication information in memory only.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setReplicationLimit(long)">setReplicationLimit</a></strong>(long replicationLimit)</code> +<div class="block">Impose a byte-count limit on the amount of data that will be + transmitted from a site in a single call to <a href="../../../com/sleepycat/db/Environment.html#processReplicationMessage(com.sleepycat.db.DatabaseEntry,%20com.sleepycat.db.DatabaseEntry,%20int)"><code>Environment.processReplicationMessage</code></a>.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setReplicationManagerAckPolicy(com.sleepycat.db.ReplicationManagerAckPolicy)">setReplicationManagerAckPolicy</a></strong>(<a href="../../../com/sleepycat/db/ReplicationManagerAckPolicy.html" title="class in com.sleepycat.db">ReplicationManagerAckPolicy</a> repmgrAckPolicy)</code> +<div class="block">Set the network Ack policy used by the replication manager.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setReplicationManagerIncomingQueueMax(long)">setReplicationManagerIncomingQueueMax</a></strong>(long repmgrIncomingQueueMax)</code> +<div class="block">Set the maximum amount of dynamic memory used by the Replication Manager + incoming queue.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setReplicationNumSites(int)">setReplicationNumSites</a></strong>(int replicationNumSites)</code> +<div class="block">Set the total number of sites the replication group is configured for.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setReplicationPriority(int)">setReplicationPriority</a></strong>(int replicationPriority)</code> +<div class="block">Set the current environment's priority.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setReplicationRequestMax(int)">setReplicationRequestMax</a></strong>(int replicationRequestMax)</code> +<div class="block">Set a threshold for the maximum time that a client waits before requesting + retransmission of a missing message.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setReplicationRequestMin(int)">setReplicationRequestMin</a></strong>(int replicationRequestMin)</code> +<div class="block">Set a threshold for the minimum time that a client waits before requesting + retransmission of a missing message.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setReplicationTransport(int,%20com.sleepycat.db.ReplicationTransport)">setReplicationTransport</a></strong>(int envid, + <a href="../../../com/sleepycat/db/ReplicationTransport.html" title="interface in com.sleepycat.db">ReplicationTransport</a> replicationTransport)</code> +<div class="block">Initialize the communication infrastructure for a database environment + participating in a replicated application.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setReplicationView(com.sleepycat.db.ReplicationViewHandler)">setReplicationView</a></strong>(<a href="../../../com/sleepycat/db/ReplicationViewHandler.html" title="interface in com.sleepycat.db">ReplicationViewHandler</a> repViewHandler)</code> +<div class="block">Set the function to be used by replication views to determine whether a + database file is replicated to the local site.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setRunFatalRecovery(boolean)">setRunFatalRecovery</a></strong>(boolean runFatalRecovery)</code> +<div class="block">Configure to run catastrophic recovery on this environment before opening it for +normal use.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setRunRecovery(boolean)">setRunRecovery</a></strong>(boolean runRecovery)</code> +<div class="block">Configure to run normal recovery on this environment before opening it for +normal use.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setSegmentId(long)">setSegmentId</a></strong>(long segmentId)</code> +<div class="block">Specify a base segment ID for database environment shared memory regions created in system memory on VxWorks or systems supporting X/Open-style shared memory interfaces; for example, UNIX systems - supporting <code>shmget</code> and related System V IPC interfaces.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setSystemMemory(boolean)">setSystemMemory</A></B>(boolean systemMemory)</CODE> - -<BR> - Configure the database environment to allocate memory from system - shared memory instead of from memory backed by the filesystem.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setTemporaryDirectory(java.io.File)">setTemporaryDirectory</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</A> temporaryDirectory)</CODE> - -<BR> - Set the path of a directory to be used as the location of temporary - files.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setTemporaryDirectory(java.lang.String)">setTemporaryDirectory</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> temporaryDirectory)</CODE> - -<BR> - <B>Deprecated.</B> <I>replaced by <A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setTemporaryDirectory(java.io.File)"><CODE>setTemporaryDirectory(java.io.File)</CODE></A></I></TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setTestAndSetSpins(int)">setTestAndSetSpins</A></B>(int mutexTestAndSetSpins)</CODE> - -<BR> - <B>Deprecated.</B> <I>replaced by <A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setMutexTestAndSetSpins(int)"><CODE>setMutexTestAndSetSpins(int)</CODE></A></I></TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setThreaded(boolean)">setThreaded</A></B>(boolean threaded)</CODE> - -<BR> - Configure the handle to be <em>free-threaded</em>; that is, usable - by multiple threads within a single address space.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setTransactional(boolean)">setTransactional</A></B>(boolean transactional)</CODE> - -<BR> - Configure the database environment for transactions.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setTxnMaxActive(int)">setTxnMaxActive</A></B>(int txnMaxActive)</CODE> - -<BR> - Configure the database environment to support at least txnMaxActive - active transactions.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setTxnNoSync(boolean)">setTxnNoSync</A></B>(boolean txnNoSync)</CODE> - -<BR> - Configure the system to not write or synchronously flush the log - on transaction commit.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setTxnNotDurable(boolean)">setTxnNotDurable</A></B>(boolean txnNotDurable)</CODE> - -<BR> - Configure the system to not write log records.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setTxnNoWait(boolean)">setTxnNoWait</A></B>(boolean txnNoWait)</CODE> - -<BR> - If a lock is unavailable for any Berkeley DB operation performed in the - context of a transaction, cause the operation to throw <A HREF="../../../com/sleepycat/db/LockNotGrantedException.html" title="class in com.sleepycat.db"><CODE>LockNotGrantedException</CODE></A> without waiting for the lock.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setTxnSnapshot(boolean)">setTxnSnapshot</A></B>(boolean txnSnapshot)</CODE> - -<BR> - Configure the database environment to run transactions at snapshot - isolation by default.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setTxnTimeout(long)">setTxnTimeout</A></B>(long txnTimeout)</CODE> - -<BR> - Set the timeout value for the database environment -transactions.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setTxnTimestamp(java.util.Date)">setTxnTimestamp</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</A> txnTimestamp)</CODE> - -<BR> - Recover to the specified time rather than to the most current - possible date.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setTxnWriteNoSync(boolean)">setTxnWriteNoSync</A></B>(boolean txnWriteNoSync)</CODE> - -<BR> - Configure the system to write, but not synchronously flush, the log on - transaction commit.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setUseEnvironment(boolean)">setUseEnvironment</A></B>(boolean useEnvironment)</CODE> - -<BR> - Configure the database environment to accept information from the + supporting <code>shmget</code> and related System V IPC interfaces.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setSystemMemory(boolean)">setSystemMemory</a></strong>(boolean systemMemory)</code> +<div class="block">Configure the database environment to allocate memory from system + shared memory instead of from memory backed by the filesystem.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setTemporaryDirectory(java.io.File)">setTemporaryDirectory</a></strong>(java.io.File temporaryDirectory)</code> +<div class="block">Set the path of a directory to be used as the location of temporary + files.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setTemporaryDirectory(java.lang.String)">setTemporaryDirectory</a></strong>(java.lang.String temporaryDirectory)</code> +<div class="block"><strong>Deprecated.</strong> +<div class="block"><i>replaced by <a href="../../../com/sleepycat/db/EnvironmentConfig.html#setTemporaryDirectory(java.io.File)"><code>setTemporaryDirectory(java.io.File)</code></a></i></div> +</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setTestAndSetSpins(int)">setTestAndSetSpins</a></strong>(int mutexTestAndSetSpins)</code> +<div class="block"><strong>Deprecated.</strong> +<div class="block"><i>replaced by <a href="../../../com/sleepycat/db/EnvironmentConfig.html#setMutexTestAndSetSpins(int)"><code>setMutexTestAndSetSpins(int)</code></a></i></div> +</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setThreaded(boolean)">setThreaded</a></strong>(boolean threaded)</code> +<div class="block">Configure the handle to be <em>free-threaded</em>; that is, usable + by multiple threads within a single address space.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setTransactional(boolean)">setTransactional</a></strong>(boolean transactional)</code> +<div class="block">Configure the database environment for transactions.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setTxnMaxActive(int)">setTxnMaxActive</a></strong>(int txnMaxActive)</code> +<div class="block">Configure the database environment to support at least txnMaxActive + active transactions.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setTxnNoSync(boolean)">setTxnNoSync</a></strong>(boolean txnNoSync)</code> +<div class="block">Configure the system to not write or synchronously flush the log + on transaction commit.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setTxnNotDurable(boolean)">setTxnNotDurable</a></strong>(boolean txnNotDurable)</code> +<div class="block">Configure the system to not write log records.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setTxnNoWait(boolean)">setTxnNoWait</a></strong>(boolean txnNoWait)</code> +<div class="block">If a lock is unavailable for any Berkeley DB operation performed in the + context of a transaction, cause the operation to throw <a href="../../../com/sleepycat/db/LockNotGrantedException.html" title="class in com.sleepycat.db"><code>LockNotGrantedException</code></a> without waiting for the lock.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setTxnSnapshot(boolean)">setTxnSnapshot</a></strong>(boolean txnSnapshot)</code> +<div class="block">Configure the database environment to run transactions at snapshot + isolation by default.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setTxnTimeout(long)">setTxnTimeout</a></strong>(long txnTimeout)</code> +<div class="block">Set the timeout value for the database environment +transactions.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setTxnTimestamp(java.util.Date)">setTxnTimestamp</a></strong>(java.util.Date txnTimestamp)</code> +<div class="block">Recover to the specified time rather than to the most current + possible date.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setTxnWriteNoSync(boolean)">setTxnWriteNoSync</a></strong>(boolean txnWriteNoSync)</code> +<div class="block">Configure the system to write, but not synchronously flush, the log on + transaction commit.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setUseEnvironment(boolean)">setUseEnvironment</a></strong>(boolean useEnvironment)</code> +<div class="block">Configure the database environment to accept information from the process environment when naming files, regardless of the status of - the process.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setUseEnvironmentRoot(boolean)">setUseEnvironmentRoot</A></B>(boolean useEnvironmentRoot)</CODE> - -<BR> - Configure the database environment to accept information from the + the process.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setUseEnvironmentRoot(boolean)">setUseEnvironmentRoot</a></strong>(boolean useEnvironmentRoot)</code> +<div class="block">Configure the database environment to accept information from the process environment when naming files, if the process has appropriate permissions (for example, users with a user-ID of 0 on - UNIX systems).</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setVerbose(com.sleepycat.db.VerboseConfig, boolean)">setVerbose</A></B>(<A HREF="../../../com/sleepycat/db/VerboseConfig.html" title="class in com.sleepycat.db">VerboseConfig</A> flag, - boolean enable)</CODE> - -<BR> - Display verbose information.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setVerboseDeadlock(boolean)">setVerboseDeadlock</A></B>(boolean verboseDeadlock)</CODE> - -<BR> - <B>Deprecated.</B> <I>replaced by <A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setVerbose(com.sleepycat.db.VerboseConfig, boolean)"><CODE>setVerbose(com.sleepycat.db.VerboseConfig, boolean)</CODE></A></I></TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setVerboseRecovery(boolean)">setVerboseRecovery</A></B>(boolean verboseRecovery)</CODE> - -<BR> - <B>Deprecated.</B> <I>replaced by <A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setVerbose(com.sleepycat.db.VerboseConfig, boolean)"><CODE>setVerbose(com.sleepycat.db.VerboseConfig, boolean)</CODE></A></I></TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setVerboseRegister(boolean)">setVerboseRegister</A></B>(boolean verboseRegister)</CODE> - -<BR> - <B>Deprecated.</B> <I>replaced by <A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setVerbose(com.sleepycat.db.VerboseConfig, boolean)"><CODE>setVerbose(com.sleepycat.db.VerboseConfig, boolean)</CODE></A></I></TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setVerboseReplication(boolean)">setVerboseReplication</A></B>(boolean verboseReplication)</CODE> - -<BR> - <B>Deprecated.</B> <I>replaced by <A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setVerbose(com.sleepycat.db.VerboseConfig, boolean)"><CODE>setVerbose(com.sleepycat.db.VerboseConfig, boolean)</CODE></A></I></TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setVerboseWaitsFor(boolean)">setVerboseWaitsFor</A></B>(boolean verboseWaitsFor)</CODE> - -<BR> - <B>Deprecated.</B> <I>replaced by <A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setVerbose(com.sleepycat.db.VerboseConfig, boolean)"><CODE>setVerbose(com.sleepycat.db.VerboseConfig, boolean)</CODE></A></I></TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE> void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setYieldCPU(boolean)">setYieldCPU</A></B>(boolean yieldCPU)</CODE> - -<BR> - Configure the system to yield the processor immediately after each - page or mutex acquisition.</TD> -</TR> -</TABLE> - <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> -<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> -<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> -<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD> -</TR> -</TABLE> - -<P> - + UNIX systems).</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setVerbose(com.sleepycat.db.VerboseConfig,%20boolean)">setVerbose</a></strong>(<a href="../../../com/sleepycat/db/VerboseConfig.html" title="class in com.sleepycat.db">VerboseConfig</a> flag, + boolean enable)</code> +<div class="block">Display verbose information.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setVerboseDeadlock(boolean)">setVerboseDeadlock</a></strong>(boolean verboseDeadlock)</code> +<div class="block"><strong>Deprecated.</strong> +<div class="block"><i>replaced by <a href="../../../com/sleepycat/db/EnvironmentConfig.html#setVerbose(com.sleepycat.db.VerboseConfig,%20boolean)"><code>setVerbose(com.sleepycat.db.VerboseConfig, boolean)</code></a></i></div> +</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setVerboseRecovery(boolean)">setVerboseRecovery</a></strong>(boolean verboseRecovery)</code> +<div class="block"><strong>Deprecated.</strong> +<div class="block"><i>replaced by <a href="../../../com/sleepycat/db/EnvironmentConfig.html#setVerbose(com.sleepycat.db.VerboseConfig,%20boolean)"><code>setVerbose(com.sleepycat.db.VerboseConfig, boolean)</code></a></i></div> +</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setVerboseRegister(boolean)">setVerboseRegister</a></strong>(boolean verboseRegister)</code> +<div class="block"><strong>Deprecated.</strong> +<div class="block"><i>replaced by <a href="../../../com/sleepycat/db/EnvironmentConfig.html#setVerbose(com.sleepycat.db.VerboseConfig,%20boolean)"><code>setVerbose(com.sleepycat.db.VerboseConfig, boolean)</code></a></i></div> +</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setVerboseReplication(boolean)">setVerboseReplication</a></strong>(boolean verboseReplication)</code> +<div class="block"><strong>Deprecated.</strong> +<div class="block"><i>replaced by <a href="../../../com/sleepycat/db/EnvironmentConfig.html#setVerbose(com.sleepycat.db.VerboseConfig,%20boolean)"><code>setVerbose(com.sleepycat.db.VerboseConfig, boolean)</code></a></i></div> +</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setVerboseWaitsFor(boolean)">setVerboseWaitsFor</a></strong>(boolean verboseWaitsFor)</code> +<div class="block"><strong>Deprecated.</strong> +<div class="block"><i>replaced by <a href="../../../com/sleepycat/db/EnvironmentConfig.html#setVerbose(com.sleepycat.db.VerboseConfig,%20boolean)"><code>setVerbose(com.sleepycat.db.VerboseConfig, boolean)</code></a></i></div> +</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/EnvironmentConfig.html#setYieldCPU(boolean)">setYieldCPU</a></strong>(boolean yieldCPU)</code> +<div class="block">Configure the system to yield the processor immediately after each + page or mutex acquisition.</div> +</td> +</tr> +</table> +<ul class="blockList"> +<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> +<!-- --> +</a> +<h3>Methods inherited from class java.lang.Object</h3> +<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +<div class="details"> +<ul class="blockList"> +<li class="blockList"> <!-- ============ FIELD DETAIL =========== --> - -<A NAME="field_detail"><!-- --></A> -<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> -<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> -<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> -<B>Field Detail</B></FONT></TH> -</TR> -</TABLE> - -<A NAME="DEFAULT"><!-- --></A><H3> -DEFAULT</H3> -<PRE> -public static final <A HREF="../../../com/sleepycat/db/EnvironmentConfig.html" title="class in com.sleepycat.db">EnvironmentConfig</A> <B>DEFAULT</B></PRE> -<DL> -<DL> -</DL> -</DL> - +<ul class="blockList"> +<li class="blockList"><a name="field_detail"> +<!-- --> +</a> +<h3>Field Detail</h3> +<a name="DEFAULT"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>DEFAULT</h4> +<pre>public static final <a href="../../../com/sleepycat/db/EnvironmentConfig.html" title="class in com.sleepycat.db">EnvironmentConfig</a> DEFAULT</pre> +</li> +</ul> +</li> +</ul> <!-- ========= CONSTRUCTOR DETAIL ======== --> - -<A NAME="constructor_detail"><!-- --></A> -<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> -<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> -<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> -<B>Constructor Detail</B></FONT></TH> -</TR> -</TABLE> - -<A NAME="EnvironmentConfig()"><!-- --></A><H3> -EnvironmentConfig</H3> -<PRE> -public <B>EnvironmentConfig</B>()</PRE> -<DL> -<DD>Create an EnvironmentConfig initialized with the system default settings. -<P> -</DL> - +<ul class="blockList"> +<li class="blockList"><a name="constructor_detail"> +<!-- --> +</a> +<h3>Constructor Detail</h3> +<a name="EnvironmentConfig()"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>EnvironmentConfig</h4> +<pre>public EnvironmentConfig()</pre> +<div class="block">Create an EnvironmentConfig initialized with the system default settings.</div> +</li> +</ul> +</li> +</ul> <!-- ============ METHOD DETAIL ========== --> - -<A NAME="method_detail"><!-- --></A> -<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> -<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> -<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> -<B>Method Detail</B></FONT></TH> -</TR> -</TABLE> - -<A NAME="setAllowCreate(boolean)"><!-- --></A><H3> -setAllowCreate</H3> -<PRE> -public void <B>setAllowCreate</B>(boolean allowCreate)</PRE> -<DL> -<DD>Configure the database environment to create any underlying files, +<ul class="blockList"> +<li class="blockList"><a name="method_detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="setAllowCreate(boolean)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setAllowCreate</h4> +<pre>public void setAllowCreate(boolean allowCreate)</pre> +<div class="block">Configure the database environment to create any underlying files, as necessary. - <p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>allowCreate</CODE> - If true, configure the database environment to create any underlying - files, as necessary.</DL> -</DD> -</DL> -<HR> - -<A NAME="getAllowCreate()"><!-- --></A><H3> -getAllowCreate</H3> -<PRE> -public boolean <B>getAllowCreate</B>()</PRE> -<DL> -<DD>Return true if the database environment is configured to create any + <p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>allowCreate</code> - If true, configure the database environment to create any underlying + files, as necessary.</dd></dl> +</li> +</ul> +<a name="getAllowCreate()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getAllowCreate</h4> +<pre>public boolean getAllowCreate()</pre> +<div class="block">Return true if the database environment is configured to create any underlying files, as necessary. <p> This method may be called at any time during the life of the application. -<p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> - -<DT><B>Returns:</B><DD>True if the database environment is configured to create any - underlying files, as necessary.</DL> -</DD> -</DL> -<HR> - -<A NAME="setCacheSize(long)"><!-- --></A><H3> -setCacheSize</H3> -<PRE> -public void <B>setCacheSize</B>(long cacheSize)</PRE> -<DL> -<DD>Set the size of the shared memory buffer pool, that is, the size of the +<p></div> +<dl><dt><span class="strong">Returns:</span></dt><dd>True if the database environment is configured to create any + underlying files, as necessary.</dd></dl> +</li> +</ul> +<a name="setBlobDir(java.io.File)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setBlobDir</h4> +<pre>public void setBlobDir(java.io.File dir)</pre> +<div class="block">Sets the path of a directory where blobs are stored. + <p> + The blobs of each <a href="../../../com/sleepycat/db/Database.html" title="class in com.sleepycat.db"><code>Database</code></a> opened + within this <a href="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><code>Environment</code></a> are + stored under this directory. + <p> + This path can not be set after opening the environment. + <p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>dir</code> - The path of a directory where blobs are stored.</dd></dl> +</li> +</ul> +<a name="getBlobDir()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getBlobDir</h4> +<pre>public java.io.File getBlobDir()</pre> +<div class="block">Returns the path of a directory where blobs are stored. + <p> + The blobs of each <a href="../../../com/sleepycat/db/Database.html" title="class in com.sleepycat.db"><code>Database</code></a> opened + within this <a href="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><code>Environment</code></a> are + stored under this directory. + <p></div> +<dl><dt><span class="strong">Returns:</span></dt><dd>The path of a directory where blobs are stored.</dd></dl> +</li> +</ul> +<a name="setBlobThreshold(int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setBlobThreshold</h4> +<pre>public void setBlobThreshold(int value)</pre> +<div class="block">Set the default blob threshold for databases opened in this environment. + The blob threshold is the size in bytes which is used to determine when + a data item will be stored as a blob. + <p> + Any data item that is equal to or larger in size than the + threshold value will automatically be stored as a blob. + <p> + It is illegal to enable blob in the environment if any of + <a href="../../../com/sleepycat/db/EnvironmentConfig.html#setTxnSnapshot(boolean)"><code>EnvironmentConfig.setTxnSnapshot</code></a>, + <a href="../../../com/sleepycat/db/EnvironmentConfig.html#setInitializeReplication(boolean)"><code>EnvironmentConfig.setInitializeReplication</code></a>, + and <a href="../../../com/sleepycat/db/EnvironmentConfig.html#setMultiversion(boolean)"><code>EnvironmentConfig.setMultiversion</code></a> + is called with true value. + <p> + This threshold value can be set any time before and after opening the + environment. + <p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>value</code> - The size in bytes which is used to determine when a data item will + be stored as a blob. If 0, databases opened in the environment will default + to never using blob.</dd></dl> +</li> +</ul> +<a name="getBlobThreshold()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getBlobThreshold</h4> +<pre>public int getBlobThreshold()</pre> +<div class="block">Return the environment wide default blob threshold value. The blob + threshold is the size in bytes which is used to determine when a data item + will be stored as a blob. + <p></div> +<dl><dt><span class="strong">Returns:</span></dt><dd>The blob threshold value in bytes beyond which data items are + stored as blobs. If 0, databases opened in the environment will default to + never using blobs.</dd></dl> +</li> +</ul> +<a name="setCacheSize(long)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setCacheSize</h4> +<pre>public void setCacheSize(long cacheSize)</pre> +<div class="block">Set the size of the shared memory buffer pool, that is, the size of the cache. <p> The cache should be the size of the normal working data set of the @@ -2198,7 +1948,7 @@ opened, it will silently overrule configuration done before that time. <p> This method configures a database environment, including all threads of control accessing the database environment, not only the operations -performed using a specified <A HREF="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><CODE>Environment</CODE></A> handle. +performed using a specified <a href="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><code>Environment</code></a> handle. <p> This method may not be called after the environment has been opened. @@ -2206,87 +1956,64 @@ If joining an existing database environment, any information specified to this method will be ignored. <p> This method may be called at any time during the life of the application. -<p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>cacheSize</CODE> - The size of the shared memory buffer pool, that is, the size of the +<p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cacheSize</code> - The size of the shared memory buffer pool, that is, the size of the cache. <p> -<p> -<DT><B>Throws:</B> -<DD><CODE><A HREF="../../../com/sleepycat/db/DatabaseException.html" title="class in com.sleepycat.db">DatabaseException</A></CODE> - if a failure occurs.</DL> -</DD> -</DL> -<HR> - -<A NAME="getCacheSize()"><!-- --></A><H3> -getCacheSize</H3> -<PRE> -public long <B>getCacheSize</B>()</PRE> -<DL> -<DD>Return the size of the shared memory buffer pool, that is, the cache. +<p></dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code><a href="../../../com/sleepycat/db/DatabaseException.html" title="class in com.sleepycat.db">DatabaseException</a></code> - if a failure occurs.</dd></dl> +</li> +</ul> +<a name="getCacheSize()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getCacheSize</h4> +<pre>public long getCacheSize()</pre> +<div class="block">Return the size of the shared memory buffer pool, that is, the cache. <p> This method may be called at any time during the life of the application. -<p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> - -<DT><B>Returns:</B><DD>The size of the shared memory buffer pool, that is, the cache.</DL> -</DD> -</DL> -<HR> - -<A NAME="setCacheMax(long)"><!-- --></A><H3> -setCacheMax</H3> -<PRE> -public void <B>setCacheMax</B>(long cacheMax)</PRE> -<DL> -<DD>Set the maximum cache size in bytes. The specified size is rounded to the +<p></div> +<dl><dt><span class="strong">Returns:</span></dt><dd>The size of the shared memory buffer pool, that is, the cache.</dd></dl> +</li> +</ul> +<a name="setCacheMax(long)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setCacheMax</h4> +<pre>public void setCacheMax(long cacheMax)</pre> +<div class="block">Set the maximum cache size in bytes. The specified size is rounded to the nearest multiple of the cache region size, which is the initial cache size - divded by the number of regions specified to <A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setCacheCount(int)"><CODE>setCacheCount(int)</CODE></A>. If no - value is specified, it defaults to the initial cache size. -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -</DL> -</DD> -</DL> -<HR> - -<A NAME="getCacheMax()"><!-- --></A><H3> -getCacheMax</H3> -<PRE> -public long <B>getCacheMax</B>()</PRE> -<DL> -<DD>Return the maximum size of the cache. + divded by the number of regions specified to <a href="../../../com/sleepycat/db/EnvironmentConfig.html#setCacheCount(int)"><code>setCacheCount(int)</code></a>. If no + value is specified, it defaults to the initial cache size.</div> +</li> +</ul> +<a name="getCacheMax()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getCacheMax</h4> +<pre>public long getCacheMax()</pre> +<div class="block">Return the maximum size of the cache. <p> This method may be called at any time during the life of the application. -<p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> - -<DT><B>Returns:</B><DD>The maximum size of the cache.</DL> -</DD> -</DL> -<HR> - -<A NAME="setCacheCount(int)"><!-- --></A><H3> -setCacheCount</H3> -<PRE> -public void <B>setCacheCount</B>(int cacheCount)</PRE> -<DL> -<DD>Set the number of shared memory buffer pools, that is, the number of +<p></div> +<dl><dt><span class="strong">Returns:</span></dt><dd>The maximum size of the cache.</dd></dl> +</li> +</ul> +<a name="setCacheCount(int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setCacheCount</h4> +<pre>public void setCacheCount(int cacheCount)</pre> +<div class="block">Set the number of shared memory buffer pools, that is, the number of caches. <p> It is possible to specify caches larger than 4GB and/or large enough @@ -2308,7 +2035,7 @@ opened, it will silently overrule configuration done before that time. <p> This method configures a database environment, including all threads of control accessing the database environment, not only the operations -performed using a specified <A HREF="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><CODE>Environment</CODE></A> handle. +performed using a specified <a href="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><code>Environment</code></a> handle. <p> This method may not be called after the environment has been opened. @@ -2316,144 +2043,110 @@ If joining an existing database environment, any information specified to this method will be ignored. <p> This method may be called at any time during the life of the application. -<p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>cacheCount</CODE> - The number of shared memory buffer pools, that is, the number of caches. -<p> -<p> -<DT><B>Throws:</B> -<DD><CODE><A HREF="../../../com/sleepycat/db/DatabaseException.html" title="class in com.sleepycat.db">DatabaseException</A></CODE> - if a failure occurs.</DL> -</DD> -</DL> -<HR> - -<A NAME="getCacheCount()"><!-- --></A><H3> -getCacheCount</H3> -<PRE> -public int <B>getCacheCount</B>()</PRE> -<DL> -<DD>Return the number of shared memory buffer pools, that is, the number +<p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cacheCount</code> - The number of shared memory buffer pools, that is, the number of caches. +<p> +<p></dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code><a href="../../../com/sleepycat/db/DatabaseException.html" title="class in com.sleepycat.db">DatabaseException</a></code> - if a failure occurs.</dd></dl> +</li> +</ul> +<a name="getCacheCount()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getCacheCount</h4> +<pre>public int getCacheCount()</pre> +<div class="block">Return the number of shared memory buffer pools, that is, the number of cache regions. <p> This method may be called at any time during the life of the application. -<p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> - -<DT><B>Returns:</B><DD>The number of shared memory buffer pools, that is, the number - of cache regions.</DL> -</DD> -</DL> -<HR> - -<A NAME="setCDBLockAllDatabases(boolean)"><!-- --></A><H3> -setCDBLockAllDatabases</H3> -<PRE> -public void <B>setCDBLockAllDatabases</B>(boolean cdbLockAllDatabases)</PRE> -<DL> -<DD>Configure Concurrent Data Store applications to perform locking on +<p></div> +<dl><dt><span class="strong">Returns:</span></dt><dd>The number of shared memory buffer pools, that is, the number + of cache regions.</dd></dl> +</li> +</ul> +<a name="setCDBLockAllDatabases(boolean)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setCDBLockAllDatabases</h4> +<pre>public void setCDBLockAllDatabases(boolean cdbLockAllDatabases)</pre> +<div class="block">Configure Concurrent Data Store applications to perform locking on an environment-wide basis rather than on a per-database basis. <p> - This method only affects the specified <A HREF="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><CODE>Environment</CODE></A> handle (and + This method only affects the specified <a href="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><code>Environment</code></a> handle (and any other library handles opened within the scope of that handle). -For consistent behavior across the environment, all <A HREF="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><CODE>Environment</CODE></A> +For consistent behavior across the environment, all <a href="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><code>Environment</code></a> handles opened in the database environment must either call this method or the configuration should be specified in the database environment's DB_CONFIG configuration file. <p> This method may not be called after the environment has been opened. - <p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>cdbLockAllDatabases</CODE> - If true, configure Concurrent Data Store applications to perform + <p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cdbLockAllDatabases</code> - If true, configure Concurrent Data Store applications to perform locking on an environment-wide basis rather than on a per-database - basis.</DL> -</DD> -</DL> -<HR> - -<A NAME="getCDBLockAllDatabases()"><!-- --></A><H3> -getCDBLockAllDatabases</H3> -<PRE> -public boolean <B>getCDBLockAllDatabases</B>()</PRE> -<DL> -<DD>Return true if the Concurrent Data Store applications are configured to + basis.</dd></dl> +</li> +</ul> +<a name="getCDBLockAllDatabases()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getCDBLockAllDatabases</h4> +<pre>public boolean getCDBLockAllDatabases()</pre> +<div class="block">Return true if the Concurrent Data Store applications are configured to perform locking on an environment-wide basis rather than on a per-database basis. <p> This method may be called at any time during the life of the application. -<p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> - -<DT><B>Returns:</B><DD>True if the Concurrent Data Store applications are configured to +<p></div> +<dl><dt><span class="strong">Returns:</span></dt><dd>True if the Concurrent Data Store applications are configured to perform locking on an environment-wide basis rather than on a - per-database basis.</DL> -</DD> -</DL> -<HR> - -<A NAME="setCreateDir(java.io.File)"><!-- --></A><H3> -setCreateDir</H3> -<PRE> -public void <B>setCreateDir</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</A> dir)</PRE> -<DL> -<DD>Sets the path of a directory to be used as the location to create the + per-database basis.</dd></dl> +</li> +</ul> +<a name="setCreateDir(java.io.File)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setCreateDir</h4> +<pre>public void setCreateDir(java.io.File dir)</pre> +<div class="block">Sets the path of a directory to be used as the location to create the access method database files. When the open function is used to create a file -it will be created relative to this path. -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -</DL> -</DD> -</DL> -<HR> - -<A NAME="getCreateDir()"><!-- --></A><H3> -getCreateDir</H3> -<PRE> -public <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</A> <B>getCreateDir</B>()</PRE> -<DL> -<DD>Returns the path of a directory to be used as the location to create the -access method database files. -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> - -<DT><B>Returns:</B><DD>The path of a directory to be used as the location to create the access method -database files.</DL> -</DD> -</DL> -<HR> - -<A NAME="addDataDir(java.io.File)"><!-- --></A><H3> -addDataDir</H3> -<PRE> -public void <B>addDataDir</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</A> dataDir)</PRE> -<DL> -<DD>Set the path of a directory to be used as the location of the access +it will be created relative to this path.</div> +</li> +</ul> +<a name="getCreateDir()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getCreateDir</h4> +<pre>public java.io.File getCreateDir()</pre> +<div class="block">Returns the path of a directory to be used as the location to create the +access method database files.</div> +<dl><dt><span class="strong">Returns:</span></dt><dd>The path of a directory to be used as the location to create the access method +database files.</dd></dl> +</li> +</ul> +<a name="addDataDir(java.io.File)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>addDataDir</h4> +<pre>public void addDataDir(java.io.File dataDir)</pre> +<div class="block">Set the path of a directory to be used as the location of the access method database files. <p> - Paths specified to <A HREF="../../../com/sleepycat/db/Environment.html#openDatabase(com.sleepycat.db.Transaction, java.lang.String, java.lang.String, com.sleepycat.db.DatabaseConfig)"><CODE>Environment.openDatabase</CODE></A> and - <A HREF="../../../com/sleepycat/db/Environment.html#openSecondaryDatabase(com.sleepycat.db.Transaction, java.lang.String, java.lang.String, com.sleepycat.db.Database, com.sleepycat.db.SecondaryConfig)"><CODE>Environment.openSecondaryDatabase</CODE></A> will be searched + Paths specified to <a href="../../../com/sleepycat/db/Environment.html#openDatabase(com.sleepycat.db.Transaction,%20java.lang.String,%20java.lang.String,%20com.sleepycat.db.DatabaseConfig)"><code>Environment.openDatabase</code></a> and + <a href="../../../com/sleepycat/db/Environment.html#openSecondaryDatabase(com.sleepycat.db.Transaction,%20java.lang.String,%20java.lang.String,%20com.sleepycat.db.Database,%20com.sleepycat.db.SecondaryConfig)"><code>Environment.openSecondaryDatabase</code></a> will be searched relative to this path. Paths set using this method are additive, and specifying more than one will result in each specified directory being searched for database files. If any directories are @@ -2468,168 +2161,129 @@ DB_CONFIG file. The syntax of the entry in that file is a single line with the string "set_data_dir", one or more whitespace characters, and the directory name. <p> This method configures only operations performed using a single a -<A HREF="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><CODE>Environment</CODE></A> handle, not an entire database environment. +<a href="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><code>Environment</code></a> handle, not an entire database environment. <p> This method may not be called after the environment has been opened. If joining an existing database environment, the information specified to this method must be consistent with the existing environment or corruption can occur. - <p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>dataDir</CODE> - A directory to be used as a location for database files. + <p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>dataDir</code> - A directory to be used as a location for database files. On Windows platforms, this argument will be interpreted as a UTF-8 -string, which is equivalent to ASCII for Latin characters.</DL> -</DD> -</DL> -<HR> - -<A NAME="addDataDir(java.lang.String)"><!-- --></A><H3> -addDataDir</H3> -<PRE> -public void <B>addDataDir</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> dataDir)</PRE> -<DL> -<DD><B>Deprecated.</B> <I>replaced by <A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#addDataDir(java.io.File)"><CODE>addDataDir(java.io.File)</CODE></A></I> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -</DL> -</DD> -</DL> -<HR> - -<A NAME="getDataDirs()"><!-- --></A><H3> -getDataDirs</H3> -<PRE> -public <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</A>[] <B>getDataDirs</B>()</PRE> -<DL> -<DD>Return the array of data directories. +string, which is equivalent to ASCII for Latin characters.</dd></dl> +</li> +</ul> +<a name="addDataDir(java.lang.String)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>addDataDir</h4> +<pre>public void addDataDir(java.lang.String dataDir)</pre> +<div class="block"><span class="strong">Deprecated.</span> <i>replaced by <a href="../../../com/sleepycat/db/EnvironmentConfig.html#addDataDir(java.io.File)"><code>addDataDir(java.io.File)</code></a></i></div> +</li> +</ul> +<a name="getDataDirs()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getDataDirs</h4> +<pre>public java.io.File[] getDataDirs()</pre> +<div class="block">Return the array of data directories. <p> This method may be called at any time during the life of the application. -<p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> - -<DT><B>Returns:</B><DD>The array of data directories.</DL> -</DD> -</DL> -<HR> - -<A NAME="setDirectDatabaseIO(boolean)"><!-- --></A><H3> -setDirectDatabaseIO</H3> -<PRE> -public void <B>setDirectDatabaseIO</B>(boolean directDatabaseIO)</PRE> -<DL> -<DD>Configure the database environment to not buffer database files. +<p></div> +<dl><dt><span class="strong">Returns:</span></dt><dd>The array of data directories.</dd></dl> +</li> +</ul> +<a name="setDirectDatabaseIO(boolean)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setDirectDatabaseIO</h4> +<pre>public void setDirectDatabaseIO(boolean directDatabaseIO)</pre> +<div class="block">Configure the database environment to not buffer database files. <p> This is intended to avoid to avoid double caching. <p> - This method only affects the specified <A HREF="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><CODE>Environment</CODE></A> handle (and + This method only affects the specified <a href="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><code>Environment</code></a> handle (and any other library handles opened within the scope of that handle). -For consistent behavior across the environment, all <A HREF="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><CODE>Environment</CODE></A> +For consistent behavior across the environment, all <a href="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><code>Environment</code></a> handles opened in the database environment must either call this method or the configuration should be specified in the database environment's DB_CONFIG configuration file. <p> This method may be called at any time during the life of the application. - <p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>directDatabaseIO</CODE> - If true, configure the database environment to not buffer database files.</DL> -</DD> -</DL> -<HR> - -<A NAME="getDirectDatabaseIO()"><!-- --></A><H3> -getDirectDatabaseIO</H3> -<PRE> -public boolean <B>getDirectDatabaseIO</B>()</PRE> -<DL> -<DD>Return true if the database environment has been configured to not buffer + <p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>directDatabaseIO</code> - If true, configure the database environment to not buffer database files.</dd></dl> +</li> +</ul> +<a name="getDirectDatabaseIO()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getDirectDatabaseIO</h4> +<pre>public boolean getDirectDatabaseIO()</pre> +<div class="block">Return true if the database environment has been configured to not buffer database files. <p> This method may be called at any time during the life of the application. -<p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> - -<DT><B>Returns:</B><DD>True if the database environment has been configured to not buffer - database files.</DL> -</DD> -</DL> -<HR> - -<A NAME="setDirectLogIO(boolean)"><!-- --></A><H3> -setDirectLogIO</H3> -<PRE> -public void <B>setDirectLogIO</B>(boolean directLogIO)</PRE> -<DL> -<DD>Configure the database environment to not buffer log files. +<p></div> +<dl><dt><span class="strong">Returns:</span></dt><dd>True if the database environment has been configured to not buffer + database files.</dd></dl> +</li> +</ul> +<a name="setDirectLogIO(boolean)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setDirectLogIO</h4> +<pre>public void setDirectLogIO(boolean directLogIO)</pre> +<div class="block">Configure the database environment to not buffer log files. <p> This is intended to avoid to avoid double caching. <p> - This method only affects the specified <A HREF="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><CODE>Environment</CODE></A> handle (and + This method only affects the specified <a href="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><code>Environment</code></a> handle (and any other library handles opened within the scope of that handle). -For consistent behavior across the environment, all <A HREF="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><CODE>Environment</CODE></A> +For consistent behavior across the environment, all <a href="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><code>Environment</code></a> handles opened in the database environment must either call this method or the configuration should be specified in the database environment's DB_CONFIG configuration file. <p> This method may be called at any time during the life of the application. - <p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>directLogIO</CODE> - If true, configure the database environment to not buffer log files.</DL> -</DD> -</DL> -<HR> - -<A NAME="getDirectLogIO()"><!-- --></A><H3> -getDirectLogIO</H3> -<PRE> -public boolean <B>getDirectLogIO</B>()</PRE> -<DL> -<DD>Return true if the database environment has been configured to not buffer + <p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>directLogIO</code> - If true, configure the database environment to not buffer log files.</dd></dl> +</li> +</ul> +<a name="getDirectLogIO()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getDirectLogIO</h4> +<pre>public boolean getDirectLogIO()</pre> +<div class="block">Return true if the database environment has been configured to not buffer log files. <p> This method may be called at any time during the life of the application. -<p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> - -<DT><B>Returns:</B><DD>True if the database environment has been configured to not buffer - log files.</DL> -</DD> -</DL> -<HR> - -<A NAME="setDsyncDatabases(boolean)"><!-- --></A><H3> -setDsyncDatabases</H3> -<PRE> -public void <B>setDsyncDatabases</B>(boolean dsyncDatabases)</PRE> -<DL> -<DD>Configure the database environment to flush database writes to the backing +<p></div> +<dl><dt><span class="strong">Returns:</span></dt><dd>True if the database environment has been configured to not buffer + log files.</dd></dl> +</li> +</ul> +<a name="setDsyncDatabases(boolean)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setDsyncDatabases</h4> +<pre>public void setDsyncDatabases(boolean dsyncDatabases)</pre> +<div class="block">Configure the database environment to flush database writes to the backing disk before returning from the write system call, rather than flushing database writes explicitly in a separate system call, as necessary. <p> @@ -2643,55 +2297,44 @@ public void <B>setDsyncDatabases</B>(boolean dsyncDatabases)</PRE> trickling writes back to stable storage behaves badly (or more likely, has been misconfigured). <p> - This method only affects the specified <A HREF="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><CODE>Environment</CODE></A> handle (and + This method only affects the specified <a href="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><code>Environment</code></a> handle (and any other library handles opened within the scope of that handle). -For consistent behavior across the environment, all <A HREF="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><CODE>Environment</CODE></A> +For consistent behavior across the environment, all <a href="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><code>Environment</code></a> handles opened in the database environment must either call this method or the configuration should be specified in the database environment's DB_CONFIG configuration file. <p> This method may be called at any time during the life of the application. - <p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>dsyncDatabases</CODE> - If true, configure the database environment to flush database writes to the + <p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>dsyncDatabases</code> - If true, configure the database environment to flush database writes to the backing disk before returning from the write system call, rather than - flushing log writes explicitly in a separate system call.</DL> -</DD> -</DL> -<HR> - -<A NAME="getDsyncDatabases()"><!-- --></A><H3> -getDsyncDatabases</H3> -<PRE> -public boolean <B>getDsyncDatabases</B>()</PRE> -<DL> -<DD>Return true if the database environment has been configured to flush database + flushing log writes explicitly in a separate system call.</dd></dl> +</li> +</ul> +<a name="getDsyncDatabases()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getDsyncDatabases</h4> +<pre>public boolean getDsyncDatabases()</pre> +<div class="block">Return true if the database environment has been configured to flush database writes to the backing disk before returning from the write system call. <p> This method may be called at any time during the life of the application. -<p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> - -<DT><B>Returns:</B><DD>True if the database environment has been configured to flush database - writes to the backing disk before returning from the write system call.</DL> -</DD> -</DL> -<HR> - -<A NAME="setDsyncLog(boolean)"><!-- --></A><H3> -setDsyncLog</H3> -<PRE> -public void <B>setDsyncLog</B>(boolean dsyncLog)</PRE> -<DL> -<DD>Configure the database environment to flush log writes to the +<p></div> +<dl><dt><span class="strong">Returns:</span></dt><dd>True if the database environment has been configured to flush database + writes to the backing disk before returning from the write system call.</dd></dl> +</li> +</ul> +<a name="setDsyncLog(boolean)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setDsyncLog</h4> +<pre>public void setDsyncLog(boolean dsyncLog)</pre> +<div class="block">Configure the database environment to flush log writes to the backing disk before returning from the write system call, rather than flushing log writes explicitly in a separate system call. <p> @@ -2703,111 +2346,88 @@ public void <B>setDsyncLog</B>(boolean dsyncLog)</PRE> configuration may offer a performance increase on some systems and a performance decrease on others. <p> - This method only affects the specified <A HREF="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><CODE>Environment</CODE></A> handle (and + This method only affects the specified <a href="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><code>Environment</code></a> handle (and any other library handles opened within the scope of that handle). -For consistent behavior across the environment, all <A HREF="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><CODE>Environment</CODE></A> +For consistent behavior across the environment, all <a href="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><code>Environment</code></a> handles opened in the database environment must either call this method or the configuration should be specified in the database environment's DB_CONFIG configuration file. <p> This method may be called at any time during the life of the application. - <p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>dsyncLog</CODE> - If true, configure the database environment to flush log writes to + <p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>dsyncLog</code> - If true, configure the database environment to flush log writes to the backing disk before returning from the write system call, rather - than flushing log writes explicitly in a separate system call.</DL> -</DD> -</DL> -<HR> - -<A NAME="getDsyncLog()"><!-- --></A><H3> -getDsyncLog</H3> -<PRE> -public boolean <B>getDsyncLog</B>()</PRE> -<DL> -<DD>Return true if the database environment has been configured to flush log + than flushing log writes explicitly in a separate system call.</dd></dl> +</li> +</ul> +<a name="getDsyncLog()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getDsyncLog</h4> +<pre>public boolean getDsyncLog()</pre> +<div class="block">Return true if the database environment has been configured to flush log writes to the backing disk before returning from the write system call. <p> This method may be called at any time during the life of the application. -<p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> - -<DT><B>Returns:</B><DD>True if the database environment has been configured to flush log +<p></div> +<dl><dt><span class="strong">Returns:</span></dt><dd>True if the database environment has been configured to flush log writes to the backing disk before returning from the write system - call.</DL> -</DD> -</DL> -<HR> - -<A NAME="setEncrypted(java.lang.String)"><!-- --></A><H3> -setEncrypted</H3> -<PRE> -public void <B>setEncrypted</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> password)</PRE> -<DL> -<DD>Set the password used to perform encryption and decryption. + call.</dd></dl> +</li> +</ul> +<a name="setEncrypted(java.lang.String)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setEncrypted</h4> +<pre>public void setEncrypted(java.lang.String password)</pre> +<div class="block">Set the password used to perform encryption and decryption. <p> Berkeley DB uses the Rijndael/AES (also known as the Advanced Encryption Standard and Federal Information Processing - Standard (FIPS) 197) algorithm for encryption or decryption. -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -</DL> -</DD> -</DL> -<HR> - -<A NAME="getEncrypted()"><!-- --></A><H3> -getEncrypted</H3> -<PRE> -public boolean <B>getEncrypted</B>()</PRE> -<DL> -<DD>Return the database environment has been configured to perform + Standard (FIPS) 197) algorithm for encryption or decryption.</div> +</li> +</ul> +<a name="getEncrypted()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getEncrypted</h4> +<pre>public boolean getEncrypted()</pre> +<div class="block">Return the database environment has been configured to perform encryption. <p> This method may be called at any time during the life of the application. -<p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> - -<DT><B>Returns:</B><DD>The database environment has been configured to perform - encryption.</DL> -</DD> -</DL> -<HR> - -<A NAME="setErrorHandler(com.sleepycat.db.ErrorHandler)"><!-- --></A><H3> -setErrorHandler</H3> -<PRE> -public void <B>setErrorHandler</B>(<A HREF="../../../com/sleepycat/db/ErrorHandler.html" title="interface in com.sleepycat.db">ErrorHandler</A> errorHandler)</PRE> -<DL> -<DD>Set the function to be called if an error occurs. +<p></div> +<dl><dt><span class="strong">Returns:</span></dt><dd>The database environment has been configured to perform + encryption.</dd></dl> +</li> +</ul> +<a name="setErrorHandler(com.sleepycat.db.ErrorHandler)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setErrorHandler</h4> +<pre>public void setErrorHandler(<a href="../../../com/sleepycat/db/ErrorHandler.html" title="interface in com.sleepycat.db">ErrorHandler</a> errorHandler)</pre> +<div class="block">Set the function to be called if an error occurs. <p> When an error occurs in the Berkeley DB library, an exception is thrown. In some cases, however, the error information returned to the application may be insufficient to completely describe the cause of the error, especially during initial application debugging. <p> -The <A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setErrorHandler(com.sleepycat.db.ErrorHandler)"><CODE>EnvironmentConfig.setErrorHandler</CODE></A> and <A HREF="../../../com/sleepycat/db/DatabaseConfig.html#setErrorHandler(com.sleepycat.db.ErrorHandler)"><CODE>DatabaseConfig.setErrorHandler</CODE></A> methods are used to enhance the mechanism for reporting +The <a href="../../../com/sleepycat/db/EnvironmentConfig.html#setErrorHandler(com.sleepycat.db.ErrorHandler)"><code>EnvironmentConfig.setErrorHandler</code></a> and <a href="../../../com/sleepycat/db/DatabaseConfig.html#setErrorHandler(com.sleepycat.db.ErrorHandler)"><code>DatabaseConfig.setErrorHandler</code></a> methods are used to enhance the mechanism for reporting error messages to the application. In some cases, when an error occurs, Berkeley DB will invoke the ErrorHandler's object error method. It is up to this method to display the error message in an appropriate manner. <p> -Alternatively, applications can use <A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setErrorStream(java.io.OutputStream)"><CODE>EnvironmentConfig.setErrorStream</CODE></A> and <A HREF="../../../com/sleepycat/db/DatabaseConfig.html#setErrorStream(java.io.OutputStream)"><CODE>DatabaseConfig.setErrorStream</CODE></A> to +Alternatively, applications can use <a href="../../../com/sleepycat/db/EnvironmentConfig.html#setErrorStream(java.io.OutputStream)"><code>EnvironmentConfig.setErrorStream</code></a> and <a href="../../../com/sleepycat/db/DatabaseConfig.html#setErrorStream(java.io.OutputStream)"><code>DatabaseConfig.setErrorStream</code></a> to display the additional information via an output stream. Applications should not mix these approaches. <p> @@ -2816,90 +2436,68 @@ increase application size, and may be run during normal operation as well as during application debugging. <p> This method may be called at any time during the life of the application. -<p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>errorHandler</CODE> - The function to be called if an error occurs.</DL> -</DD> -</DL> -<HR> - -<A NAME="getErrorHandler()"><!-- --></A><H3> -getErrorHandler</H3> -<PRE> -public <A HREF="../../../com/sleepycat/db/ErrorHandler.html" title="interface in com.sleepycat.db">ErrorHandler</A> <B>getErrorHandler</B>()</PRE> -<DL> -<DD>Return the function to be called if an error occurs. +<p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>errorHandler</code> - The function to be called if an error occurs.</dd></dl> +</li> +</ul> +<a name="getErrorHandler()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getErrorHandler</h4> +<pre>public <a href="../../../com/sleepycat/db/ErrorHandler.html" title="interface in com.sleepycat.db">ErrorHandler</a> getErrorHandler()</pre> +<div class="block">Return the function to be called if an error occurs. <p> This method may be called at any time during the life of the application. -<p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> - -<DT><B>Returns:</B><DD>The function to be called if an error occurs.</DL> -</DD> -</DL> -<HR> - -<A NAME="setErrorPrefix(java.lang.String)"><!-- --></A><H3> -setErrorPrefix</H3> -<PRE> -public void <B>setErrorPrefix</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> errorPrefix)</PRE> -<DL> -<DD>Set the prefix string that appears before error messages. +<p></div> +<dl><dt><span class="strong">Returns:</span></dt><dd>The function to be called if an error occurs.</dd></dl> +</li> +</ul> +<a name="setErrorPrefix(java.lang.String)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setErrorPrefix</h4> +<pre>public void setErrorPrefix(java.lang.String errorPrefix)</pre> +<div class="block">Set the prefix string that appears before error messages. <p> This method may be called at any time during the life of the application. -<p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>errorPrefix</CODE> - The prefix string that appears before error messages.</DL> -</DD> -</DL> -<HR> - -<A NAME="getErrorPrefix()"><!-- --></A><H3> -getErrorPrefix</H3> -<PRE> -public <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getErrorPrefix</B>()</PRE> -<DL> -<DD>Return the prefix string that appears before error messages. +<p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>errorPrefix</code> - The prefix string that appears before error messages.</dd></dl> +</li> +</ul> +<a name="getErrorPrefix()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getErrorPrefix</h4> +<pre>public java.lang.String getErrorPrefix()</pre> +<div class="block">Return the prefix string that appears before error messages. <p> This method may be called at any time during the life of the application. -<p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> - -<DT><B>Returns:</B><DD>The prefix string that appears before error messages.</DL> -</DD> -</DL> -<HR> - -<A NAME="setErrorStream(java.io.OutputStream)"><!-- --></A><H3> -setErrorStream</H3> -<PRE> -public void <B>setErrorStream</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</A> errorStream)</PRE> -<DL> -<DD>Set an OutputStream for displaying error messages. +<p></div> +<dl><dt><span class="strong">Returns:</span></dt><dd>The prefix string that appears before error messages.</dd></dl> +</li> +</ul> +<a name="setErrorStream(java.io.OutputStream)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setErrorStream</h4> +<pre>public void setErrorStream(java.io.OutputStream errorStream)</pre> +<div class="block">Set an OutputStream for displaying error messages. <p> When an error occurs in the Berkeley DB library, an exception is thrown. In some cases, however, the error information returned to the application may be insufficient to completely describe the cause of the error, especially during initial application debugging. <p> -The <A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setErrorStream(java.io.OutputStream)"><CODE>EnvironmentConfig.setErrorStream</CODE></A> and -<A HREF="../../../com/sleepycat/db/DatabaseConfig.html#setErrorStream(java.io.OutputStream)"><CODE>DatabaseConfig.setErrorStream</CODE></A> methods are used to enhance +The <a href="../../../com/sleepycat/db/EnvironmentConfig.html#setErrorStream(java.io.OutputStream)"><code>EnvironmentConfig.setErrorStream</code></a> and +<a href="../../../com/sleepycat/db/DatabaseConfig.html#setErrorStream(java.io.OutputStream)"><code>DatabaseConfig.setErrorStream</code></a> methods are used to enhance the mechanism for reporting error messages to the application by setting a OutputStream to be used for displaying additional Berkeley DB error messages. In some cases, when an error occurs, Berkeley DB will output @@ -2907,11 +2505,11 @@ an additional error message to the specified stream. <p> The error message will consist of the prefix string and a colon ("<b>:</b>") (if a prefix string was previously specified using -<A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setErrorPrefix(java.lang.String)"><CODE>EnvironmentConfig.setErrorPrefix</CODE></A> or <A HREF="../../../com/sleepycat/db/DatabaseConfig.html#setErrorPrefix(java.lang.String)"><CODE>DatabaseConfig.setErrorPrefix</CODE></A>), an error string, and a trailing newline character. +<a href="../../../com/sleepycat/db/EnvironmentConfig.html#setErrorPrefix(java.lang.String)"><code>EnvironmentConfig.setErrorPrefix</code></a> or <a href="../../../com/sleepycat/db/DatabaseConfig.html#setErrorPrefix(java.lang.String)"><code>DatabaseConfig.setErrorPrefix</code></a>), an error string, and a trailing newline character. <p> Setting errorStream to null unconfigures the interface. <p> -Alternatively, applications can use <A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setErrorHandler(com.sleepycat.db.ErrorHandler)"><CODE>EnvironmentConfig.setErrorHandler</CODE></A> and <A HREF="../../../com/sleepycat/db/DatabaseConfig.html#setErrorHandler(com.sleepycat.db.ErrorHandler)"><CODE>DatabaseConfig.setErrorHandler</CODE></A> to capture +Alternatively, applications can use <a href="../../../com/sleepycat/db/EnvironmentConfig.html#setErrorHandler(com.sleepycat.db.ErrorHandler)"><code>EnvironmentConfig.setErrorHandler</code></a> and <a href="../../../com/sleepycat/db/DatabaseConfig.html#setErrorHandler(com.sleepycat.db.ErrorHandler)"><code>DatabaseConfig.setErrorHandler</code></a> to capture the additional error information in a way that does not use output streams. Applications should not mix these approaches. <p> @@ -2920,61 +2518,44 @@ increase application size, and may be run during normal operation as well as during application debugging. <p> This method may be called at any time during the life of the application. -<p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>errorStream</CODE> - The application-specified OutputStream for error messages.</DL> -</DD> -</DL> -<HR> - -<A NAME="getErrorStream()"><!-- --></A><H3> -getErrorStream</H3> -<PRE> -public <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</A> <B>getErrorStream</B>()</PRE> -<DL> -<DD>Return the OutputStream for displaying error messages. +<p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>errorStream</code> - The application-specified OutputStream for error messages.</dd></dl> +</li> +</ul> +<a name="getErrorStream()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getErrorStream</h4> +<pre>public java.io.OutputStream getErrorStream()</pre> +<div class="block">Return the OutputStream for displaying error messages. <p> This method may be called at any time during the life of the application. -<p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> - -<DT><B>Returns:</B><DD>The OutputStream for displaying error messages.</DL> -</DD> -</DL> -<HR> - -<A NAME="getBackupReadCount()"><!-- --></A><H3> -getBackupReadCount</H3> -<PRE> -public int <B>getBackupReadCount</B>()</PRE> -<DL> -<DD>Return the number of pages to read before pausing during the hot backup. -<p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> - -<DT><B>Returns:</B><DD>The number of pages to read before pausing.</DL> -</DD> -</DL> -<HR> - -<A NAME="setBackupReadCount(int)"><!-- --></A><H3> -setBackupReadCount</H3> -<PRE> -public void <B>setBackupReadCount</B>(int count)</PRE> -<DL> -<DD>Configures the number of pages to read during a hot backup before pausing. +<p></div> +<dl><dt><span class="strong">Returns:</span></dt><dd>The OutputStream for displaying error messages.</dd></dl> +</li> +</ul> +<a name="getBackupReadCount()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getBackupReadCount</h4> +<pre>public int getBackupReadCount()</pre> +<div class="block">Return the number of pages to read before pausing during the hot backup. +<p></div> +<dl><dt><span class="strong">Returns:</span></dt><dd>The number of pages to read before pausing.</dd></dl> +</li> +</ul> +<a name="setBackupReadCount(int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setBackupReadCount</h4> +<pre>public void setBackupReadCount(int count)</pre> +<div class="block">Configures the number of pages to read during a hot backup before pausing. <p> Increasing this value increases the amount of I/O the backup process performs for any given time interval. If your application is already @@ -2983,46 +2564,35 @@ your overall data throughput by reducing the I/O demands placed on your system. By default, all pages are read without a pause. <p> This method configures the behavior of the -<A HREF="../../../com/sleepycat/db/Environment.html#backup(java.lang.String, com.sleepycat.db.BackupOptions)"><CODE>Environment.backup</CODE></A> +<a href="../../../com/sleepycat/db/Environment.html#backup(java.lang.String,%20com.sleepycat.db.BackupOptions)"><code>Environment.backup</code></a> and -<A HREF="../../../com/sleepycat/db/Environment.html#backupDatabase(java.lang.String, java.lang.String, boolean)"><CODE>Environment.backupDatabase</CODE></A> +<a href="../../../com/sleepycat/db/Environment.html#backupDatabase(java.lang.String,%20java.lang.String,%20boolean)"><code>Environment.backupDatabase</code></a> methods. It may be called at any time during the life of the application. -<p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>count</CODE> - The number of pages to read before pausing.</DL> -</DD> -</DL> -<HR> - -<A NAME="getBackupReadSleep()"><!-- --></A><H3> -getBackupReadSleep</H3> -<PRE> -public int <B>getBackupReadSleep</B>()</PRE> -<DL> -<DD>Return the number of microseconds to sleep between batches of reads during +<p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>count</code> - The number of pages to read before pausing.</dd></dl> +</li> +</ul> +<a name="getBackupReadSleep()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getBackupReadSleep</h4> +<pre>public int getBackupReadSleep()</pre> +<div class="block">Return the number of microseconds to sleep between batches of reads during a hot backup. -<p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> - -<DT><B>Returns:</B><DD>The number of microseconds to sleep.</DL> -</DD> -</DL> -<HR> - -<A NAME="setBackupReadSleep(int)"><!-- --></A><H3> -setBackupReadSleep</H3> -<PRE> -public void <B>setBackupReadSleep</B>(int sleep)</PRE> -<DL> -<DD>Configures the number of microseconds to sleep between batches of reads during +<p></div> +<dl><dt><span class="strong">Returns:</span></dt><dd>The number of microseconds to sleep.</dd></dl> +</li> +</ul> +<a name="setBackupReadSleep(int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setBackupReadSleep</h4> +<pre>public void setBackupReadSleep(int sleep)</pre> +<div class="block">Configures the number of microseconds to sleep between batches of reads during a hot backup. <p> Increasing this value decreases the amount of I/O the backup process @@ -3032,89 +2602,67 @@ improve your overall data throughput by reducing the I/O demands placed on your system. <p> This method configures the behavior of the -<A HREF="../../../com/sleepycat/db/Environment.html#backup(java.lang.String, com.sleepycat.db.BackupOptions)"><CODE>Environment.backup</CODE></A> +<a href="../../../com/sleepycat/db/Environment.html#backup(java.lang.String,%20com.sleepycat.db.BackupOptions)"><code>Environment.backup</code></a> and -<A HREF="../../../com/sleepycat/db/Environment.html#backupDatabase(java.lang.String, java.lang.String, boolean)"><CODE>Environment.backupDatabase</CODE></A> +<a href="../../../com/sleepycat/db/Environment.html#backupDatabase(java.lang.String,%20java.lang.String,%20boolean)"><code>Environment.backupDatabase</code></a> methods. It may be called at any time during the life of the application. -<p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>sleep</CODE> - The number of microseconds to sleep.</DL> -</DD> -</DL> -<HR> - -<A NAME="getBackupSize()"><!-- --></A><H3> -getBackupSize</H3> -<PRE> -public int <B>getBackupSize</B>()</PRE> -<DL> -<DD>Return the size of the buffer, in megabytes, to read from the database +<p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>sleep</code> - The number of microseconds to sleep.</dd></dl> +</li> +</ul> +<a name="getBackupSize()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getBackupSize</h4> +<pre>public int getBackupSize()</pre> +<div class="block">Return the size of the buffer, in megabytes, to read from the database during a hot backup. -<p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> - -<DT><B>Returns:</B><DD>The size of the buffer in megabytes.</DL> -</DD> -</DL> -<HR> - -<A NAME="setBackupSize(int)"><!-- --></A><H3> -setBackupSize</H3> -<PRE> -public void <B>setBackupSize</B>(int size)</PRE> -<DL> -<DD>Configures the size of the buffer, in bytes, to read from the database +<p></div> +<dl><dt><span class="strong">Returns:</span></dt><dd>The size of the buffer in megabytes.</dd></dl> +</li> +</ul> +<a name="setBackupSize(int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setBackupSize</h4> +<pre>public void setBackupSize(int size)</pre> +<div class="block">Configures the size of the buffer, in bytes, to read from the database during a hot backup. <p> This method configures the behavior of the -<A HREF="../../../com/sleepycat/db/Environment.html#backup(java.lang.String, com.sleepycat.db.BackupOptions)"><CODE>Environment.backup</CODE></A> +<a href="../../../com/sleepycat/db/Environment.html#backup(java.lang.String,%20com.sleepycat.db.BackupOptions)"><code>Environment.backup</code></a> and -<A HREF="../../../com/sleepycat/db/Environment.html#backupDatabase(java.lang.String, java.lang.String, boolean)"><CODE>Environment.backupDatabase</CODE></A> +<a href="../../../com/sleepycat/db/Environment.html#backupDatabase(java.lang.String,%20java.lang.String,%20boolean)"><code>Environment.backupDatabase</code></a> methods. It may be called at any time during the life of the application. -<p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>size</CODE> - The size of the buffer in bytes. Default is 1 megabyte.</DL> -</DD> -</DL> -<HR> - -<A NAME="getBackupWriteDirect()"><!-- --></A><H3> -getBackupWriteDirect</H3> -<PRE> -public boolean <B>getBackupWriteDirect</B>()</PRE> -<DL> -<DD>Return return true if direct I/O is used when writing pages to the disk +<p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>size</code> - The size of the buffer in bytes. Default is 1 megabyte.</dd></dl> +</li> +</ul> +<a name="getBackupWriteDirect()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getBackupWriteDirect</h4> +<pre>public boolean getBackupWriteDirect()</pre> +<div class="block">Return return true if direct I/O is used when writing pages to the disk during a hot backup. -<p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> - -<DT><B>Returns:</B><DD>The environment's current direct I/O for hot backup setting.</DL> -</DD> -</DL> -<HR> - -<A NAME="setBackupWriteDirect(boolean)"><!-- --></A><H3> -setBackupWriteDirect</H3> -<PRE> -public void <B>setBackupWriteDirect</B>(boolean writeDirect)</PRE> -<DL> -<DD>Configures whether direct I/O is used when writing pages to the disk during a +<p></div> +<dl><dt><span class="strong">Returns:</span></dt><dd>The environment's current direct I/O for hot backup setting.</dd></dl> +</li> +</ul> +<a name="setBackupWriteDirect(boolean)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setBackupWriteDirect</h4> +<pre>public void setBackupWriteDirect(boolean writeDirect)</pre> +<div class="block">Configures whether direct I/O is used when writing pages to the disk during a hot backup. <p> For some environments, direct I/O can provide faster write throughput, but @@ -3122,117 +2670,90 @@ usually it is slower because the OS buffer pool offers asynchronous activity. <p> This method configures the behavior of the -<A HREF="../../../com/sleepycat/db/Environment.html#backup(java.lang.String, com.sleepycat.db.BackupOptions)"><CODE>Environment.backup</CODE></A> +<a href="../../../com/sleepycat/db/Environment.html#backup(java.lang.String,%20com.sleepycat.db.BackupOptions)"><code>Environment.backup</code></a> and -<A HREF="../../../com/sleepycat/db/Environment.html#backupDatabase(java.lang.String, java.lang.String, boolean)"><CODE>Environment.backupDatabase</CODE></A> +<a href="../../../com/sleepycat/db/Environment.html#backupDatabase(java.lang.String,%20java.lang.String,%20boolean)"><code>Environment.backupDatabase</code></a> methods. It may be called at any time during the life of the application. -<p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>writeDirect</CODE> - If true, use direct I/O when writing database pages; if false, do not use -direct I/O.</DL> -</DD> -</DL> -<HR> - -<A NAME="setBackupHandler(com.sleepycat.db.BackupHandler)"><!-- --></A><H3> -setBackupHandler</H3> -<PRE> -public void <B>setBackupHandler</B>(<A HREF="../../../com/sleepycat/db/BackupHandler.html" title="interface in com.sleepycat.db">BackupHandler</A> backupHandler)</PRE> -<DL> -<DD>Sets the <A HREF="../../../com/sleepycat/db/BackupHandler.html" title="interface in com.sleepycat.db"><CODE>BackupHandler</CODE></A> +<p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>writeDirect</code> - If true, use direct I/O when writing database pages; if false, do not use +direct I/O.</dd></dl> +</li> +</ul> +<a name="setBackupHandler(com.sleepycat.db.BackupHandler)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setBackupHandler</h4> +<pre>public void setBackupHandler(<a href="../../../com/sleepycat/db/BackupHandler.html" title="interface in com.sleepycat.db">BackupHandler</a> backupHandler)</pre> +<div class="block">Sets the <a href="../../../com/sleepycat/db/BackupHandler.html" title="interface in com.sleepycat.db"><code>BackupHandler</code></a> interface to be used when performing hot backups. <p> -The <A HREF="../../../com/sleepycat/db/BackupHandler.html" title="interface in com.sleepycat.db"><CODE>BackupHandler</CODE></A> interface is used +The <a href="../../../com/sleepycat/db/BackupHandler.html" title="interface in com.sleepycat.db"><code>BackupHandler</code></a> interface is used to override the default behavior used by the -<A HREF="../../../com/sleepycat/db/Environment.html#backup(java.lang.String, com.sleepycat.db.BackupOptions)"><CODE>Environment.backup</CODE></A> +<a href="../../../com/sleepycat/db/Environment.html#backup(java.lang.String,%20com.sleepycat.db.BackupOptions)"><code>Environment.backup</code></a> and -<A HREF="../../../com/sleepycat/db/Environment.html#backupDatabase(java.lang.String, java.lang.String, boolean)"><CODE>Environment.backupDatabase</CODE></A> +<a href="../../../com/sleepycat/db/Environment.html#backupDatabase(java.lang.String,%20java.lang.String,%20boolean)"><code>Environment.backupDatabase</code></a> methods. <p> This method may be called at any time during the life of the application. <p> This method configures operations performed using the Environment handle, not all operations performed on the underlying database environment. -<p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>backupHandler</CODE> - The <A HREF="../../../com/sleepycat/db/BackupHandler.html" title="interface in com.sleepycat.db"><CODE>BackupHandler</CODE></A> -interface to use when performing hot backups.</DL> -</DD> -</DL> -<HR> - -<A NAME="getBackupHandler()"><!-- --></A><H3> -getBackupHandler</H3> -<PRE> -public <A HREF="../../../com/sleepycat/db/BackupHandler.html" title="interface in com.sleepycat.db">BackupHandler</A> <B>getBackupHandler</B>()</PRE> -<DL> -<DD>Return the <A HREF="../../../com/sleepycat/db/BackupHandler.html" title="interface in com.sleepycat.db"><CODE>BackupHandler</CODE></A> +<p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>backupHandler</code> - The <a href="../../../com/sleepycat/db/BackupHandler.html" title="interface in com.sleepycat.db"><code>BackupHandler</code></a> +interface to use when performing hot backups.</dd></dl> +</li> +</ul> +<a name="getBackupHandler()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getBackupHandler</h4> +<pre>public <a href="../../../com/sleepycat/db/BackupHandler.html" title="interface in com.sleepycat.db">BackupHandler</a> getBackupHandler()</pre> +<div class="block">Return the <a href="../../../com/sleepycat/db/BackupHandler.html" title="interface in com.sleepycat.db"><code>BackupHandler</code></a> used to override default hot backup behavior. -<p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> - -<DT><B>Returns:</B><DD>The <A HREF="../../../com/sleepycat/db/BackupHandler.html" title="interface in com.sleepycat.db"><CODE>BackupHandler</CODE></A> -interface to use when performing hot backups.</DL> -</DD> -</DL> -<HR> - -<A NAME="setEventHandler(com.sleepycat.db.EventHandler)"><!-- --></A><H3> -setEventHandler</H3> -<PRE> -public void <B>setEventHandler</B>(<A HREF="../../../com/sleepycat/db/EventHandler.html" title="interface in com.sleepycat.db">EventHandler</A> eventHandler)</PRE> -<DL> -<DD>Set an object whose methods are to be called when a triggered event occurs. - <p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>eventHandler</CODE> - An object whose methods are called when event callbacks are initiated from - within Berkeley DB.</DL> -</DD> -</DL> -<HR> - -<A NAME="getEventHandler()"><!-- --></A><H3> -getEventHandler</H3> -<PRE> -public <A HREF="../../../com/sleepycat/db/EventHandler.html" title="interface in com.sleepycat.db">EventHandler</A> <B>getEventHandler</B>()</PRE> -<DL> -<DD>Return the object's methods to be called when a triggered event occurs. +<p></div> +<dl><dt><span class="strong">Returns:</span></dt><dd>The <a href="../../../com/sleepycat/db/BackupHandler.html" title="interface in com.sleepycat.db"><code>BackupHandler</code></a> +interface to use when performing hot backups.</dd></dl> +</li> +</ul> +<a name="setEventHandler(com.sleepycat.db.EventHandler)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setEventHandler</h4> +<pre>public void setEventHandler(<a href="../../../com/sleepycat/db/EventHandler.html" title="interface in com.sleepycat.db">EventHandler</a> eventHandler)</pre> +<div class="block">Set an object whose methods are to be called when a triggered event occurs. + <p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>eventHandler</code> - An object whose methods are called when event callbacks are initiated from + within Berkeley DB.</dd></dl> +</li> +</ul> +<a name="getEventHandler()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getEventHandler</h4> +<pre>public <a href="../../../com/sleepycat/db/EventHandler.html" title="interface in com.sleepycat.db">EventHandler</a> getEventHandler()</pre> +<div class="block">Return the object's methods to be called when a triggered event occurs. <p> This method may be called at any time during the life of the application. -<p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> - -<DT><B>Returns:</B><DD>The object's methods to be called when a triggered event occurs.</DL> -</DD> -</DL> -<HR> - -<A NAME="setFeedbackHandler(com.sleepycat.db.FeedbackHandler)"><!-- --></A><H3> -setFeedbackHandler</H3> -<PRE> -public void <B>setFeedbackHandler</B>(<A HREF="../../../com/sleepycat/db/FeedbackHandler.html" title="interface in com.sleepycat.db">FeedbackHandler</A> feedbackHandler)</PRE> -<DL> -<DD>Set an object whose methods are called to provide feedback. +<p></div> +<dl><dt><span class="strong">Returns:</span></dt><dd>The object's methods to be called when a triggered event occurs.</dd></dl> +</li> +</ul> +<a name="setFeedbackHandler(com.sleepycat.db.FeedbackHandler)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setFeedbackHandler</h4> +<pre>public void setFeedbackHandler(<a href="../../../com/sleepycat/db/FeedbackHandler.html" title="interface in com.sleepycat.db">FeedbackHandler</a> feedbackHandler)</pre> +<div class="block">Set an object whose methods are called to provide feedback. <p> Some operations performed by the Berkeley DB library can take non-trivial amounts of time. This method can be used by applications @@ -3244,46 +2765,35 @@ It is up to the object's methods to display this information in an appropriate manner. <p> This method configures only operations performed using a single a -<A HREF="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><CODE>Environment</CODE></A> handle +<a href="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><code>Environment</code></a> handle <p> This method may be called at any time during the life of the application. -<p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>feedbackHandler</CODE> - An object whose methods are called to provide feedback.</DL> -</DD> -</DL> -<HR> - -<A NAME="getFeedbackHandler()"><!-- --></A><H3> -getFeedbackHandler</H3> -<PRE> -public <A HREF="../../../com/sleepycat/db/FeedbackHandler.html" title="interface in com.sleepycat.db">FeedbackHandler</A> <B>getFeedbackHandler</B>()</PRE> -<DL> -<DD>Return the object's methods to be called to provide feedback. +<p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>feedbackHandler</code> - An object whose methods are called to provide feedback.</dd></dl> +</li> +</ul> +<a name="getFeedbackHandler()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getFeedbackHandler</h4> +<pre>public <a href="../../../com/sleepycat/db/FeedbackHandler.html" title="interface in com.sleepycat.db">FeedbackHandler</a> getFeedbackHandler()</pre> +<div class="block">Return the object's methods to be called to provide feedback. <p> This method may be called at any time during the life of the application. -<p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> - -<DT><B>Returns:</B><DD>The object's methods to be called to provide feedback.</DL> -</DD> -</DL> -<HR> - -<A NAME="setHotbackupInProgress(boolean)"><!-- --></A><H3> -setHotbackupInProgress</H3> -<PRE> -public void <B>setHotbackupInProgress</B>(boolean hotbackup)</PRE> -<DL> -<DD>When a "hot backup" copy of a database environment is taken, this +<p></div> +<dl><dt><span class="strong">Returns:</span></dt><dd>The object's methods to be called to provide feedback.</dd></dl> +</li> +</ul> +<a name="setHotbackupInProgress(boolean)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setHotbackupInProgress</h4> +<pre>public void setHotbackupInProgress(boolean hotbackup)</pre> +<div class="block">When a "hot backup" copy of a database environment is taken, this attribute should be configured in the environment prior to copying. If any transactions with the bulk insert optimization enabled (i.e., started with the Bulk configuration attribute) are in progress, @@ -3294,217 +2804,162 @@ protocol allows a hot backup procedure to make a consistent copy of the database even when bulk transactions are ongoing. Please see the discussion of hot backups in the <i>Getting Started With Transactions Guide</i>, and the description of the Bulk attribute in -<A HREF="../../../com/sleepycat/db/TransactionConfig.html" title="class in com.sleepycat.db"><CODE>TransactionConfig</CODE></A> +<a href="../../../com/sleepycat/db/TransactionConfig.html" title="class in com.sleepycat.db"><code>TransactionConfig</code></a> for more information. -<p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>hotbackup</CODE> - If true, set the HotBackupInProgress attribute; if false, reset it.</DL> -</DD> -</DL> -<HR> - -<A NAME="getHotbackupInProgress()"><!-- --></A><H3> -getHotbackupInProgress</H3> -<PRE> -public boolean <B>getHotbackupInProgress</B>()</PRE> -<DL> -<DD>Return true if a "hot backup" is in progress. -<p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> - -<DT><B>Returns:</B><DD>The environment's current HotBackupInProgress setting.</DL> -</DD> -</DL> -<HR> - -<A NAME="setInitializeCache(boolean)"><!-- --></A><H3> -setInitializeCache</H3> -<PRE> -public void <B>setInitializeCache</B>(boolean initializeCache)</PRE> -<DL> -<DD>Configure a shared memory buffer pool in the database environment. +<p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>hotbackup</code> - If true, set the HotBackupInProgress attribute; if false, reset it.</dd></dl> +</li> +</ul> +<a name="getHotbackupInProgress()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getHotbackupInProgress</h4> +<pre>public boolean getHotbackupInProgress()</pre> +<div class="block">Return true if a "hot backup" is in progress. +<p></div> +<dl><dt><span class="strong">Returns:</span></dt><dd>The environment's current HotBackupInProgress setting.</dd></dl> +</li> +</ul> +<a name="setInitializeCache(boolean)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setInitializeCache</h4> +<pre>public void setInitializeCache(boolean initializeCache)</pre> +<div class="block">Configure a shared memory buffer pool in the database environment. <p> This subsystem should be used whenever an application is using any Berkeley DB access method. - <p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>initializeCache</CODE> - If true, configure a shared memory buffer pool in the database - environment.</DL> -</DD> -</DL> -<HR> - -<A NAME="getInitializeCache()"><!-- --></A><H3> -getInitializeCache</H3> -<PRE> -public boolean <B>getInitializeCache</B>()</PRE> -<DL> -<DD>Return true if the database environment is configured with a shared + <p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>initializeCache</code> - If true, configure a shared memory buffer pool in the database + environment.</dd></dl> +</li> +</ul> +<a name="getInitializeCache()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getInitializeCache</h4> +<pre>public boolean getInitializeCache()</pre> +<div class="block">Return true if the database environment is configured with a shared memory buffer pool. <p> This method may be called at any time during the life of the application. -<p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> - -<DT><B>Returns:</B><DD>True if the database environment is configured with a shared - memory buffer pool.</DL> -</DD> -</DL> -<HR> - -<A NAME="setInitializeCDB(boolean)"><!-- --></A><H3> -setInitializeCDB</H3> -<PRE> -public void <B>setInitializeCDB</B>(boolean initializeCDB)</PRE> -<DL> -<DD>Configure the database environment for the Concurrent Data Store +<p></div> +<dl><dt><span class="strong">Returns:</span></dt><dd>True if the database environment is configured with a shared + memory buffer pool.</dd></dl> +</li> +</ul> +<a name="setInitializeCDB(boolean)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setInitializeCDB</h4> +<pre>public void setInitializeCDB(boolean initializeCDB)</pre> +<div class="block">Configure the database environment for the Concurrent Data Store product. <p> In this mode, Berkeley DB provides multiple reader/single writer access. The only other subsystem that should be specified for this handle is a cache. - <p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>initializeCDB</CODE> - If true, configure the database environment for the Concurrent Data - Store product.</DL> -</DD> -</DL> -<HR> - -<A NAME="getInitializeCDB()"><!-- --></A><H3> -getInitializeCDB</H3> -<PRE> -public boolean <B>getInitializeCDB</B>()</PRE> -<DL> -<DD>Return true if the database environment is configured for the Concurrent + <p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>initializeCDB</code> - If true, configure the database environment for the Concurrent Data + Store product.</dd></dl> +</li> +</ul> +<a name="getInitializeCDB()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getInitializeCDB</h4> +<pre>public boolean getInitializeCDB()</pre> +<div class="block">Return true if the database environment is configured for the Concurrent Data Store product. <p> This method may be called at any time during the life of the application. -<p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> - -<DT><B>Returns:</B><DD>True if the database environment is configured for the Concurrent - Data Store product.</DL> -</DD> -</DL> -<HR> - -<A NAME="setInitializeLocking(boolean)"><!-- --></A><H3> -setInitializeLocking</H3> -<PRE> -public void <B>setInitializeLocking</B>(boolean initializeLocking)</PRE> -<DL> -<DD>Configure the database environment for locking. +<p></div> +<dl><dt><span class="strong">Returns:</span></dt><dd>True if the database environment is configured for the Concurrent + Data Store product.</dd></dl> +</li> +</ul> +<a name="setInitializeLocking(boolean)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setInitializeLocking</h4> +<pre>public void setInitializeLocking(boolean initializeLocking)</pre> +<div class="block">Configure the database environment for locking. <p> Locking should be used when multiple processes or threads are going to be reading and writing a database, so they do not interfere with each other. If all threads are accessing the database(s) read-only, locking is unnecessary. When locking is configured, it is usually necessary to run a deadlock detector, as well. - <p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>initializeLocking</CODE> - If true, configure the database environment for locking.</DL> -</DD> -</DL> -<HR> - -<A NAME="getInitializeLocking()"><!-- --></A><H3> -getInitializeLocking</H3> -<PRE> -public boolean <B>getInitializeLocking</B>()</PRE> -<DL> -<DD>Return true if the database environment is configured for locking. + <p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>initializeLocking</code> - If true, configure the database environment for locking.</dd></dl> +</li> +</ul> +<a name="getInitializeLocking()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getInitializeLocking</h4> +<pre>public boolean getInitializeLocking()</pre> +<div class="block">Return true if the database environment is configured for locking. <p> This method may be called at any time during the life of the application. -<p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> - -<DT><B>Returns:</B><DD>True if the database environment is configured for locking.</DL> -</DD> -</DL> -<HR> - -<A NAME="setInitializeLogging(boolean)"><!-- --></A><H3> -setInitializeLogging</H3> -<PRE> -public void <B>setInitializeLogging</B>(boolean initializeLogging)</PRE> -<DL> -<DD>Configure the database environment for logging. +<p></div> +<dl><dt><span class="strong">Returns:</span></dt><dd>True if the database environment is configured for locking.</dd></dl> +</li> +</ul> +<a name="setInitializeLogging(boolean)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setInitializeLogging</h4> +<pre>public void setInitializeLogging(boolean initializeLogging)</pre> +<div class="block">Configure the database environment for logging. <p> Logging should be used when recovery from application or system failure is necessary. If the log region is being created and log files are already present, the log files are reviewed; subsequent log writes are appended to the end of the log, rather than overwriting current log entries. - <p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>initializeLogging</CODE> - If true, configure the database environment for logging.</DL> -</DD> -</DL> -<HR> - -<A NAME="getInitializeLogging()"><!-- --></A><H3> -getInitializeLogging</H3> -<PRE> -public boolean <B>getInitializeLogging</B>()</PRE> -<DL> -<DD>Return true if the database environment is configured for logging. + <p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>initializeLogging</code> - If true, configure the database environment for logging.</dd></dl> +</li> +</ul> +<a name="getInitializeLogging()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getInitializeLogging</h4> +<pre>public boolean getInitializeLogging()</pre> +<div class="block">Return true if the database environment is configured for logging. <p> This method may be called at any time during the life of the application. -<p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> - -<DT><B>Returns:</B><DD>True if the database environment is configured for logging.</DL> -</DD> -</DL> -<HR> - -<A NAME="setInitializeRegions(boolean)"><!-- --></A><H3> -setInitializeRegions</H3> -<PRE> -public void <B>setInitializeRegions</B>(boolean initializeRegions)</PRE> -<DL> -<DD>Configure the database environment to page-fault shared regions into +<p></div> +<dl><dt><span class="strong">Returns:</span></dt><dd>True if the database environment is configured for logging.</dd></dl> +</li> +</ul> +<a name="setInitializeRegions(boolean)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setInitializeRegions</h4> +<pre>public void setInitializeRegions(boolean initializeRegions)</pre> +<div class="block">Configure the database environment to page-fault shared regions into memory when initially creating or joining a database environment. <p> In some applications, the expense of page-faulting the underlying @@ -3518,191 +2973,147 @@ public void <B>setInitializeRegions</B>(boolean initializeRegions)</PRE> to instantiate both the necessary memory and the necessary disk space. This can also avoid out-of-disk space failures later on. <p> - This method only affects the specified <A HREF="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><CODE>Environment</CODE></A> handle (and + This method only affects the specified <a href="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><code>Environment</code></a> handle (and any other library handles opened within the scope of that handle). -For consistent behavior across the environment, all <A HREF="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><CODE>Environment</CODE></A> +For consistent behavior across the environment, all <a href="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><code>Environment</code></a> handles opened in the database environment must either call this method or the configuration should be specified in the database environment's DB_CONFIG configuration file. <p> This method may be called at any time during the life of the application. - <p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>initializeRegions</CODE> - If true, configure the database environment to page-fault shared + <p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>initializeRegions</code> - If true, configure the database environment to page-fault shared regions into memory when initially creating or joining a database - environment.</DL> -</DD> -</DL> -<HR> - -<A NAME="getInitializeRegions()"><!-- --></A><H3> -getInitializeRegions</H3> -<PRE> -public boolean <B>getInitializeRegions</B>()</PRE> -<DL> -<DD>Return true if the database environment has been configured to page-fault + environment.</dd></dl> +</li> +</ul> +<a name="getInitializeRegions()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getInitializeRegions</h4> +<pre>public boolean getInitializeRegions()</pre> +<div class="block">Return true if the database environment has been configured to page-fault shared regions into memory when initially creating or joining a database environment. <p> This method may be called at any time during the life of the application. -<p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> - -<DT><B>Returns:</B><DD>True if the database environment has been configured to page-fault +<p></div> +<dl><dt><span class="strong">Returns:</span></dt><dd>True if the database environment has been configured to page-fault shared regions into memory when initially creating or joining a - database environment.</DL> -</DD> -</DL> -<HR> - -<A NAME="setInitializeReplication(boolean)"><!-- --></A><H3> -setInitializeReplication</H3> -<PRE> -public void <B>setInitializeReplication</B>(boolean initializeReplication)</PRE> -<DL> -<DD>Configure the database environment for replication. + database environment.</dd></dl> +</li> +</ul> +<a name="setInitializeReplication(boolean)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setInitializeReplication</h4> +<pre>public void setInitializeReplication(boolean initializeReplication)</pre> +<div class="block">Configure the database environment for replication. <p> Replication requires both locking and transactions. - <p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>initializeReplication</CODE> - If true, configure the database environment for replication.</DL> -</DD> -</DL> -<HR> - -<A NAME="getInitializeReplication()"><!-- --></A><H3> -getInitializeReplication</H3> -<PRE> -public boolean <B>getInitializeReplication</B>()</PRE> -<DL> -<DD>Return true if the database environment is configured for replication. + <p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>initializeReplication</code> - If true, configure the database environment for replication.</dd></dl> +</li> +</ul> +<a name="getInitializeReplication()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getInitializeReplication</h4> +<pre>public boolean getInitializeReplication()</pre> +<div class="block">Return true if the database environment is configured for replication. <p> This method may be called at any time during the life of the application. -<p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> - -<DT><B>Returns:</B><DD>True if the database environment is configured for replication.</DL> -</DD> -</DL> -<HR> - -<A NAME="setJoinEnvironment(boolean)"><!-- --></A><H3> -setJoinEnvironment</H3> -<PRE> -public void <B>setJoinEnvironment</B>(boolean joinEnvironment)</PRE> -<DL> -<DD>Configure the handle to join an existing environment. +<p></div> +<dl><dt><span class="strong">Returns:</span></dt><dd>True if the database environment is configured for replication.</dd></dl> +</li> +</ul> +<a name="setJoinEnvironment(boolean)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setJoinEnvironment</h4> +<pre>public void setJoinEnvironment(boolean joinEnvironment)</pre> +<div class="block">Configure the handle to join an existing environment. <p> This option allows applications to join an existing environment without knowing which subsystems the environment supports. - <p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>joinEnvironment</CODE> - If true, configure the handle to join an existing environment.</DL> -</DD> -</DL> -<HR> - -<A NAME="getJoinEnvironment()"><!-- --></A><H3> -getJoinEnvironment</H3> -<PRE> -public boolean <B>getJoinEnvironment</B>()</PRE> -<DL> -<DD>Return the handle is configured to join an existing environment. + <p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>joinEnvironment</code> - If true, configure the handle to join an existing environment.</dd></dl> +</li> +</ul> +<a name="getJoinEnvironment()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getJoinEnvironment</h4> +<pre>public boolean getJoinEnvironment()</pre> +<div class="block">Return the handle is configured to join an existing environment. <p> This method may be called at any time during the life of the application. -<p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> - -<DT><B>Returns:</B><DD>The handle is configured to join an existing environment.</DL> -</DD> -</DL> -<HR> - -<A NAME="setLockConflicts(byte[][])"><!-- --></A><H3> -setLockConflicts</H3> -<PRE> -public void <B>setLockConflicts</B>(byte[][] lockConflicts)</PRE> -<DL> -<DD>Configure the locking conflicts matrix. +<p></div> +<dl><dt><span class="strong">Returns:</span></dt><dd>The handle is configured to join an existing environment.</dd></dl> +</li> +</ul> +<a name="setLockConflicts(byte[][])"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setLockConflicts</h4> +<pre>public void setLockConflicts(byte[][] lockConflicts)</pre> +<div class="block">Configure the locking conflicts matrix. <p> If the locking conflicts matrix is never configured, a standard conflicts array is used. <p> This method configures a database environment, including all threads of control accessing the database environment, not only the operations -performed using a specified <A HREF="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><CODE>Environment</CODE></A> handle. +performed using a specified <a href="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><code>Environment</code></a> handle. <p> This method may not be called after the environment has been opened. If joining an existing database environment, any information specified to this method will be ignored. - <p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>lockConflicts</CODE> - The locking conflicts matrix. A non-0 value for an array element + <p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>lockConflicts</code> - The locking conflicts matrix. A non-0 value for an array element indicates the requested_mode and held_mode conflict: <blockquote><pre> lockConflicts[requested_mode][held_mode] </pre></blockquote> <p> - The <em>not-granted</em> mode must be represented by 0.</DL> -</DD> -</DL> -<HR> - -<A NAME="getLockConflicts()"><!-- --></A><H3> -getLockConflicts</H3> -<PRE> -public byte[][] <B>getLockConflicts</B>()</PRE> -<DL> -<DD>Return the locking conflicts matrix. + The <em>not-granted</em> mode must be represented by 0.</dd></dl> +</li> +</ul> +<a name="getLockConflicts()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getLockConflicts</h4> +<pre>public byte[][] getLockConflicts()</pre> +<div class="block">Return the locking conflicts matrix. <p> This method may be called at any time during the life of the application. -<p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> - -<DT><B>Returns:</B><DD>The locking conflicts matrix.</DL> -</DD> -</DL> -<HR> - -<A NAME="setLockDetectMode(com.sleepycat.db.LockDetectMode)"><!-- --></A><H3> -setLockDetectMode</H3> -<PRE> -public void <B>setLockDetectMode</B>(<A HREF="../../../com/sleepycat/db/LockDetectMode.html" title="class in com.sleepycat.db">LockDetectMode</A> lockDetectMode)</PRE> -<DL> -<DD>Configure if the deadlock detector is to be run whenever a lock +<p></div> +<dl><dt><span class="strong">Returns:</span></dt><dd>The locking conflicts matrix.</dd></dl> +</li> +</ul> +<a name="setLockDetectMode(com.sleepycat.db.LockDetectMode)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setLockDetectMode</h4> +<pre>public void setLockDetectMode(<a href="../../../com/sleepycat/db/LockDetectMode.html" title="class in com.sleepycat.db">LockDetectMode</a> lockDetectMode)</pre> +<div class="block">Configure if the deadlock detector is to be run whenever a lock conflict occurs. <p> The database environment's deadlock detector configuration may also be set using the environment's @@ -3714,93 +3125,71 @@ opened, it will silently overrule configuration done before that time. <p> This method configures a database environment, including all threads of control accessing the database environment, not only the operations -performed using a specified <A HREF="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><CODE>Environment</CODE></A> handle. +performed using a specified <a href="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><code>Environment</code></a> handle. <p> Although the method may be called at any time during the life of the application, it should normally be called before opening the database environment. - <p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>lockDetectMode</CODE> - The lock request(s) to be rejected. As transactions acquire locks + <p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>lockDetectMode</code> - The lock request(s) to be rejected. As transactions acquire locks on behalf of a single locker ID, rejecting a lock request associated - with a transaction normally requires the transaction be aborted.</DL> -</DD> -</DL> -<HR> - -<A NAME="getLockDetectMode()"><!-- --></A><H3> -getLockDetectMode</H3> -<PRE> -public <A HREF="../../../com/sleepycat/db/LockDetectMode.html" title="class in com.sleepycat.db">LockDetectMode</A> <B>getLockDetectMode</B>()</PRE> -<DL> -<DD>Return true if the deadlock detector is configured to run whenever a lock + with a transaction normally requires the transaction be aborted.</dd></dl> +</li> +</ul> +<a name="getLockDetectMode()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getLockDetectMode</h4> +<pre>public <a href="../../../com/sleepycat/db/LockDetectMode.html" title="class in com.sleepycat.db">LockDetectMode</a> getLockDetectMode()</pre> +<div class="block">Return true if the deadlock detector is configured to run whenever a lock conflict occurs. <p> This method may be called at any time during the life of the application. -<p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> - -<DT><B>Returns:</B><DD>True if the deadlock detector is configured to run whenever a lock - conflict occurs.</DL> -</DD> -</DL> -<HR> - -<A NAME="setLockDown(boolean)"><!-- --></A><H3> -setLockDown</H3> -<PRE> -public void <B>setLockDown</B>(boolean lockDown)</PRE> -<DL> -<DD>Configure the database environment to lock shared environment files +<p></div> +<dl><dt><span class="strong">Returns:</span></dt><dd>True if the deadlock detector is configured to run whenever a lock + conflict occurs.</dd></dl> +</li> +</ul> +<a name="setLockDown(boolean)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setLockDown</h4> +<pre>public void setLockDown(boolean lockDown)</pre> +<div class="block">Configure the database environment to lock shared environment files and memory-mapped databases into memory. - <p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>lockDown</CODE> - If true, configure the database environment to lock shared - environment files and memory-mapped databases into memory.</DL> -</DD> -</DL> -<HR> - -<A NAME="getLockDown()"><!-- --></A><H3> -getLockDown</H3> -<PRE> -public boolean <B>getLockDown</B>()</PRE> -<DL> -<DD>Return true if the database environment is configured to lock shared + <p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>lockDown</code> - If true, configure the database environment to lock shared + environment files and memory-mapped databases into memory.</dd></dl> +</li> +</ul> +<a name="getLockDown()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getLockDown</h4> +<pre>public boolean getLockDown()</pre> +<div class="block">Return true if the database environment is configured to lock shared environment files and memory-mapped databases into memory. <p> This method may be called at any time during the life of the application. -<p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> - -<DT><B>Returns:</B><DD>True if the database environment is configured to lock shared - environment files and memory-mapped databases into memory.</DL> -</DD> -</DL> -<HR> - -<A NAME="setLockTimeout(long)"><!-- --></A><H3> -setLockTimeout</H3> -<PRE> -public void <B>setLockTimeout</B>(long lockTimeout)</PRE> -<DL> -<DD>Set the timeout value for the database environment +<p></div> +<dl><dt><span class="strong">Returns:</span></dt><dd>True if the database environment is configured to lock shared + environment files and memory-mapped databases into memory.</dd></dl> +</li> +</ul> +<a name="setLockTimeout(long)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setLockTimeout</h4> +<pre>public void setLockTimeout(long lockTimeout)</pre> +<div class="block">Set the timeout value for the database environment locks. <p> Lock timeouts are checked whenever a thread of control blocks on a lock @@ -3814,59 +3203,48 @@ how often deadlock detection is performed. <p> Timeout values specified for the database environment may be overridden on a -per-lock basis by <A HREF="../../../com/sleepycat/db/Environment.html#lockVector(int, boolean, com.sleepycat.db.LockRequest[])"><CODE>Environment.lockVector</CODE></A>. +per-lock basis by <a href="../../../com/sleepycat/db/Environment.html#lockVector(int,%20boolean,%20com.sleepycat.db.LockRequest[])"><code>Environment.lockVector</code></a>. <p> This method configures a database environment, including all threads of control accessing the database environment, not only the operations -performed using a specified <A HREF="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><CODE>Environment</CODE></A> handle. +performed using a specified <a href="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><code>Environment</code></a> handle. <p> This method may be called at any time during the life of the application. -<p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>lockTimeout</CODE> - The timeout value, specified as an unsigned 32-bit number of +<p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>lockTimeout</code> - The timeout value, specified as an unsigned 32-bit number of microseconds, limiting the maximum timeout to roughly 71 minutes. <p> -<p> -<DT><B>Throws:</B> -<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if an invalid parameter was specified. -<p> -<DD><CODE><A HREF="../../../com/sleepycat/db/DatabaseException.html" title="class in com.sleepycat.db">DatabaseException</A></CODE> - if a failure occurs.</DL> -</DD> -</DL> -<HR> - -<A NAME="getLockTimeout()"><!-- --></A><H3> -getLockTimeout</H3> -<PRE> -public long <B>getLockTimeout</B>()</PRE> -<DL> -<DD>Return the database environment lock timeout value, in microseconds; +<p></dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code>java.lang.IllegalArgumentException</code> - if an invalid parameter was specified. +<p></dd> +<dd><code><a href="../../../com/sleepycat/db/DatabaseException.html" title="class in com.sleepycat.db">DatabaseException</a></code> - if a failure occurs.</dd></dl> +</li> +</ul> +<a name="getLockTimeout()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getLockTimeout</h4> +<pre>public long getLockTimeout()</pre> +<div class="block">Return the database environment lock timeout value, in microseconds; a timeout of 0 means no timeout is set. <p> This method may be called at any time during the life of the application. -<p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> - -<DT><B>Returns:</B><DD>The database environment lock timeout value, in microseconds; - a timeout of 0 means no timeout is set.</DL> -</DD> -</DL> -<HR> - -<A NAME="setLogAutoRemove(boolean)"><!-- --></A><H3> -setLogAutoRemove</H3> -<PRE> -public void <B>setLogAutoRemove</B>(boolean logAutoRemove)</PRE> -<DL> -<DD>Configure the system to automatically remove log files that are no +<p></div> +<dl><dt><span class="strong">Returns:</span></dt><dd>The database environment lock timeout value, in microseconds; + a timeout of 0 means no timeout is set.</dd></dl> +</li> +</ul> +<a name="setLogAutoRemove(boolean)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setLogAutoRemove</h4> +<pre>public void setLogAutoRemove(boolean logAutoRemove)</pre> +<div class="block">Configure the system to automatically remove log files that are no longer needed. <p> Automatic log file removal is likely to make catastrophic recovery @@ -3881,49 +3259,65 @@ public void <B>setLogAutoRemove</B>(boolean logAutoRemove)</PRE> <p> This method configures a database environment, including all threads of control accessing the database environment, not only the operations -performed using a specified <A HREF="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><CODE>Environment</CODE></A> handle. +performed using a specified <a href="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><code>Environment</code></a> handle. <p> This method may be called at any time during the life of the application. - <p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>logAutoRemove</CODE> - If true, configure the system to automatically remove log files that - are no longer needed.</DL> -</DD> -</DL> -<HR> - -<A NAME="getLogAutoRemove()"><!-- --></A><H3> -getLogAutoRemove</H3> -<PRE> -public boolean <B>getLogAutoRemove</B>()</PRE> -<DL> -<DD>Return true if the system has been configured to to automatically remove log + <p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>logAutoRemove</code> - If true, configure the system to automatically remove log files that + are no longer needed.</dd></dl> +</li> +</ul> +<a name="getLogAutoRemove()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getLogAutoRemove</h4> +<pre>public boolean getLogAutoRemove()</pre> +<div class="block">Return true if the system has been configured to to automatically remove log files that are no longer needed. <p> This method may be called at any time during the life of the application. -<p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> - -<DT><B>Returns:</B><DD>True if the system has been configured to to automatically remove log - files that are no longer needed.</DL> -</DD> -</DL> -<HR> - -<A NAME="setLogInMemory(boolean)"><!-- --></A><H3> -setLogInMemory</H3> -<PRE> -public void <B>setLogInMemory</B>(boolean logInMemory)</PRE> -<DL> -<DD>If set, maintain transaction logs in memory rather than on disk. This means +<p></div> +<dl><dt><span class="strong">Returns:</span></dt><dd>True if the system has been configured to to automatically remove log + files that are no longer needed.</dd></dl> +</li> +</ul> +<a name="setLogBlobContent(boolean)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setLogBlobContent</h4> +<pre>public void setLogBlobContent(boolean logBlobContent)</pre> +<div class="block">Enable full logging of blob data. Required for HA and the hotbackup + utility. + <p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>logBlobContent</code> - If true, enable full logging of blob data.</dd></dl> +</li> +</ul> +<a name="getLogBlobContent()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getLogBlobContent</h4> +<pre>public boolean getLogBlobContent()</pre> +<div class="block">Return true if full logging of blob data is enabled. + <p> + This method may be called at any time during the life of the application. + <p></div> +<dl><dt><span class="strong">Returns:</span></dt><dd>True if full logging of blob data is enabled.</dd></dl> +</li> +</ul> +<a name="setLogInMemory(boolean)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setLogInMemory</h4> +<pre>public void setLogInMemory(boolean logInMemory)</pre> +<div class="block">If set, maintain transaction logs in memory rather than on disk. This means that transactions exhibit the ACI (atomicity, consistency, and isolation) properties, but not D (durability); that is, database integrity will be maintained, but if the application or system fails, integrity will not @@ -3932,7 +3326,7 @@ public void <B>setLogInMemory</B>(boolean logInMemory)</PRE> failure. <p> When in-memory logs are configured and no more log buffer space is - available, Berkeley DB methods will throw a <A HREF="../../../com/sleepycat/db/DatabaseException.html" title="class in com.sleepycat.db"><CODE>DatabaseException</CODE></A>. + available, Berkeley DB methods will throw a <a href="../../../com/sleepycat/db/DatabaseException.html" title="class in com.sleepycat.db"><code>DatabaseException</code></a>. When choosing log buffer and file sizes for in-memory logs, applications should ensure the in-memory log buffer size is large enough that no transaction will ever span the entire buffer, and avoid a state where the @@ -3941,97 +3335,109 @@ public void <B>setLogInMemory</B>(boolean logInMemory)</PRE> <p> This method configures a database environment, including all threads of control accessing the database environment, not only the operations -performed using a specified <A HREF="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><CODE>Environment</CODE></A> handle. +performed using a specified <a href="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><code>Environment</code></a> handle. <p> This method may not be called after the environment has been opened. If joining an existing database environment, any information specified to this method will be ignored. - <p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>logInMemory</CODE> - If true, maintain transaction logs in memory rather than on disk.</DL> -</DD> -</DL> -<HR> - -<A NAME="getLogInMemory()"><!-- --></A><H3> -getLogInMemory</H3> -<PRE> -public boolean <B>getLogInMemory</B>()</PRE> -<DL> -<DD>Return true if the database environment is configured to maintain transaction logs + <p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>logInMemory</code> - If true, maintain transaction logs in memory rather than on disk.</dd></dl> +</li> +</ul> +<a name="getLogInMemory()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getLogInMemory</h4> +<pre>public boolean getLogInMemory()</pre> +<div class="block">Return true if the database environment is configured to maintain transaction logs in memory rather than on disk. <p> This method may be called at any time during the life of the application. -<p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> - -<DT><B>Returns:</B><DD>True if the database environment is configured to maintain transaction logs - in memory rather than on disk.</DL> -</DD> -</DL> -<HR> - -<A NAME="setLogRecordHandler(com.sleepycat.db.LogRecordHandler)"><!-- --></A><H3> -setLogRecordHandler</H3> -<PRE> -public void <B>setLogRecordHandler</B>(<A HREF="../../../com/sleepycat/db/LogRecordHandler.html" title="interface in com.sleepycat.db">LogRecordHandler</A> logRecordHandler)</PRE> -<DL> -<DD>Set a function to process application-specific log records. +<p></div> +<dl><dt><span class="strong">Returns:</span></dt><dd>True if the database environment is configured to maintain transaction logs + in memory rather than on disk.</dd></dl> +</li> +</ul> +<a name="setLogNoSync(boolean)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setLogNoSync</h4> +<pre>public void setLogNoSync(boolean logNoSync)</pre> +<div class="block">Configure the system to avoid fsync() calls during log file flushes. + <p> + Log nosync is only safe when recovery is not needed after a system crash. + If the system remains alive and the application crashes, the database will + be recoverable in that situation. + <p> + This method may not be called after the environment has been opened. + <p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>logNoSync</code> - If true, configure the system to avoid fsync() calls during log file flushes.</dd></dl> +</li> +</ul> +<a name="getLogNoSync()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getLogNoSync</h4> +<pre>public boolean getLogNoSync()</pre> +<div class="block">Return true if the system has been configured to avoid fsync() calls during + log files during flushes. + <p> + This method may be called at any time during the life of the application. + <p></div> +<dl><dt><span class="strong">Returns:</span></dt><dd>True if the system has been configured to avoid fsync() calls during log + files flushes.</dd></dl> +</li> +</ul> +<a name="setLogRecordHandler(com.sleepycat.db.LogRecordHandler)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setLogRecordHandler</h4> +<pre>public void setLogRecordHandler(<a href="../../../com/sleepycat/db/LogRecordHandler.html" title="interface in com.sleepycat.db">LogRecordHandler</a> logRecordHandler)</pre> +<div class="block">Set a function to process application-specific log records. <p> This method configures only operations performed using a single a -<A HREF="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><CODE>Environment</CODE></A> handle, not an entire database environment. +<a href="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><code>Environment</code></a> handle, not an entire database environment. <p> This method may not be called after the environment has been opened. If joining an existing database environment, the information specified to this method must be consistent with the existing environment or corruption can occur. - <p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>logRecordHandler</CODE> - The handler for application-specific log records.</DL> -</DD> -</DL> -<HR> - -<A NAME="getLogRecordHandler()"><!-- --></A><H3> -getLogRecordHandler</H3> -<PRE> -public <A HREF="../../../com/sleepycat/db/LogRecordHandler.html" title="interface in com.sleepycat.db">LogRecordHandler</A> <B>getLogRecordHandler</B>()</PRE> -<DL> -<DD>Return the handler for application-specific log records. + <p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>logRecordHandler</code> - The handler for application-specific log records.</dd></dl> +</li> +</ul> +<a name="getLogRecordHandler()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getLogRecordHandler</h4> +<pre>public <a href="../../../com/sleepycat/db/LogRecordHandler.html" title="interface in com.sleepycat.db">LogRecordHandler</a> getLogRecordHandler()</pre> +<div class="block">Return the handler for application-specific log records. <p> This method may be called at any time during the life of the application. -<p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> - -<DT><B>Returns:</B><DD>The handler for application-specific log records.</DL> -</DD> -</DL> -<HR> - -<A NAME="setLogZero(boolean)"><!-- --></A><H3> -setLogZero</H3> -<PRE> -public void <B>setLogZero</B>(boolean logZero)</PRE> -<DL> -<DD>If set, zero all pages of a log file when that log file is created. This +<p></div> +<dl><dt><span class="strong">Returns:</span></dt><dd>The handler for application-specific log records.</dd></dl> +</li> +</ul> +<a name="setLogZero(boolean)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setLogZero</h4> +<pre>public void setLogZero(boolean logZero)</pre> +<div class="block">If set, zero all pages of a log file when that log file is created. This has been shown to provide greater transaction throughput in some environments. The log file will be zeroed by the thread which needs to re-create the new log file. Other threads may not write to the log file @@ -4041,103 +3447,76 @@ public void <B>setLogZero</B>(boolean logZero)</PRE> control accessing the database environment. <p> This method may not be called after the environment has been opened. - <p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>logZero</CODE> - If true, zero all pages of new log files upon their creation.</DL> -</DD> -</DL> -<HR> - -<A NAME="getLogZero()"><!-- --></A><H3> -getLogZero</H3> -<PRE> -public boolean <B>getLogZero</B>()</PRE> -<DL> -<DD>Return true if the database environment is configured to zero all pages of + <p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>logZero</code> - If true, zero all pages of new log files upon their creation.</dd></dl> +</li> +</ul> +<a name="getLogZero()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getLogZero</h4> +<pre>public boolean getLogZero()</pre> +<div class="block">Return true if the database environment is configured to zero all pages of new log files upon their creation. <p> This method may be called at any time during the life of the application. - <p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> - -<DT><B>Returns:</B><DD>True if the database environment is configured to pre-zero log pages.</DL> -</DD> -</DL> -<HR> - -<A NAME="getRegionMemoryInitialSize(com.sleepycat.db.RegionResourceType)"><!-- --></A><H3> -getRegionMemoryInitialSize</H3> -<PRE> -public int <B>getRegionMemoryInitialSize</B>(<A HREF="../../../com/sleepycat/db/RegionResourceType.html" title="class in com.sleepycat.db">RegionResourceType</A> resource)</PRE> -<DL> -<DD>Return the inital memory configuration for a region resource. - <p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>resource</CODE> - The resource type to get initial sizing for. - <p> -<DT><B>Returns:</B><DD>The initial amount of memory allocated for the requested resource.</DL> -</DD> -</DL> -<HR> - -<A NAME="setRegionMemoryInitialSize(com.sleepycat.db.RegionResourceType, int)"><!-- --></A><H3> -setRegionMemoryInitialSize</H3> -<PRE> -public void <B>setRegionMemoryInitialSize</B>(<A HREF="../../../com/sleepycat/db/RegionResourceType.html" title="class in com.sleepycat.db">RegionResourceType</A> resource, - int count)</PRE> -<DL> -<DD>Assign an initial count for a particular resource within the shared region + <p></div> +<dl><dt><span class="strong">Returns:</span></dt><dd>True if the database environment is configured to pre-zero log pages.</dd></dl> +</li> +</ul> +<a name="getRegionMemoryInitialSize(com.sleepycat.db.RegionResourceType)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getRegionMemoryInitialSize</h4> +<pre>public int getRegionMemoryInitialSize(<a href="../../../com/sleepycat/db/RegionResourceType.html" title="class in com.sleepycat.db">RegionResourceType</a> resource)</pre> +<div class="block">Return the inital memory configuration for a region resource. + <p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>resource</code> - The resource type to get initial sizing for. + <p></dd> +<dt><span class="strong">Returns:</span></dt><dd>The initial amount of memory allocated for the requested resource.</dd></dl> +</li> +</ul> +<a name="setRegionMemoryInitialSize(com.sleepycat.db.RegionResourceType, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setRegionMemoryInitialSize</h4> +<pre>public void setRegionMemoryInitialSize(<a href="../../../com/sleepycat/db/RegionResourceType.html" title="class in com.sleepycat.db">RegionResourceType</a> resource, + int count)</pre> +<div class="block">Assign an initial count for a particular resource within the shared region of Berkeley DB. The shared region is used to hold resources that are shared amongst processes in Berkeley DB. The default values are generally satisfactory. - <p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>resource</CODE> - The resource type to configure.<DD><CODE>count</CODE> - The initial number of objects of a particular type to allocate.</DL> -</DD> -</DL> -<HR> - -<A NAME="getRegionMemoryMax()"><!-- --></A><H3> -getRegionMemoryMax</H3> -<PRE> -public long <B>getRegionMemoryMax</B>()</PRE> -<DL> -<DD>Return the maximum amount of memory that can be used by shared structures + <p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>resource</code> - The resource type to configure.</dd><dd><code>count</code> - The initial number of objects of a particular type to allocate.</dd></dl> +</li> +</ul> +<a name="getRegionMemoryMax()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getRegionMemoryMax</h4> +<pre>public long getRegionMemoryMax()</pre> +<div class="block">Return the maximum amount of memory that can be used by shared structures in the main environment region. - <p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> - -<DT><B>Returns:</B><DD>The maximum amount of memory that could be used by the main region.</DL> -</DD> -</DL> -<HR> - -<A NAME="setRegionMemoryMax(long)"><!-- --></A><H3> -setRegionMemoryMax</H3> -<PRE> -public void <B>setRegionMemoryMax</B>(long regionMemoryMax)</PRE> -<DL> -<DD>This method sets the maximum amount of memory to be used by shared + <p></div> +<dl><dt><span class="strong">Returns:</span></dt><dd>The maximum amount of memory that could be used by the main region.</dd></dl> +</li> +</ul> +<a name="setRegionMemoryMax(long)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setRegionMemoryMax</h4> +<pre>public void setRegionMemoryMax(long regionMemoryMax)</pre> +<div class="block">This method sets the maximum amount of memory to be used by shared structures in the main environment region. These are the structures other than mutexes and the page cache (memory pool). If the region files are in memory mapped files, or if DB_PRIVATE is specified, the memory @@ -4147,30 +3526,25 @@ public void <B>setRegionMemoryMax</B>(long regionMemoryMax)</PRE> For memory mapped files, a mapped region will be allocated to this size but the underlying file will only be allocated sufficient memory to hold the initial allocation of shared memory structures as set by - <A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setRegionMemoryInitialSize(com.sleepycat.db.RegionResourceType, int)"><CODE>EnvironmentConfig.setRegionMemoryInitialSize</CODE></A>. + <a href="../../../com/sleepycat/db/EnvironmentConfig.html#setRegionMemoryInitialSize(com.sleepycat.db.RegionResourceType,%20int)"><code>EnvironmentConfig.setRegionMemoryInitialSize</code></a>. <p> If no memory maximum is specified then it is calculated from defaults, initial settings or (deprecated) maximum settings of the various shared structures. In the case of environments created with DB_PRIVATE, no maximum need be set and the shared structure allocation will grow as needed until the process memory limit is exhausted. - <p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>regionMemoryMax</CODE> - The total amount of memory that can be used by the main region.</DL> -</DD> -</DL> -<HR> - -<A NAME="setReplicationInMemory(boolean)"><!-- --></A><H3> -setReplicationInMemory</H3> -<PRE> -public void <B>setReplicationInMemory</B>(boolean replicationInMemory)</PRE> -<DL> -<DD>If set, store internal replication information in memory only. By default, + <p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>regionMemoryMax</code> - The total amount of memory that can be used by the main region.</dd></dl> +</li> +</ul> +<a name="setReplicationInMemory(boolean)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setReplicationInMemory</h4> +<pre>public void setReplicationInMemory(boolean replicationInMemory)</pre> +<div class="block">If set, store internal replication information in memory only. By default, replication creates files in the environment home directory to preserve some internal information. If this configuration flag is turned on, replication only stores this internal information in-memory and cannot @@ -4178,128 +3552,119 @@ public void <B>setReplicationInMemory</B>(boolean replicationInMemory)</PRE <p> This configuration flag can only be turned on before the environment is opened. Its value cannot be changed while the environment is open. - <p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>replicationInMemory</CODE> - If true, store internal replication information in memory only.</DL> -</DD> -</DL> -<HR> - -<A NAME="getReplicationInMemory()"><!-- --></A><H3> -getReplicationInMemory</H3> -<PRE> -public boolean <B>getReplicationInMemory</B>()</PRE> -<DL> -<DD>Return true if internal replication information is stored in memory only. + <p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>replicationInMemory</code> - If true, store internal replication information in memory only.</dd></dl> +</li> +</ul> +<a name="getReplicationInMemory()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getReplicationInMemory</h4> +<pre>public boolean getReplicationInMemory()</pre> +<div class="block">Return true if internal replication information is stored in memory only. <p> This method may be called at any time during the life of the application. - <p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> - -<DT><B>Returns:</B><DD>True if internal replication information is stored in memory only.</DL> -</DD> -</DL> -<HR> - -<A NAME="setReplicationManagerAckPolicy(com.sleepycat.db.ReplicationManagerAckPolicy)"><!-- --></A><H3> -setReplicationManagerAckPolicy</H3> -<PRE> -public void <B>setReplicationManagerAckPolicy</B>(<A HREF="../../../com/sleepycat/db/ReplicationManagerAckPolicy.html" title="class in com.sleepycat.db">ReplicationManagerAckPolicy</A> repmgrAckPolicy)</PRE> -<DL> -<DD>Set the network Ack policy used by the replication manager. - <p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>repmgrAckPolicy</CODE> - The network Ack policy used by the replication manager.</DL> -</DD> -</DL> -<HR> - -<A NAME="getReplicationManagerAckPolicy()"><!-- --></A><H3> -getReplicationManagerAckPolicy</H3> -<PRE> -public <A HREF="../../../com/sleepycat/db/ReplicationManagerAckPolicy.html" title="class in com.sleepycat.db">ReplicationManagerAckPolicy</A> <B>getReplicationManagerAckPolicy</B>()</PRE> -<DL> -<DD>Get the network Ack policy used by the replication manager. - <p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> - -<DT><B>Returns:</B><DD>The network Ack policy used by the replication manager.</DL> -</DD> -</DL> -<HR> - -<A NAME="addReplicationManagerSite(com.sleepycat.db.ReplicationManagerSiteConfig)"><!-- --></A><H3> -addReplicationManagerSite</H3> -<PRE> -public void <B>addReplicationManagerSite</B>(<A HREF="../../../com/sleepycat/db/ReplicationManagerSiteConfig.html" title="class in com.sleepycat.db">ReplicationManagerSiteConfig</A> repmgrSiteConfig)</PRE> -<DL> -<DD>Configure a site in a replication group. This could be called more than once, + <p></div> +<dl><dt><span class="strong">Returns:</span></dt><dd>True if internal replication information is stored in memory only.</dd></dl> +</li> +</ul> +<a name="setReplicationManagerAckPolicy(com.sleepycat.db.ReplicationManagerAckPolicy)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setReplicationManagerAckPolicy</h4> +<pre>public void setReplicationManagerAckPolicy(<a href="../../../com/sleepycat/db/ReplicationManagerAckPolicy.html" title="class in com.sleepycat.db">ReplicationManagerAckPolicy</a> repmgrAckPolicy)</pre> +<div class="block">Set the network Ack policy used by the replication manager. + <p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>repmgrAckPolicy</code> - The network Ack policy used by the replication manager.</dd></dl> +</li> +</ul> +<a name="getReplicationManagerAckPolicy()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getReplicationManagerAckPolicy</h4> +<pre>public <a href="../../../com/sleepycat/db/ReplicationManagerAckPolicy.html" title="class in com.sleepycat.db">ReplicationManagerAckPolicy</a> getReplicationManagerAckPolicy()</pre> +<div class="block">Get the network Ack policy used by the replication manager. + <p></div> +<dl><dt><span class="strong">Returns:</span></dt><dd>The network Ack policy used by the replication manager.</dd></dl> +</li> +</ul> +<a name="setReplicationManagerIncomingQueueMax(long)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setReplicationManagerIncomingQueueMax</h4> +<pre>public void setReplicationManagerIncomingQueueMax(long repmgrIncomingQueueMax)</pre> +<div class="block">Set the maximum amount of dynamic memory used by the Replication Manager + incoming queue. + <p> + By default, the Replication Manager incoming queue size has a limit of 100MB. + If zero is specified, then the Replication Manager incoming queue size is + limited by available heap memory. + <p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>repmgrIncomingQueueMax</code> - The maximum amount of dynamic memory used by the Replication Manager incoming queue.</dd></dl> +</li> +</ul> +<a name="getReplicationManagerIncomingQueueMax()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getReplicationManagerIncomingQueueMax</h4> +<pre>public long getReplicationManagerIncomingQueueMax()</pre> +<div class="block">Get the maximum amount of dynamic memory used by the Replication Manager + incoming queue. + <p></div> +<dl><dt><span class="strong">Returns:</span></dt><dd>The maximum amount of dynamic memory used by the Replication Manager incoming queue.</dd></dl> +</li> +</ul> +<a name="addReplicationManagerSite(com.sleepycat.db.ReplicationManagerSiteConfig)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>addReplicationManagerSite</h4> +<pre>public void addReplicationManagerSite(<a href="../../../com/sleepycat/db/ReplicationManagerSiteConfig.html" title="class in com.sleepycat.db">ReplicationManagerSiteConfig</a> repmgrSiteConfig)</pre> +<div class="block">Configure a site in a replication group. This could be called more than once, to set local site and remote sites. - <p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>repmgrSiteConfig</CODE> - The configuration of a site site</DL> -</DD> -</DL> -<HR> - -<A NAME="setLockPartitions(int)"><!-- --></A><H3> -setLockPartitions</H3> -<PRE> -public void <B>setLockPartitions</B>(int partitions)</PRE> -<DL> -<DD>Set the number of lock table partitions in the Berkeley DB environment. -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -</DL> -</DD> -</DL> -<HR> - -<A NAME="getLockPartitions()"><!-- --></A><H3> -getLockPartitions</H3> -<PRE> -public int <B>getLockPartitions</B>()</PRE> -<DL> -<DD>Returns the number of lock table partitions in the Berkeley DB environment. -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -</DL> -</DD> -</DL> -<HR> - -<A NAME="setMaxLocks(int)"><!-- --></A><H3> -setMaxLocks</H3> -<PRE> -public void <B>setMaxLocks</B>(int maxLocks)</PRE> -<DL> -<DD>Set the maximum number of locks supported by the database + <p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>repmgrSiteConfig</code> - The configuration of a site site</dd></dl> +</li> +</ul> +<a name="setLockPartitions(int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setLockPartitions</h4> +<pre>public void setLockPartitions(int partitions)</pre> +<div class="block">Set the number of lock table partitions in the Berkeley DB environment.</div> +</li> +</ul> +<a name="getLockPartitions()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getLockPartitions</h4> +<pre>public int getLockPartitions()</pre> +<div class="block">Returns the number of lock table partitions in the Berkeley DB environment.</div> +</li> +</ul> +<a name="setMaxLocks(int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setMaxLocks</h4> +<pre>public void setMaxLocks(int maxLocks)</pre> +<div class="block">Set the maximum number of locks supported by the database environment. <p> This value is used during environment creation to estimate how much @@ -4314,92 +3679,70 @@ opened, it will silently overrule configuration done before that time. <p> This method configures a database environment, including all threads of control accessing the database environment, not only the operations -performed using a specified <A HREF="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><CODE>Environment</CODE></A> handle. +performed using a specified <a href="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><code>Environment</code></a> handle. <p> This method may not be called after the environment has been opened. If joining an existing database environment, any information specified to this method will be ignored. - <p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>maxLocks</CODE> - The maximum number of locks supported by the database environment.</DL> -</DD> -</DL> -<HR> - -<A NAME="getMaxLocks()"><!-- --></A><H3> -getMaxLocks</H3> -<PRE> -public int <B>getMaxLocks</B>()</PRE> -<DL> -<DD>Return the maximum number of locks. + <p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>maxLocks</code> - The maximum number of locks supported by the database environment.</dd></dl> +</li> +</ul> +<a name="getMaxLocks()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getMaxLocks</h4> +<pre>public int getMaxLocks()</pre> +<div class="block">Return the maximum number of locks. <p> This method may be called at any time during the life of the application. - <p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> - -<DT><B>Returns:</B><DD>The maximum number of locks.</DL> -</DD> -</DL> -<HR> - -<A NAME="setLockTableSize(int)"><!-- --></A><H3> -setLockTableSize</H3> -<PRE> -public void <B>setLockTableSize</B>(int lockTableSize)</PRE> -<DL> -<DD>Set the size for the hash table that contains references to locks. It's + <p></div> +<dl><dt><span class="strong">Returns:</span></dt><dd>The maximum number of locks.</dd></dl> +</li> +</ul> +<a name="setLockTableSize(int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setLockTableSize</h4> +<pre>public void setLockTableSize(int lockTableSize)</pre> +<div class="block">Set the size for the hash table that contains references to locks. It's important to make this large enough so that there is not increased contention in the system as it grows. <p> This method may not be called after the environment has been opened. If joining an existing database environment, any information specified to this method will be ignored. - <p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>lockTableSize</CODE> - The size of the hash table to allocate.</DL> -</DD> -</DL> -<HR> - -<A NAME="getLockTableSize()"><!-- --></A><H3> -getLockTableSize</H3> -<PRE> -public int <B>getLockTableSize</B>()</PRE> -<DL> -<DD>Return the lock hash table size. + <p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>lockTableSize</code> - The size of the hash table to allocate.</dd></dl> +</li> +</ul> +<a name="getLockTableSize()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getLockTableSize</h4> +<pre>public int getLockTableSize()</pre> +<div class="block">Return the lock hash table size. <p> This method may be called at any time during the life of the application. - <p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> - -<DT><B>Returns:</B><DD>The lock hash table size.</DL> -</DD> -</DL> -<HR> - -<A NAME="setMaxLockers(int)"><!-- --></A><H3> -setMaxLockers</H3> -<PRE> -public void <B>setMaxLockers</B>(int maxLockers)</PRE> -<DL> -<DD>Set the maximum number of locking entities supported by the database + <p></div> +<dl><dt><span class="strong">Returns:</span></dt><dd>The lock hash table size.</dd></dl> +</li> +</ul> +<a name="setMaxLockers(int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setMaxLockers</h4> +<pre>public void setMaxLockers(int maxLockers)</pre> +<div class="block">Set the maximum number of locking entities supported by the database environment. <p> This value is used during environment creation to estimate how much @@ -4414,50 +3757,39 @@ opened, it will silently overrule configuration done before that time. <p> This method configures a database environment, including all threads of control accessing the database environment, not only the operations -performed using a specified <A HREF="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><CODE>Environment</CODE></A> handle. +performed using a specified <a href="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><code>Environment</code></a> handle. <p> This method may not be called after the environment has been opened. If joining an existing database environment, any information specified to this method will be ignored. - <p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>maxLockers</CODE> - The maximum number simultaneous locking entities supported by the - database environment.</DL> -</DD> -</DL> -<HR> - -<A NAME="getMaxLockers()"><!-- --></A><H3> -getMaxLockers</H3> -<PRE> -public int <B>getMaxLockers</B>()</PRE> -<DL> -<DD>Return the maximum number of lockers. + <p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>maxLockers</code> - The maximum number simultaneous locking entities supported by the + database environment.</dd></dl> +</li> +</ul> +<a name="getMaxLockers()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getMaxLockers</h4> +<pre>public int getMaxLockers()</pre> +<div class="block">Return the maximum number of lockers. <p> This method may be called at any time during the life of the application. -<p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> - -<DT><B>Returns:</B><DD>The maximum number of lockers.</DL> -</DD> -</DL> -<HR> - -<A NAME="setMaxLockObjects(int)"><!-- --></A><H3> -setMaxLockObjects</H3> -<PRE> -public void <B>setMaxLockObjects</B>(int maxLockObjects)</PRE> -<DL> -<DD>Set the maximum number of locked objects supported by the database +<p></div> +<dl><dt><span class="strong">Returns:</span></dt><dd>The maximum number of lockers.</dd></dl> +</li> +</ul> +<a name="setMaxLockObjects(int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setMaxLockObjects</h4> +<pre>public void setMaxLockObjects(int maxLockObjects)</pre> +<div class="block">Set the maximum number of locked objects supported by the database environment. <p> This value is used during environment creation to estimate how much @@ -4472,56 +3804,45 @@ opened, it will silently overrule configuration done before that time. <p> This method configures a database environment, including all threads of control accessing the database environment, not only the operations -performed using a specified <A HREF="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><CODE>Environment</CODE></A> handle. +performed using a specified <a href="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><code>Environment</code></a> handle. <p> This method may not be called after the environment has been opened. If joining an existing database environment, any information specified to this method will be ignored. - <p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>maxLockObjects</CODE> - The maximum number of locked objects supported by the database - environment.</DL> -</DD> -</DL> -<HR> - -<A NAME="getMaxLockObjects()"><!-- --></A><H3> -getMaxLockObjects</H3> -<PRE> -public int <B>getMaxLockObjects</B>()</PRE> -<DL> -<DD>Return the maximum number of locked objects. + <p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>maxLockObjects</code> - The maximum number of locked objects supported by the database + environment.</dd></dl> +</li> +</ul> +<a name="getMaxLockObjects()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getMaxLockObjects</h4> +<pre>public int getMaxLockObjects()</pre> +<div class="block">Return the maximum number of locked objects. <p> This method may be called at any time during the life of the application. -<p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> - -<DT><B>Returns:</B><DD>The maximum number of locked objects.</DL> -</DD> -</DL> -<HR> - -<A NAME="setMaxLogFileSize(int)"><!-- --></A><H3> -setMaxLogFileSize</H3> -<PRE> -public void <B>setMaxLogFileSize</B>(int maxLogFileSize)</PRE> -<DL> -<DD>Set the maximum size of a single file in the log, in bytes. +<p></div> +<dl><dt><span class="strong">Returns:</span></dt><dd>The maximum number of locked objects.</dd></dl> +</li> +</ul> +<a name="setMaxLogFileSize(int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setMaxLogFileSize</h4> +<pre>public void setMaxLogFileSize(int maxLogFileSize)</pre> +<div class="block">Set the maximum size of a single file in the log, in bytes. <p> By default, or if the maxLogFileSize parameter is set to 0, a size of 10MB is used. If no size is specified by the application, the size last specified for the database region will be used, or if no database region previously existed, the default will be used. - Because <A HREF="../../../com/sleepycat/db/LogSequenceNumber.html" title="class in com.sleepycat.db"><CODE>LogSequenceNumber</CODE></A> file offsets are unsigned four-byte + Because <a href="../../../com/sleepycat/db/LogSequenceNumber.html" title="class in com.sleepycat.db"><code>LogSequenceNumber</code></a> file offsets are unsigned four-byte values, the set value may not be larger than the maximum unsigned four-byte value. <p> @@ -4533,46 +3854,35 @@ opened, it will silently overrule configuration done before that time. <p> This method configures a database environment, including all threads of control accessing the database environment, not only the operations -performed using a specified <A HREF="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><CODE>Environment</CODE></A> handle. +performed using a specified <a href="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><code>Environment</code></a> handle. <p> This method may be called at any time during the life of the application. - <p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>maxLogFileSize</CODE> - The maximum size of a single file in the log, in bytes.</DL> -</DD> -</DL> -<HR> - -<A NAME="getMaxLogFileSize()"><!-- --></A><H3> -getMaxLogFileSize</H3> -<PRE> -public int <B>getMaxLogFileSize</B>()</PRE> -<DL> -<DD>Return the maximum size of a single file in the log, in bytes. + <p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>maxLogFileSize</code> - The maximum size of a single file in the log, in bytes.</dd></dl> +</li> +</ul> +<a name="getMaxLogFileSize()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getMaxLogFileSize</h4> +<pre>public int getMaxLogFileSize()</pre> +<div class="block">Return the maximum size of a single file in the log, in bytes. <p> This method may be called at any time during the life of the application. -<p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> - -<DT><B>Returns:</B><DD>The maximum size of a single file in the log, in bytes.</DL> -</DD> -</DL> -<HR> - -<A NAME="setLogBufferSize(int)"><!-- --></A><H3> -setLogBufferSize</H3> -<PRE> -public void <B>setLogBufferSize</B>(int logBufferSize)</PRE> -<DL> -<DD>Set the size of the in-memory log buffer, in bytes. +<p></div> +<dl><dt><span class="strong">Returns:</span></dt><dd>The maximum size of a single file in the log, in bytes.</dd></dl> +</li> +</ul> +<a name="setLogBufferSize(int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setLogBufferSize</h4> +<pre>public void setLogBufferSize(int logBufferSize)</pre> +<div class="block">Set the size of the in-memory log buffer, in bytes. <p> Log information is stored in-memory until the storage space fills up or transaction commit forces the information to be flushed to stable @@ -4590,49 +3900,38 @@ opened, it will silently overrule configuration done before that time. <p> This method configures a database environment, including all threads of control accessing the database environment, not only the operations -performed using a specified <A HREF="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><CODE>Environment</CODE></A> handle. +performed using a specified <a href="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><code>Environment</code></a> handle. <p> This method may not be called after the environment has been opened. If joining an existing database environment, any information specified to this method will be ignored. - <p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>logBufferSize</CODE> - The size of the in-memory log buffer, in bytes.</DL> -</DD> -</DL> -<HR> - -<A NAME="getLogBufferSize()"><!-- --></A><H3> -getLogBufferSize</H3> -<PRE> -public int <B>getLogBufferSize</B>()</PRE> -<DL> -<DD>Return the size of the in-memory log buffer, in bytes. + <p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>logBufferSize</code> - The size of the in-memory log buffer, in bytes.</dd></dl> +</li> +</ul> +<a name="getLogBufferSize()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getLogBufferSize</h4> +<pre>public int getLogBufferSize()</pre> +<div class="block">Return the size of the in-memory log buffer, in bytes. <p> This method may be called at any time during the life of the application. -<p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> - -<DT><B>Returns:</B><DD>The size of the in-memory log buffer, in bytes.</DL> -</DD> -</DL> -<HR> - -<A NAME="setLogDirectory(java.io.File)"><!-- --></A><H3> -setLogDirectory</H3> -<PRE> -public void <B>setLogDirectory</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</A> logDirectory)</PRE> -<DL> -<DD>Set the path of a directory to be used as the location of logging files. +<p></div> +<dl><dt><span class="strong">Returns:</span></dt><dd>The size of the in-memory log buffer, in bytes.</dd></dl> +</li> +</ul> +<a name="setLogDirectory(java.io.File)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setLogDirectory</h4> +<pre>public void setLogDirectory(java.io.File logDirectory)</pre> +<div class="block">Set the path of a directory to be used as the location of logging files. <p> Log files created by the Log Manager subsystem will be created in this directory. If no logging directory is specified, log files are @@ -4649,52 +3948,41 @@ Because the DB_CONFIG file is read when the database environment is opened, it will silently overrule configuration done before that time. <p> This method configures only operations performed using a single a -<A HREF="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><CODE>Environment</CODE></A> handle, not an entire database environment. +<a href="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><code>Environment</code></a> handle, not an entire database environment. <p> This method may not be called after the environment has been opened. If joining an existing database environment, the information specified to this method must be consistent with the existing environment or corruption can occur. - <p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>logDirectory</CODE> - The directory used to store the logging files. + <p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>logDirectory</code> - The directory used to store the logging files. On Windows platforms, this argument will be interpreted as a UTF-8 -string, which is equivalent to ASCII for Latin characters.</DL> -</DD> -</DL> -<HR> - -<A NAME="getLogDirectory()"><!-- --></A><H3> -getLogDirectory</H3> -<PRE> -public <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</A> <B>getLogDirectory</B>()</PRE> -<DL> -<DD>Return the path of a directory to be used as the location of logging files. +string, which is equivalent to ASCII for Latin characters.</dd></dl> +</li> +</ul> +<a name="getLogDirectory()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getLogDirectory</h4> +<pre>public java.io.File getLogDirectory()</pre> +<div class="block">Return the path of a directory to be used as the location of logging files. <p> This method may be called at any time during the life of the application. -<p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> - -<DT><B>Returns:</B><DD>The path of a directory to be used as the location of logging files.</DL> -</DD> -</DL> -<HR> - -<A NAME="setLogFileMode(int)"><!-- --></A><H3> -setLogFileMode</H3> -<PRE> -public void <B>setLogFileMode</B>(int logFileMode)</PRE> -<DL> -<DD>Set the absolute file mode for created log files. This method is +<p></div> +<dl><dt><span class="strong">Returns:</span></dt><dd>The path of a directory to be used as the location of logging files.</dd></dl> +</li> +</ul> +<a name="setLogFileMode(int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setLogFileMode</h4> +<pre>public void setLogFileMode(int logFileMode)</pre> +<div class="block">Set the absolute file mode for created log files. This method is <b>only</b> useful for the rare Berkeley DB application that does not control its umask value. <p> @@ -4705,43 +3993,32 @@ public void <B>setLogFileMode</B>(int logFileMode)</PRE> its umask to a value preventing other processes in the application suite from reading the log files it creates. In this rare case, this method can be used to set the mode of created log files to an absolute value. - <p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>logFileMode</CODE> - The absolute mode of the created log file.</DL> -</DD> -</DL> -<HR> - -<A NAME="getLogFileMode()"><!-- --></A><H3> -getLogFileMode</H3> -<PRE> -public int <B>getLogFileMode</B>()</PRE> -<DL> -<DD>Return the absolute file mode for created log files. + <p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>logFileMode</code> - The absolute mode of the created log file.</dd></dl> +</li> +</ul> +<a name="getLogFileMode()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getLogFileMode</h4> +<pre>public int getLogFileMode()</pre> +<div class="block">Return the absolute file mode for created log files. <p> This method may be called at any time during the life of the application. - <p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> - -<DT><B>Returns:</B><DD>The absolute file mode for created log files.</DL> -</DD> -</DL> -<HR> - -<A NAME="setLogRegionSize(int)"><!-- --></A><H3> -setLogRegionSize</H3> -<PRE> -public void <B>setLogRegionSize</B>(int logRegionSize)</PRE> -<DL> -<DD>Set the size of the underlying logging area of the database + <p></div> +<dl><dt><span class="strong">Returns:</span></dt><dd>The absolute file mode for created log files.</dd></dl> +</li> +</ul> +<a name="setLogRegionSize(int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setLogRegionSize</h4> +<pre>public void setLogRegionSize(int logRegionSize)</pre> +<div class="block">Set the size of the underlying logging area of the database environment, in bytes. <p> By default, or if the value is set to 0, the default size is 60KB. @@ -4757,295 +4034,223 @@ opened, it will silently overrule configuration done before that time. <p> This method configures a database environment, including all threads of control accessing the database environment, not only the operations -performed using a specified <A HREF="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><CODE>Environment</CODE></A> handle. +performed using a specified <a href="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><code>Environment</code></a> handle. <p> This method may not be called after the environment has been opened. If joining an existing database environment, any information specified to this method will be ignored. - <p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>logRegionSize</CODE> - The size of the logging area in the database environment, in bytes.</DL> -</DD> -</DL> -<HR> - -<A NAME="getLogRegionSize()"><!-- --></A><H3> -getLogRegionSize</H3> -<PRE> -public int <B>getLogRegionSize</B>()</PRE> -<DL> -<DD>Return the size of the underlying logging subsystem region. + <p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>logRegionSize</code> - The size of the logging area in the database environment, in bytes.</dd></dl> +</li> +</ul> +<a name="getLogRegionSize()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getLogRegionSize</h4> +<pre>public int getLogRegionSize()</pre> +<div class="block">Return the size of the underlying logging subsystem region. <p> This method may be called at any time during the life of the application. -<p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> - -<DT><B>Returns:</B><DD>The size of the underlying logging subsystem region.</DL> -</DD> -</DL> -<HR> - -<A NAME="setMaxOpenFiles(int)"><!-- --></A><H3> -setMaxOpenFiles</H3> -<PRE> -public void <B>setMaxOpenFiles</B>(int maxOpenFiles)</PRE> -<DL> -<DD>Limit the number of file descriptors the library will open concurrently +<p></div> +<dl><dt><span class="strong">Returns:</span></dt><dd>The size of the underlying logging subsystem region.</dd></dl> +</li> +</ul> +<a name="setMaxOpenFiles(int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setMaxOpenFiles</h4> +<pre>public void setMaxOpenFiles(int maxOpenFiles)</pre> +<div class="block">Limit the number of file descriptors the library will open concurrently when flushing dirty pages from the cache. - <p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>maxOpenFiles</CODE> - The maximum number of file descriptors that may be concurrently opened - by the library when flushing dirty pages from the cache.</DL> -</DD> -</DL> -<HR> - -<A NAME="getMaxOpenFiles()"><!-- --></A><H3> -getMaxOpenFiles</H3> -<PRE> -public int <B>getMaxOpenFiles</B>()</PRE> -<DL> -<DD>Return the maximum number of file descriptors that will be opened concurrently.. + <p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>maxOpenFiles</code> - The maximum number of file descriptors that may be concurrently opened + by the library when flushing dirty pages from the cache.</dd></dl> +</li> +</ul> +<a name="getMaxOpenFiles()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getMaxOpenFiles</h4> +<pre>public int getMaxOpenFiles()</pre> +<div class="block">Return the maximum number of file descriptors that will be opened concurrently.. <p> This method may be called at any time during the life of the application. -<p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> - -<DT><B>Returns:</B><DD>The maximum number of file descriptors that will be opened concurrently..</DL> -</DD> -</DL> -<HR> - -<A NAME="setMaxWrite(int, long)"><!-- --></A><H3> -setMaxWrite</H3> -<PRE> -public void <B>setMaxWrite</B>(int maxWrite, - long maxWriteSleep)</PRE> -<DL> -<DD>Limit the number of sequential write operations scheduled by the +<p></div> +<dl><dt><span class="strong">Returns:</span></dt><dd>The maximum number of file descriptors that will be opened concurrently..</dd></dl> +</li> +</ul> +<a name="setMaxWrite(int, long)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setMaxWrite</h4> +<pre>public void setMaxWrite(int maxWrite, + long maxWriteSleep)</pre> +<div class="block">Limit the number of sequential write operations scheduled by the library when flushing dirty pages from the cache. - <p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>maxWrite</CODE> - The maximum number of sequential write operations scheduled by the - library when flushing dirty pages from the cache.<DD><CODE>maxWriteSleep</CODE> - The number of microseconds the thread of control should pause before - scheduling further write operations.</DL> -</DD> -</DL> -<HR> - -<A NAME="getMaxWrite()"><!-- --></A><H3> -getMaxWrite</H3> -<PRE> -public int <B>getMaxWrite</B>()</PRE> -<DL> -<DD>Return the maximum number of sequential write operations. + <p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>maxWrite</code> - The maximum number of sequential write operations scheduled by the + library when flushing dirty pages from the cache.</dd><dd><code>maxWriteSleep</code> - The number of microseconds the thread of control should pause before + scheduling further write operations.</dd></dl> +</li> +</ul> +<a name="getMaxWrite()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getMaxWrite</h4> +<pre>public int getMaxWrite()</pre> +<div class="block">Return the maximum number of sequential write operations. <p> This method may be called at any time during the life of the application. -<p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> - -<DT><B>Returns:</B><DD>The maximum number of sequential write operations.</DL> -</DD> -</DL> -<HR> - -<A NAME="getMaxWriteSleep()"><!-- --></A><H3> -getMaxWriteSleep</H3> -<PRE> -public long <B>getMaxWriteSleep</B>()</PRE> -<DL> -<DD>Return the microseconds to pause before scheduling further write operations. +<p></div> +<dl><dt><span class="strong">Returns:</span></dt><dd>The maximum number of sequential write operations.</dd></dl> +</li> +</ul> +<a name="getMaxWriteSleep()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getMaxWriteSleep</h4> +<pre>public long getMaxWriteSleep()</pre> +<div class="block">Return the microseconds to pause before scheduling further write operations. <p> This method may be called at any time during the life of the application. -<p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> - -<DT><B>Returns:</B><DD>The microseconds to pause before scheduling further write operations.</DL> -</DD> -</DL> -<HR> - -<A NAME="setMessageHandler(com.sleepycat.db.MessageHandler)"><!-- --></A><H3> -setMessageHandler</H3> -<PRE> -public void <B>setMessageHandler</B>(<A HREF="../../../com/sleepycat/db/MessageHandler.html" title="interface in com.sleepycat.db">MessageHandler</A> messageHandler)</PRE> -<DL> -<DD>Set a function to be called with an informational message. +<p></div> +<dl><dt><span class="strong">Returns:</span></dt><dd>The microseconds to pause before scheduling further write operations.</dd></dl> +</li> +</ul> +<a name="setMessageHandler(com.sleepycat.db.MessageHandler)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setMessageHandler</h4> +<pre>public void setMessageHandler(<a href="../../../com/sleepycat/db/MessageHandler.html" title="interface in com.sleepycat.db">MessageHandler</a> messageHandler)</pre> +<div class="block">Set a function to be called with an informational message. <p> There are interfaces in the Berkeley DB library which either directly output informational messages or statistical information, or configure the library to output such messages when performing other operations, -<A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setVerboseDeadlock(boolean)"><CODE>EnvironmentConfig.setVerboseDeadlock</CODE></A> for example. +<a href="../../../com/sleepycat/db/EnvironmentConfig.html#setVerboseDeadlock(boolean)"><code>EnvironmentConfig.setVerboseDeadlock</code></a> for example. <p> -The <A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setMessageHandler(com.sleepycat.db.MessageHandler)"><CODE>EnvironmentConfig.setMessageHandler</CODE></A> and -<A HREF="../../../com/sleepycat/db/DatabaseConfig.html#setMessageHandler(com.sleepycat.db.MessageHandler)"><CODE>DatabaseConfig.setMessageHandler</CODE></A> methods are used to display +The <a href="../../../com/sleepycat/db/EnvironmentConfig.html#setMessageHandler(com.sleepycat.db.MessageHandler)"><code>EnvironmentConfig.setMessageHandler</code></a> and +<a href="../../../com/sleepycat/db/DatabaseConfig.html#setMessageHandler(com.sleepycat.db.MessageHandler)"><code>DatabaseConfig.setMessageHandler</code></a> methods are used to display these messages for the application. <p> Setting messageHandler to null unconfigures the interface. <p> -Alternatively, you can use <A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setMessageStream(java.io.OutputStream)"><CODE>EnvironmentConfig.setMessageStream</CODE></A> -and <A HREF="../../../com/sleepycat/db/DatabaseConfig.html#setMessageStream(java.io.OutputStream)"><CODE>DatabaseConfig.setMessageStream</CODE></A> to send the additional +Alternatively, you can use <a href="../../../com/sleepycat/db/EnvironmentConfig.html#setMessageStream(java.io.OutputStream)"><code>EnvironmentConfig.setMessageStream</code></a> +and <a href="../../../com/sleepycat/db/DatabaseConfig.html#setMessageStream(java.io.OutputStream)"><code>DatabaseConfig.setMessageStream</code></a> to send the additional information directly to an output streams. You should not mix these approaches. <p> This method may be called at any time during the life of the application. -<p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>messageHandler</CODE> - The application-specified function for informational messages.</DL> -</DD> -</DL> -<HR> - -<A NAME="getMessageHandler()"><!-- --></A><H3> -getMessageHandler</H3> -<PRE> -public <A HREF="../../../com/sleepycat/db/MessageHandler.html" title="interface in com.sleepycat.db">MessageHandler</A> <B>getMessageHandler</B>()</PRE> -<DL> -<DD>Return the function to be called with an informational message. +<p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>messageHandler</code> - The application-specified function for informational messages.</dd></dl> +</li> +</ul> +<a name="getMessageHandler()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getMessageHandler</h4> +<pre>public <a href="../../../com/sleepycat/db/MessageHandler.html" title="interface in com.sleepycat.db">MessageHandler</a> getMessageHandler()</pre> +<div class="block">Return the function to be called with an informational message. <p> This method may be called at any time during the life of the application. -<p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> - -<DT><B>Returns:</B><DD>The function to be called with an informational message.</DL> -</DD> -</DL> -<HR> - -<A NAME="setMessageStream(java.io.OutputStream)"><!-- --></A><H3> -setMessageStream</H3> -<PRE> -public void <B>setMessageStream</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</A> messageStream)</PRE> -<DL> -<DD>Set an OutputStream for displaying informational messages. +<p></div> +<dl><dt><span class="strong">Returns:</span></dt><dd>The function to be called with an informational message.</dd></dl> +</li> +</ul> +<a name="setMessageStream(java.io.OutputStream)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setMessageStream</h4> +<pre>public void setMessageStream(java.io.OutputStream messageStream)</pre> +<div class="block">Set an OutputStream for displaying informational messages. <p> There are interfaces in the Berkeley DB library which either directly output informational messages or statistical information, or configure the library to output such messages when performing other operations, -<A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setVerboseDeadlock(boolean)"><CODE>EnvironmentConfig.setVerboseDeadlock</CODE></A> for example. +<a href="../../../com/sleepycat/db/EnvironmentConfig.html#setVerboseDeadlock(boolean)"><code>EnvironmentConfig.setVerboseDeadlock</code></a> for example. <p> -The <A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setMessageStream(java.io.OutputStream)"><CODE>EnvironmentConfig.setMessageStream</CODE></A> and -<A HREF="../../../com/sleepycat/db/DatabaseConfig.html#setMessageStream(java.io.OutputStream)"><CODE>DatabaseConfig.setMessageStream</CODE></A> methods are used to display +The <a href="../../../com/sleepycat/db/EnvironmentConfig.html#setMessageStream(java.io.OutputStream)"><code>EnvironmentConfig.setMessageStream</code></a> and +<a href="../../../com/sleepycat/db/DatabaseConfig.html#setMessageStream(java.io.OutputStream)"><code>DatabaseConfig.setMessageStream</code></a> methods are used to display these messages for the application. In this case, the message will include a trailing newline character. <p> Setting messageStream to null unconfigures the interface. <p> -Alternatively, you can use <A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setMessageHandler(com.sleepycat.db.MessageHandler)"><CODE>EnvironmentConfig.setMessageHandler</CODE></A> -and <A HREF="../../../com/sleepycat/db/DatabaseConfig.html#setMessageHandler(com.sleepycat.db.MessageHandler)"><CODE>DatabaseConfig.setMessageHandler</CODE></A> to capture the additional +Alternatively, you can use <a href="../../../com/sleepycat/db/EnvironmentConfig.html#setMessageHandler(com.sleepycat.db.MessageHandler)"><code>EnvironmentConfig.setMessageHandler</code></a> +and <a href="../../../com/sleepycat/db/DatabaseConfig.html#setMessageHandler(com.sleepycat.db.MessageHandler)"><code>DatabaseConfig.setMessageHandler</code></a> to capture the additional information in a way that does not use output streams. You should not mix these approaches. <p> This method may be called at any time during the life of the application. -<p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>messageStream</CODE> - The application-specified OutputStream for informational messages.</DL> -</DD> -</DL> -<HR> - -<A NAME="getMessageStream()"><!-- --></A><H3> -getMessageStream</H3> -<PRE> -public <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</A> <B>getMessageStream</B>()</PRE> -<DL> -<DD>Return the OutputStream for displaying informational messages. +<p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>messageStream</code> - The application-specified OutputStream for informational messages.</dd></dl> +</li> +</ul> +<a name="getMessageStream()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getMessageStream</h4> +<pre>public java.io.OutputStream getMessageStream()</pre> +<div class="block">Return the OutputStream for displaying informational messages. <p> This method may be called at any time during the life of the application. -<p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> - -<DT><B>Returns:</B><DD>The an OutputStream for displaying informational messages.</DL> -</DD> -</DL> -<HR> - -<A NAME="setMetadataDir(java.io.File)"><!-- --></A><H3> -setMetadataDir</H3> -<PRE> -public void <B>setMetadataDir</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</A> dir)</PRE> -<DL> -<DD>Set the path of a directory to be used as the location to store the - persistent metadata files. -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>dir</CODE> - The path of metadata directory.</DL> -</DD> -</DL> -<HR> - -<A NAME="getMetadataDir()"><!-- --></A><H3> -getMetadataDir</H3> -<PRE> -public <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</A> <B>getMetadataDir</B>()</PRE> -<DL> -<DD>Return the path of a directory to be used as the location to store the - persistent metadata. -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> - -<DT><B>Returns:</B><DD>The the path of metadata directory.</DL> -</DD> -</DL> -<HR> - -<A NAME="setMMapSize(long)"><!-- --></A><H3> -setMMapSize</H3> -<PRE> -public void <B>setMMapSize</B>(long mmapSize)</PRE> -<DL> -<DD>Set the maximum file size, in bytes, for a file to be mapped into +<p></div> +<dl><dt><span class="strong">Returns:</span></dt><dd>The an OutputStream for displaying informational messages.</dd></dl> +</li> +</ul> +<a name="setMetadataDir(java.io.File)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setMetadataDir</h4> +<pre>public void setMetadataDir(java.io.File dir)</pre> +<div class="block">Set the path of a directory to be used as the location to store the + persistent metadata files.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>dir</code> - The path of metadata directory.</dd></dl> +</li> +</ul> +<a name="getMetadataDir()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getMetadataDir</h4> +<pre>public java.io.File getMetadataDir()</pre> +<div class="block">Return the path of a directory to be used as the location to store the + persistent metadata.</div> +<dl><dt><span class="strong">Returns:</span></dt><dd>The the path of metadata directory.</dd></dl> +</li> +</ul> +<a name="setMMapSize(long)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setMMapSize</h4> +<pre>public void setMMapSize(long mmapSize)</pre> +<div class="block">Set the maximum file size, in bytes, for a file to be mapped into the process address space. <p> If no value is specified, it defaults to 10MB. @@ -5058,129 +4263,110 @@ public void <B>setMMapSize</B>(long mmapSize)</PRE> than page copying on many systems. However, it can cause resource starvation in the presence of limited virtual memory, and it can result in immense process sizes in the presence of large databases. - <p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>mmapSize</CODE> - The maximum file size, in bytes, for a file to be mapped into the + <p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>mmapSize</code> - The maximum file size, in bytes, for a file to be mapped into the process address space. <p> This method configures only operations performed using a single a -<A HREF="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><CODE>Environment</CODE></A> handle, not an entire database environment. - <p> - This method may be called at any time during the life of the application.</DL> -</DD> -</DL> -<HR> - -<A NAME="getMMapSize()"><!-- --></A><H3> -getMMapSize</H3> -<PRE> -public long <B>getMMapSize</B>()</PRE> -<DL> -<DD>Return the maximum file size, in bytes, for a file to be mapped into +<a href="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><code>Environment</code></a> handle, not an entire database environment. + <p> + This method may be called at any time during the life of the application.</dd></dl> +</li> +</ul> +<a name="getMMapSize()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getMMapSize</h4> +<pre>public long getMMapSize()</pre> +<div class="block">Return the maximum file size, in bytes, for a file to be mapped into the process address space. + <p></div> +<dl><dt><span class="strong">Returns:</span></dt><dd>The maximum file size, in bytes, for a file to be mapped into the + process address space.</dd></dl> +</li> +</ul> +<a name="setMsgfile(java.io.File)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setMsgfile</h4> +<pre>public void setMsgfile(java.io.File file)</pre> +<div class="block">Sets the path of a file to store statistical information. <p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> - -<DT><B>Returns:</B><DD>The maximum file size, in bytes, for a file to be mapped into the - process address space.</DL> -</DD> -</DL> -<HR> - -<A NAME="setCachePageSize(int)"><!-- --></A><H3> -setCachePageSize</H3> -<PRE> -public void <B>setCachePageSize</B>(int mpPageSize)</PRE> -<DL> -<DD>Sets the page size used to allocate the hash table and the number of mutexes + This method may be called at any time during the life of the application. + <p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>file</code> - The path of a file to store statistical information.</dd></dl> +</li> +</ul> +<a name="setCachePageSize(int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setCachePageSize</h4> +<pre>public void setCachePageSize(int mpPageSize)</pre> +<div class="block">Sets the page size used to allocate the hash table and the number of mutexes expected to be needed by the buffer pool. <p> This method may be called only before the environment is opened. -<p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>mpPageSize</CODE> - The expected page size to use. Generally, it is set to the expected average -page size for all the data pages that are in the buffer pool.</DL> -</DD> -</DL> -<HR> - -<A NAME="getCachePageSize()"><!-- --></A><H3> -getCachePageSize</H3> -<PRE> -public int <B>getCachePageSize</B>()</PRE> -<DL> -<DD>Returns the environment's current page size setting. -<p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> - -<DT><B>Returns:</B><DD>The current setting for the environment's expected page size use.</DL> -</DD> -</DL> -<HR> - -<A NAME="setCacheTableSize(int)"><!-- --></A><H3> -setCacheTableSize</H3> -<PRE> -public void <B>setCacheTableSize</B>(int mpTableSize)</PRE> -<DL> -<DD>Overrides the calculated hash table size. +<p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>mpPageSize</code> - The expected page size to use. Generally, it is set to the expected average +page size for all the data pages that are in the buffer pool.</dd></dl> +</li> +</ul> +<a name="getCachePageSize()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getCachePageSize</h4> +<pre>public int getCachePageSize()</pre> +<div class="block">Returns the environment's current page size setting. +<p></div> +<dl><dt><span class="strong">Returns:</span></dt><dd>The current setting for the environment's expected page size use.</dd></dl> +</li> +</ul> +<a name="setCacheTableSize(int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setCacheTableSize</h4> +<pre>public void setCacheTableSize(int mpTableSize)</pre> +<div class="block">Overrides the calculated hash table size. <p> The table size is then adjusted to a nearby prime number to enhance the hashing algorithm. <p> This method may be called only before the environment is opened. -<p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>mpTableSize</CODE> - Specifies the size of the buffer pool hash table, which is then internally -adjusted to a nearby prime number.</DL> -</DD> -</DL> -<HR> - -<A NAME="getCacheTableSize()"><!-- --></A><H3> -getCacheTableSize</H3> -<PRE> -public int <B>getCacheTableSize</B>()</PRE> -<DL> -<DD>Returns the environment's current table size setting. -<p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> - -<DT><B>Returns:</B><DD>The current setting for the environment's table size.</DL> -</DD> -</DL> -<HR> - -<A NAME="setMode(int)"><!-- --></A><H3> -setMode</H3> -<PRE> -public void <B>setMode</B>(int mode)</PRE> -<DL> -<DD>Configure the database environment to use a specific mode when +<p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>mpTableSize</code> - Specifies the size of the buffer pool hash table, which is then internally +adjusted to a nearby prime number.</dd></dl> +</li> +</ul> +<a name="getCacheTableSize()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getCacheTableSize</h4> +<pre>public int getCacheTableSize()</pre> +<div class="block">Returns the environment's current table size setting. +<p></div> +<dl><dt><span class="strong">Returns:</span></dt><dd>The current setting for the environment's table size.</dd></dl> +</li> +</ul> +<a name="setMode(int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setMode</h4> +<pre>public void setMode(int mode)</pre> +<div class="block">Configure the database environment to use a specific mode when creating underlying files and shared memory segments. <p> On UNIX systems or in POSIX environments, files created in the @@ -5197,244 +4383,189 @@ public void <B>setMode</B>(int mode)</PRE> Created files are owned by the process owner; the group ownership of created files is based on the system and directory defaults, and is not further specified by the library. - <p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>mode</CODE> - The mode to use when creating underlying files and shared memory - segments.</DL> -</DD> -</DL> -<HR> - -<A NAME="getMode()"><!-- --></A><H3> -getMode</H3> -<PRE> -public long <B>getMode</B>()</PRE> -<DL> -<DD>Return the mode to use when creating underlying files and shared + <p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>mode</code> - The mode to use when creating underlying files and shared memory + segments.</dd></dl> +</li> +</ul> +<a name="getMode()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getMode</h4> +<pre>public long getMode()</pre> +<div class="block">Return the mode to use when creating underlying files and shared memory segments. <p> This method may be called at any time during the life of the application. -<p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> - -<DT><B>Returns:</B><DD>The mode to use when creating underlying files and shared - memory segments.</DL> -</DD> -</DL> -<HR> - -<A NAME="setMultiversion(boolean)"><!-- --></A><H3> -setMultiversion</H3> -<PRE> -public void <B>setMultiversion</B>(boolean multiversion)</PRE> -<DL> -<DD>Configure the database environment to open all databases that are not +<p></div> +<dl><dt><span class="strong">Returns:</span></dt><dd>The mode to use when creating underlying files and shared + memory segments.</dd></dl> +</li> +</ul> +<a name="setMultiversion(boolean)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setMultiversion</h4> +<pre>public void setMultiversion(boolean multiversion)</pre> +<div class="block">Configure the database environment to open all databases that are not using the queue access method for multiversion concurrency control. - See <A HREF="../../../com/sleepycat/db/DatabaseConfig.html#setMultiversion(boolean)"><CODE>DatabaseConfig.setMultiversion(boolean)</CODE></A> for more information. + See <a href="../../../com/sleepycat/db/DatabaseConfig.html#setMultiversion(boolean)"><code>DatabaseConfig.setMultiversion(boolean)</code></a> for more information. <p> This method may be called at any time during the life of the application. - <p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>multiversion</CODE> - If true, all databases that are not using the queue access method will be - opened for multiversion concurrency control.</DL> -</DD> -</DL> -<HR> - -<A NAME="getMultiversion()"><!-- --></A><H3> -getMultiversion</H3> -<PRE> -public boolean <B>getMultiversion</B>()</PRE> -<DL> -<DD>Return true if the handle is configured to open all databases for multiversion + <p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>multiversion</code> - If true, all databases that are not using the queue access method will be + opened for multiversion concurrency control.</dd></dl> +</li> +</ul> +<a name="getMultiversion()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getMultiversion</h4> +<pre>public boolean getMultiversion()</pre> +<div class="block">Return true if the handle is configured to open all databases for multiversion concurrency control. <p> This method may be called at any time during the life of the application. -<p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> - -<DT><B>Returns:</B><DD>True if the handle is configured to open all databases for multiversion - concurrency control.</DL> -</DD> -</DL> -<HR> - -<A NAME="setNoLocking(boolean)"><!-- --></A><H3> -setNoLocking</H3> -<PRE> -public void <B>setNoLocking</B>(boolean noLocking)</PRE> -<DL> -<DD>Configure the system to grant all requested mutual exclusion mutexes +<p></div> +<dl><dt><span class="strong">Returns:</span></dt><dd>True if the handle is configured to open all databases for multiversion + concurrency control.</dd></dl> +</li> +</ul> +<a name="setNoLocking(boolean)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setNoLocking</h4> +<pre>public void setNoLocking(boolean noLocking)</pre> +<div class="block">Configure the system to grant all requested mutual exclusion mutexes and database locks without regard for their actual availability. <p> This functionality should never be used for purposes other than debugging. <p> - This method only affects the specified <A HREF="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><CODE>Environment</CODE></A> handle (and + This method only affects the specified <a href="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><code>Environment</code></a> handle (and any other library handles opened within the scope of that handle). <p> This method may be called at any time during the life of the application. - <p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>noLocking</CODE> - If true, configure the system to grant all requested mutual exclusion - mutexes and database locks without regard for their actual availability.</DL> -</DD> -</DL> -<HR> - -<A NAME="getNoLocking()"><!-- --></A><H3> -getNoLocking</H3> -<PRE> -public boolean <B>getNoLocking</B>()</PRE> -<DL> -<DD>Return true if the system has been configured to grant all requested mutual + <p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>noLocking</code> - If true, configure the system to grant all requested mutual exclusion + mutexes and database locks without regard for their actual availability.</dd></dl> +</li> +</ul> +<a name="getNoLocking()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getNoLocking</h4> +<pre>public boolean getNoLocking()</pre> +<div class="block">Return true if the system has been configured to grant all requested mutual exclusion mutexes and database locks without regard for their actual availability. <p> This method may be called at any time during the life of the application. -<p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> - -<DT><B>Returns:</B><DD>True if the system has been configured to grant all requested mutual +<p></div> +<dl><dt><span class="strong">Returns:</span></dt><dd>True if the system has been configured to grant all requested mutual exclusion mutexes and database locks without regard for their actual - availability.</DL> -</DD> -</DL> -<HR> - -<A NAME="setNoMMap(boolean)"><!-- --></A><H3> -setNoMMap</H3> -<PRE> -public void <B>setNoMMap</B>(boolean noMMap)</PRE> -<DL> -<DD>Configure the system to copy read-only database files into the local + availability.</dd></dl> +</li> +</ul> +<a name="setNoMMap(boolean)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setNoMMap</h4> +<pre>public void setNoMMap(boolean noMMap)</pre> +<div class="block">Configure the system to copy read-only database files into the local cache instead of potentially mapping them into process memory. <p> - This method only affects the specified <A HREF="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><CODE>Environment</CODE></A> handle (and + This method only affects the specified <a href="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><code>Environment</code></a> handle (and any other library handles opened within the scope of that handle). -For consistent behavior across the environment, all <A HREF="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><CODE>Environment</CODE></A> +For consistent behavior across the environment, all <a href="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><code>Environment</code></a> handles opened in the database environment must either call this method or the configuration should be specified in the database environment's DB_CONFIG configuration file. <p> This method may be called at any time during the life of the application. - <p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>noMMap</CODE> - If true, configure the system to copy read-only database files into - the local cache instead of potentially mapping them into process memory.</DL> -</DD> -</DL> -<HR> - -<A NAME="getNoMMap()"><!-- --></A><H3> -getNoMMap</H3> -<PRE> -public boolean <B>getNoMMap</B>()</PRE> -<DL> -<DD>Return true if the system has been configured to copy read-only database files + <p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>noMMap</code> - If true, configure the system to copy read-only database files into + the local cache instead of potentially mapping them into process memory.</dd></dl> +</li> +</ul> +<a name="getNoMMap()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getNoMMap</h4> +<pre>public boolean getNoMMap()</pre> +<div class="block">Return true if the system has been configured to copy read-only database files into the local cache instead of potentially mapping them into process memory. <p> This method may be called at any time during the life of the application. -<p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> - -<DT><B>Returns:</B><DD>True if the system has been configured to copy read-only database files +<p></div> +<dl><dt><span class="strong">Returns:</span></dt><dd>True if the system has been configured to copy read-only database files into the local cache instead of potentially mapping them into process - memory.</DL> -</DD> -</DL> -<HR> - -<A NAME="setNoPanic(boolean)"><!-- --></A><H3> -setNoPanic</H3> -<PRE> -public void <B>setNoPanic</B>(boolean noPanic)</PRE> -<DL> -<DD>Configure the system to ignore any panic state in the database + memory.</dd></dl> +</li> +</ul> +<a name="setNoPanic(boolean)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setNoPanic</h4> +<pre>public void setNoPanic(boolean noPanic)</pre> +<div class="block">Configure the system to ignore any panic state in the database environment. <p> Database environments in a panic state normally refuse all attempts to - call Berkeley DB functions, throwing <A HREF="../../../com/sleepycat/db/RunRecoveryException.html" title="class in com.sleepycat.db"><CODE>RunRecoveryException</CODE></A>. + call Berkeley DB functions, throwing <a href="../../../com/sleepycat/db/RunRecoveryException.html" title="class in com.sleepycat.db"><code>RunRecoveryException</code></a>. This functionality should never be used for purposes other than debugging. <p> - This method only affects the specified <A HREF="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><CODE>Environment</CODE></A> handle (and + This method only affects the specified <a href="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><code>Environment</code></a> handle (and any other library handles opened within the scope of that handle). <p> This method may be called at any time during the life of the application. - <p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>noPanic</CODE> - If true, configure the system to ignore any panic state in the - database environment.</DL> -</DD> -</DL> -<HR> - -<A NAME="getNoPanic()"><!-- --></A><H3> -getNoPanic</H3> -<PRE> -public boolean <B>getNoPanic</B>()</PRE> -<DL> -<DD>Return true if the system has been configured to ignore any panic state in + <p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>noPanic</code> - If true, configure the system to ignore any panic state in the + database environment.</dd></dl> +</li> +</ul> +<a name="getNoPanic()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getNoPanic</h4> +<pre>public boolean getNoPanic()</pre> +<div class="block">Return true if the system has been configured to ignore any panic state in the database environment. <p> This method may be called at any time during the life of the application. -<p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> - -<DT><B>Returns:</B><DD>True if the system has been configured to ignore any panic state in - the database environment.</DL> -</DD> -</DL> -<HR> - -<A NAME="setOverwrite(boolean)"><!-- --></A><H3> -setOverwrite</H3> -<PRE> -public void <B>setOverwrite</B>(boolean overwrite)</PRE> -<DL> -<DD>Configure the system to overwrite files stored in encrypted formats +<p></div> +<dl><dt><span class="strong">Returns:</span></dt><dd>True if the system has been configured to ignore any panic state in + the database environment.</dd></dl> +</li> +</ul> +<a name="setOverwrite(boolean)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setOverwrite</h4> +<pre>public void setOverwrite(boolean overwrite)</pre> +<div class="block">Configure the system to overwrite files stored in encrypted formats before deleting them. <p> Berkeley DB overwrites files using alternating 0xff, 0x00 and 0xff @@ -5443,98 +4574,109 @@ public void <B>setOverwrite</B>(boolean overwrite)</PRE> journaling or logging filesystems will require operating system support and probably modification of the Berkeley DB sources. <p> - This method only affects the specified <A HREF="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><CODE>Environment</CODE></A> handle (and + This method only affects the specified <a href="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><code>Environment</code></a> handle (and any other library handles opened within the scope of that handle). <p> This method may be called at any time during the life of the application. - <p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>overwrite</CODE> - If true, configure the system to overwrite files stored in encrypted - formats before deleting them.</DL> -</DD> -</DL> -<HR> - -<A NAME="getOverwrite()"><!-- --></A><H3> -getOverwrite</H3> -<PRE> -public boolean <B>getOverwrite</B>()</PRE> -<DL> -<DD>Return true if the system has been configured to overwrite files stored in + <p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>overwrite</code> - If true, configure the system to overwrite files stored in encrypted + formats before deleting them.</dd></dl> +</li> +</ul> +<a name="getOverwrite()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getOverwrite</h4> +<pre>public boolean getOverwrite()</pre> +<div class="block">Return true if the system has been configured to overwrite files stored in encrypted formats before deleting them. <p> This method may be called at any time during the life of the application. -<p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> - -<DT><B>Returns:</B><DD>True if the system has been configured to overwrite files stored in - encrypted formats before deleting them.</DL> -</DD> -</DL> -<HR> - -<A NAME="setPanicHandler(com.sleepycat.db.PanicHandler)"><!-- --></A><H3> -setPanicHandler</H3> -<PRE> -public void <B>setPanicHandler</B>(<A HREF="../../../com/sleepycat/db/PanicHandler.html" title="interface in com.sleepycat.db">PanicHandler</A> panicHandler)</PRE> -<DL> -<DD>Set the function to be called if the database environment panics. +<p></div> +<dl><dt><span class="strong">Returns:</span></dt><dd>True if the system has been configured to overwrite files stored in + encrypted formats before deleting them.</dd></dl> +</li> +</ul> +<a name="setPanicHandler(com.sleepycat.db.PanicHandler)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setPanicHandler</h4> +<pre>public void setPanicHandler(<a href="../../../com/sleepycat/db/PanicHandler.html" title="interface in com.sleepycat.db">PanicHandler</a> panicHandler)</pre> +<div class="block">Set the function to be called if the database environment panics. <p> Errors can occur in the Berkeley DB library where the only solution is to shut down the application and run recovery (for example, if Berkeley DB is unable to allocate heap memory). In such cases, the Berkeley DB -methods will throw a <A HREF="../../../com/sleepycat/db/RunRecoveryException.html" title="class in com.sleepycat.db"><CODE>RunRecoveryException</CODE></A>. It is often easier +methods will throw a <a href="../../../com/sleepycat/db/RunRecoveryException.html" title="class in com.sleepycat.db"><code>RunRecoveryException</code></a>. It is often easier to simply exit the application when such errors occur rather than gracefully return up the stack. This method specifies a function to be -called when <A HREF="../../../com/sleepycat/db/RunRecoveryException.html" title="class in com.sleepycat.db"><CODE>RunRecoveryException</CODE></A> is about to be thrown from a +called when <a href="../../../com/sleepycat/db/RunRecoveryException.html" title="class in com.sleepycat.db"><code>RunRecoveryException</code></a> is about to be thrown from a Berkeley DB method. <p> This method may be called at any time during the life of the application. -<p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>panicHandler</CODE> - The function to be called if the database environment panics.</DL> -</DD> -</DL> -<HR> - -<A NAME="getPanicHandler()"><!-- --></A><H3> -getPanicHandler</H3> -<PRE> -public <A HREF="../../../com/sleepycat/db/PanicHandler.html" title="interface in com.sleepycat.db">PanicHandler</A> <B>getPanicHandler</B>()</PRE> -<DL> -<DD>Return the function to be called if the database environment panics. +<p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>panicHandler</code> - The function to be called if the database environment panics.</dd></dl> +</li> +</ul> +<a name="getPanicHandler()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getPanicHandler</h4> +<pre>public <a href="../../../com/sleepycat/db/PanicHandler.html" title="interface in com.sleepycat.db">PanicHandler</a> getPanicHandler()</pre> +<div class="block">Return the function to be called if the database environment panics. <p> This method may be called at any time during the life of the application. -<p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> - -<DT><B>Returns:</B><DD>The function to be called if the database environment panics.</DL> -</DD> -</DL> -<HR> - -<A NAME="setPrivate(boolean)"><!-- --></A><H3> -setPrivate</H3> -<PRE> -public void <B>setPrivate</B>(boolean isPrivate)</PRE> -<DL> -<DD>Configure the database environment to only be accessed by a single +<p></div> +<dl><dt><span class="strong">Returns:</span></dt><dd>The function to be called if the database environment panics.</dd></dl> +</li> +</ul> +<a name="setReplicationView(com.sleepycat.db.ReplicationViewHandler)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setReplicationView</h4> +<pre>public void setReplicationView(<a href="../../../com/sleepycat/db/ReplicationViewHandler.html" title="interface in com.sleepycat.db">ReplicationViewHandler</a> repViewHandler)</pre> +<div class="block">Set the function to be used by replication views to determine whether a + database file is replicated to the local site. + <p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>repViewHandler</code> - The function name to determine whether a database file is replicated. If + null, the replication view is a full view and all database files are + replicated to the local site. Otherwise it is a partial view and only some + database files are replicated to the local site.</dd></dl> +</li> +</ul> +<a name="getReplicationViewHandler()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getReplicationViewHandler</h4> +<pre>public <a href="../../../com/sleepycat/db/ReplicationViewHandler.html" title="interface in com.sleepycat.db">ReplicationViewHandler</a> getReplicationViewHandler()</pre> +<div class="block">Return the function name used by replication views to determine whether + a database file is replicated to the local site. + <p></div> +<dl><dt><span class="strong">Returns:</span></dt><dd>The function name used by replication views to determine whether a database + file is replicated to the local site. If null, the replication view is a + full view and all database files are replicated to the local site. + Otherwise it is a partial view and only some database files are replicated + to the local site.</dd></dl> +</li> +</ul> +<a name="setPrivate(boolean)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setPrivate</h4> +<pre>public void setPrivate(boolean isPrivate)</pre> +<div class="block">Configure the database environment to only be accessed by a single process (although that process may be multithreaded). <p> This has two effects on the database environment. First, all @@ -5548,53 +4690,42 @@ public void <B>setPrivate</B>(boolean isPrivate)</PRE> if both a server application and a Berkeley DB utility are expected to access the environment at the same time, then do not configure the database environment as private. - <p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>isPrivate</CODE> - If true, configure the database environment to only be accessed by - a single process.</DL> -</DD> -</DL> -<HR> - -<A NAME="getPrivate()"><!-- --></A><H3> -getPrivate</H3> -<PRE> -public boolean <B>getPrivate</B>()</PRE> -<DL> -<DD>Return true if the database environment is configured to only be accessed + <p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>isPrivate</code> - If true, configure the database environment to only be accessed by + a single process.</dd></dl> +</li> +</ul> +<a name="getPrivate()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getPrivate</h4> +<pre>public boolean getPrivate()</pre> +<div class="block">Return true if the database environment is configured to only be accessed by a single process. <p> This method may be called at any time during the life of the application. -<p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> - -<DT><B>Returns:</B><DD>True if the database environment is configured to only be accessed - by a single process.</DL> -</DD> -</DL> -<HR> - -<A NAME="setReplicationClockskew(int, int)"><!-- --></A><H3> -setReplicationClockskew</H3> -<PRE> -public void <B>setReplicationClockskew</B>(int replicationClockskewFast, - int replicationClockskewSlow)</PRE> -<DL> -<DD>Sets the clock skew ratio among replication group members based on the +<p></div> +<dl><dt><span class="strong">Returns:</span></dt><dd>True if the database environment is configured to only be accessed + by a single process.</dd></dl> +</li> +</ul> +<a name="setReplicationClockskew(int, int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setReplicationClockskew</h4> +<pre>public void setReplicationClockskew(int replicationClockskewFast, + int replicationClockskewSlow)</pre> +<div class="block">Sets the clock skew ratio among replication group members based on the fastest and slowest measurements among the group for use with master leases. Calling this method is optional, the default values for clock skew assume no skew. The user must also configure leases via the - <A HREF="../../../com/sleepycat/db/Environment.html#setReplicationConfig(com.sleepycat.db.ReplicationConfig, boolean)"><CODE>Environment.setReplicationConfig(com.sleepycat.db.ReplicationConfig, boolean)</CODE></A> method. Additionally, the user must + <a href="../../../com/sleepycat/db/Environment.html#setReplicationConfig(com.sleepycat.db.ReplicationConfig,%20boolean)"><code>Environment.setReplicationConfig(com.sleepycat.db.ReplicationConfig, boolean)</code></a> method. Additionally, the user must also set the master lease timeout via the - <A HREF="../../../com/sleepycat/db/Environment.html#setReplicationTimeout(com.sleepycat.db.ReplicationTimeoutType, int)"><CODE>Environment.setReplicationTimeout(com.sleepycat.db.ReplicationTimeoutType, int)</CODE></A> method and, if using the base + <a href="../../../com/sleepycat/db/Environment.html#setReplicationTimeout(com.sleepycat.db.ReplicationTimeoutType,%20int)"><code>Environment.setReplicationTimeout(com.sleepycat.db.ReplicationTimeoutType, int)</code></a> method and, if using the base replication API, the number of sites in the replication group via the (@link #setReplicationNumSites} method. These methods may be called in any order. For a description of the clock skew values, @@ -5620,116 +4751,88 @@ public void <B>setReplicationClockskew</B>(int replicationClockskewFast, configuration done before that time. <p> This method configures a database environment, not only operations performed - using the specified <A HREF="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><CODE>Environment</CODE></A> handle. - <p> - This method may not be called after the <A HREF="../../../com/sleepycat/db/Environment.html#replicationManagerStart(int, com.sleepycat.db.ReplicationManagerStartPolicy)"><CODE>Environment.replicationManagerStart(int, com.sleepycat.db.ReplicationManagerStartPolicy)</CODE></A> or <A HREF="../../../com/sleepycat/db/Environment.html#startReplication(com.sleepycat.db.DatabaseEntry, boolean)"><CODE>Environment.startReplication(com.sleepycat.db.DatabaseEntry, boolean)</CODE></A> methods are called. - <p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>replicationClockskewFast</CODE> - The value, relative to the <code>replicationClockskewSlow</code>, of the fastest clock in the group of sites.<DD><CODE>replicationClockskewSlow</CODE> - The value of the slowest clock in the group of sites.</DL> -</DD> -</DL> -<HR> - -<A NAME="getReplicationClockskewFast()"><!-- --></A><H3> -getReplicationClockskewFast</H3> -<PRE> -public int <B>getReplicationClockskewFast</B>()</PRE> -<DL> -<DD>Return the current clock skew value for the fastest clock in the group of sites. - <p> - This method may be called at any time during the life of the application. -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> - -<DT><B>Returns:</B><DD>The current clock skew value for the fastest clock in the group of sites.</DL> -</DD> -</DL> -<HR> - -<A NAME="getReplicationClockskewSlow()"><!-- --></A><H3> -getReplicationClockskewSlow</H3> -<PRE> -public int <B>getReplicationClockskewSlow</B>()</PRE> -<DL> -<DD>Return the current clock skew value for the slowest clock in the group of sites. - <p> - This method may be called at any time during the life of the application. -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> - -<DT><B>Returns:</B><DD>The current clock skew value for the slowest clock in the group of sites.</DL> -</DD> -</DL> -<HR> - -<A NAME="setReplicationLimit(long)"><!-- --></A><H3> -setReplicationLimit</H3> -<PRE> -public void <B>setReplicationLimit</B>(long replicationLimit)</PRE> -<DL> -<DD>Impose a byte-count limit on the amount of data that will be - transmitted from a site in a single call to <A HREF="../../../com/sleepycat/db/Environment.html#processReplicationMessage(com.sleepycat.db.DatabaseEntry, com.sleepycat.db.DatabaseEntry, int)"><CODE>Environment.processReplicationMessage</CODE></A>. + using the specified <a href="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><code>Environment</code></a> handle. + <p> + This method may not be called after the <a href="../../../com/sleepycat/db/Environment.html#replicationManagerStart(int,%20com.sleepycat.db.ReplicationManagerStartPolicy)"><code>Environment.replicationManagerStart(int, com.sleepycat.db.ReplicationManagerStartPolicy)</code></a> or <a href="../../../com/sleepycat/db/Environment.html#startReplication(com.sleepycat.db.DatabaseEntry,%20boolean)"><code>Environment.startReplication(com.sleepycat.db.DatabaseEntry, boolean)</code></a> methods are called. + <p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>replicationClockskewFast</code> - The value, relative to the <code>replicationClockskewSlow</code>, of the fastest clock in the group of sites.</dd><dd><code>replicationClockskewSlow</code> - The value of the slowest clock in the group of sites.</dd></dl> +</li> +</ul> +<a name="getReplicationClockskewFast()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getReplicationClockskewFast</h4> +<pre>public int getReplicationClockskewFast()</pre> +<div class="block">Return the current clock skew value for the fastest clock in the group of sites. + <p> + This method may be called at any time during the life of the application.</div> +<dl><dt><span class="strong">Returns:</span></dt><dd>The current clock skew value for the fastest clock in the group of sites.</dd></dl> +</li> +</ul> +<a name="getReplicationClockskewSlow()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getReplicationClockskewSlow</h4> +<pre>public int getReplicationClockskewSlow()</pre> +<div class="block">Return the current clock skew value for the slowest clock in the group of sites. + <p> + This method may be called at any time during the life of the application.</div> +<dl><dt><span class="strong">Returns:</span></dt><dd>The current clock skew value for the slowest clock in the group of sites.</dd></dl> +</li> +</ul> +<a name="setReplicationLimit(long)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setReplicationLimit</h4> +<pre>public void setReplicationLimit(long replicationLimit)</pre> +<div class="block">Impose a byte-count limit on the amount of data that will be + transmitted from a site in a single call to <a href="../../../com/sleepycat/db/Environment.html#processReplicationMessage(com.sleepycat.db.DatabaseEntry,%20com.sleepycat.db.DatabaseEntry,%20int)"><code>Environment.processReplicationMessage</code></a>. <p> This method configures a database environment, including all threads of control accessing the database environment, not only the operations -performed using a specified <A HREF="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><CODE>Environment</CODE></A> handle. +performed using a specified <a href="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><code>Environment</code></a> handle. <p> This method may be called at any time during the life of the application. - <p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>replicationLimit</CODE> - The maximum number of bytes that will be sent in a single call to - <A HREF="../../../com/sleepycat/db/Environment.html#processReplicationMessage(com.sleepycat.db.DatabaseEntry, com.sleepycat.db.DatabaseEntry, int)"><CODE>Environment.processReplicationMessage</CODE></A>.</DL> -</DD> -</DL> -<HR> - -<A NAME="getReplicationLimit()"><!-- --></A><H3> -getReplicationLimit</H3> -<PRE> -public long <B>getReplicationLimit</B>()</PRE> -<DL> -<DD>Return the transmit limit in bytes for a single call to - <A HREF="../../../com/sleepycat/db/Environment.html#processReplicationMessage(com.sleepycat.db.DatabaseEntry, com.sleepycat.db.DatabaseEntry, int)"><CODE>Environment.processReplicationMessage</CODE></A>. + <p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>replicationLimit</code> - The maximum number of bytes that will be sent in a single call to + <a href="../../../com/sleepycat/db/Environment.html#processReplicationMessage(com.sleepycat.db.DatabaseEntry,%20com.sleepycat.db.DatabaseEntry,%20int)"><code>Environment.processReplicationMessage</code></a>.</dd></dl> +</li> +</ul> +<a name="getReplicationLimit()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getReplicationLimit</h4> +<pre>public long getReplicationLimit()</pre> +<div class="block">Return the transmit limit in bytes for a single call to + <a href="../../../com/sleepycat/db/Environment.html#processReplicationMessage(com.sleepycat.db.DatabaseEntry,%20com.sleepycat.db.DatabaseEntry,%20int)"><code>Environment.processReplicationMessage</code></a>. <p> This method may be called at any time during the life of the application. - <p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> - -<DT><B>Returns:</B><DD>The transmit limit in bytes for a single call to <A HREF="../../../com/sleepycat/db/Environment.html#processReplicationMessage(com.sleepycat.db.DatabaseEntry, com.sleepycat.db.DatabaseEntry, int)"><CODE>Environment.processReplicationMessage</CODE></A>.</DL> -</DD> -</DL> -<HR> - -<A NAME="setReplicationRequestMin(int)"><!-- --></A><H3> -setReplicationRequestMin</H3> -<PRE> -public void <B>setReplicationRequestMin</B>(int replicationRequestMin)</PRE> -<DL> -<DD>Set a threshold for the minimum time that a client waits before requesting + <p></div> +<dl><dt><span class="strong">Returns:</span></dt><dd>The transmit limit in bytes for a single call to <a href="../../../com/sleepycat/db/Environment.html#processReplicationMessage(com.sleepycat.db.DatabaseEntry,%20com.sleepycat.db.DatabaseEntry,%20int)"><code>Environment.processReplicationMessage</code></a>.</dd></dl> +</li> +</ul> +<a name="setReplicationRequestMin(int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setReplicationRequestMin</h4> +<pre>public void setReplicationRequestMin(int replicationRequestMin)</pre> +<div class="block">Set a threshold for the minimum time that a client waits before requesting retransmission of a missing message. Specifically, if the client detects a gap in the sequence of incoming log records or database pages, Berkeley DB will wait for at least <code>replicationRequestMin</code> microseconds before requesting retransmission of the missing record. Berkeley DB will double that amount before requesting the same missing record again, and so on, up to a maximum - threshold, set by <A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setReplicationRequestMax(int)"><CODE>setReplicationRequestMax(int)</CODE></A>. + threshold, set by <a href="../../../com/sleepycat/db/EnvironmentConfig.html#setReplicationRequestMax(int)"><code>setReplicationRequestMax(int)</code></a>. <p> These values are thresholds only. Replication Manager applications use these values to determine when to automatically request retransmission of missing @@ -5745,48 +4848,37 @@ public void <B>setReplicationRequestMin</B>(int replicationRequestMin)</PRE adjust these. The values should be based on expected load and performance characteristics of the master and client host platforms and transport infrastructure as well as round-trip message time. - <p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>replicationRequestMin</CODE> - The minimum amount of time the client waits before requesting retransmission - of a missing message.</DL> -</DD> -</DL> -<HR> - -<A NAME="getReplicationRequestMin()"><!-- --></A><H3> -getReplicationRequestMin</H3> -<PRE> -public int <B>getReplicationRequestMin</B>()</PRE> -<DL> -<DD>Get the threshold for the minimum amount of time that a client waits before + <p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>replicationRequestMin</code> - The minimum amount of time the client waits before requesting retransmission + of a missing message.</dd></dl> +</li> +</ul> +<a name="getReplicationRequestMin()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getReplicationRequestMin</h4> +<pre>public int getReplicationRequestMin()</pre> +<div class="block">Get the threshold for the minimum amount of time that a client waits before requesting retransmission of a missed message. - <p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> - -<DT><B>Returns:</B><DD>The threshold for the minimum amount of time that a client waits before - requesting retransmission of a missed message.</DL> -</DD> -</DL> -<HR> - -<A NAME="setReplicationRequestMax(int)"><!-- --></A><H3> -setReplicationRequestMax</H3> -<PRE> -public void <B>setReplicationRequestMax</B>(int replicationRequestMax)</PRE> -<DL> -<DD>Set a threshold for the maximum time that a client waits before requesting + <p></div> +<dl><dt><span class="strong">Returns:</span></dt><dd>The threshold for the minimum amount of time that a client waits before + requesting retransmission of a missed message.</dd></dl> +</li> +</ul> +<a name="setReplicationRequestMax(int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setReplicationRequestMax</h4> +<pre>public void setReplicationRequestMax(int replicationRequestMax)</pre> +<div class="block">Set a threshold for the maximum time that a client waits before requesting retransmission of a missing message. Specifically, if the client detects a gap in the sequence of incoming log records or database pages, Berkeley DB will wait for at least the minimum threshold, set by - <A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setReplicationRequestMin(int)"><CODE>setReplicationRequestMin(int)</CODE></A>, before requesting retransmission of the + <a href="../../../com/sleepycat/db/EnvironmentConfig.html#setReplicationRequestMin(int)"><code>setReplicationRequestMin(int)</code></a>, before requesting retransmission of the missing record. Berkeley DB will double that amount before requesting the same missing record again, and so on, up to <code>replicationRequestMax</code>. <p> @@ -5802,139 +4894,106 @@ public void <B>setReplicationRequestMax</B>(int replicationRequestMax)</PRE adjust these. The values should be based on expected load and performance characteristics of the master and client host platforms and transport infrastructure as well as round-trip message time. - <p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>replicationRequestMax</CODE> - The maximum amount of time the client waits before requesting retransmission - of a missing message.</DL> -</DD> -</DL> -<HR> - -<A NAME="getReplicationRequestMax()"><!-- --></A><H3> -getReplicationRequestMax</H3> -<PRE> -public int <B>getReplicationRequestMax</B>()</PRE> -<DL> -<DD>Get the threshold for the maximum amount of time that a client waits before + <p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>replicationRequestMax</code> - The maximum amount of time the client waits before requesting retransmission + of a missing message.</dd></dl> +</li> +</ul> +<a name="getReplicationRequestMax()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getReplicationRequestMax</h4> +<pre>public int getReplicationRequestMax()</pre> +<div class="block">Get the threshold for the maximum amount of time that a client waits before requesting retransmission of a missed message. - <p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> - -<DT><B>Returns:</B><DD>The threshold for the maximum amount of time that a client waits before - requesting retransmission of a missed message.</DL> -</DD> -</DL> -<HR> - -<A NAME="setReplicationTransport(int, com.sleepycat.db.ReplicationTransport)"><!-- --></A><H3> -setReplicationTransport</H3> -<PRE> -public void <B>setReplicationTransport</B>(int envid, - <A HREF="../../../com/sleepycat/db/ReplicationTransport.html" title="interface in com.sleepycat.db">ReplicationTransport</A> replicationTransport)</PRE> -<DL> -<DD>Initialize the communication infrastructure for a database environment + <p></div> +<dl><dt><span class="strong">Returns:</span></dt><dd>The threshold for the maximum amount of time that a client waits before + requesting retransmission of a missed message.</dd></dl> +</li> +</ul> +<a name="setReplicationTransport(int, com.sleepycat.db.ReplicationTransport)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setReplicationTransport</h4> +<pre>public void setReplicationTransport(int envid, + <a href="../../../com/sleepycat/db/ReplicationTransport.html" title="interface in com.sleepycat.db">ReplicationTransport</a> replicationTransport)</pre> +<div class="block">Initialize the communication infrastructure for a database environment participating in a replicated application. <p> This method configures only operations performed using a single a -<A HREF="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><CODE>Environment</CODE></A> handle, not an entire database environment. +<a href="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><code>Environment</code></a> handle, not an entire database environment. <p> This method may be called at any time during the life of the application. - <p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>envid</CODE> - The local environment's ID. It must be a positive integer and + <p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>envid</code> - The local environment's ID. It must be a positive integer and uniquely identify this Berkeley DB database environment. - <p><DD><CODE>replicationTransport</CODE> - The callback function is used to transmit data using the replication - application's communication infrastructure.</DL> -</DD> -</DL> -<HR> - -<A NAME="getReplicationTransport()"><!-- --></A><H3> -getReplicationTransport</H3> -<PRE> -public <A HREF="../../../com/sleepycat/db/ReplicationTransport.html" title="interface in com.sleepycat.db">ReplicationTransport</A> <B>getReplicationTransport</B>()</PRE> -<DL> -<DD>Return the replication callback function used to transmit data using + <p></dd><dd><code>replicationTransport</code> - The callback function is used to transmit data using the replication + application's communication infrastructure.</dd></dl> +</li> +</ul> +<a name="getReplicationTransport()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getReplicationTransport</h4> +<pre>public <a href="../../../com/sleepycat/db/ReplicationTransport.html" title="interface in com.sleepycat.db">ReplicationTransport</a> getReplicationTransport()</pre> +<div class="block">Return the replication callback function used to transmit data using the replication application's communication infrastructure. - <p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> - -<DT><B>Returns:</B><DD>The replication callback function used to transmit data using the - replication application's communication infrastructure.</DL> -</DD> -</DL> -<HR> - -<A NAME="setRegister(boolean)"><!-- --></A><H3> -setRegister</H3> -<PRE> -public void <B>setRegister</B>(boolean register)</PRE> -<DL> -<DD>Check if a process has failed while using the database environment, that - is, if a process has exited with an open <A HREF="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><CODE>Environment</CODE></A> handle. (For + <p></div> +<dl><dt><span class="strong">Returns:</span></dt><dd>The replication callback function used to transmit data using the + replication application's communication infrastructure.</dd></dl> +</li> +</ul> +<a name="setRegister(boolean)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setRegister</h4> +<pre>public void setRegister(boolean register)</pre> +<div class="block">Check if a process has failed while using the database environment, that + is, if a process has exited with an open <a href="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><code>Environment</code></a> handle. (For this check to be accurate, all processes using the environment must specify this flag when opening the environment.) If recovery - needs to be run for any reason and either <A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setRunRecovery(boolean)"><CODE>setRunRecovery(boolean)</CODE></A> or - <A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setRunFatalRecovery(boolean)"><CODE>setRunFatalRecovery(boolean)</CODE></A> are also specified, recovery will be performed + needs to be run for any reason and either <a href="../../../com/sleepycat/db/EnvironmentConfig.html#setRunRecovery(boolean)"><code>setRunRecovery(boolean)</code></a> or + <a href="../../../com/sleepycat/db/EnvironmentConfig.html#setRunFatalRecovery(boolean)"><code>setRunFatalRecovery(boolean)</code></a> are also specified, recovery will be performed and the open will proceed normally. If recovery needs to be run and no - recovery flag is specified, a <A HREF="../../../com/sleepycat/db/RunRecoveryException.html" title="class in com.sleepycat.db"><CODE>RunRecoveryException</CODE></A> will be thrown. + recovery flag is specified, a <a href="../../../com/sleepycat/db/RunRecoveryException.html" title="class in com.sleepycat.db"><code>RunRecoveryException</code></a> will be thrown. If recovery does not need to be run, the recovery flags will be ignored. See <a href="../../../../programmer_reference/transapp_app.html" target="_top">Architecting Transactional Data Store applications</a>) for more information. - <p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>register</CODE> - If true, check for process failure when the environment is opened.</DL> -</DD> -</DL> -<HR> - -<A NAME="getRegister()"><!-- --></A><H3> -getRegister</H3> -<PRE> -public boolean <B>getRegister</B>()</PRE> -<DL> -<DD>Return true if the check for process failure when the environment is opened. + <p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>register</code> - If true, check for process failure when the environment is opened.</dd></dl> +</li> +</ul> +<a name="getRegister()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getRegister</h4> +<pre>public boolean getRegister()</pre> +<div class="block">Return true if the check for process failure when the environment is opened. <p> This method may be called at any time during the life of the application. -<p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> - -<DT><B>Returns:</B><DD>True if the check for process failure when the environment is opened.</DL> -</DD> -</DL> -<HR> - -<A NAME="setRunFatalRecovery(boolean)"><!-- --></A><H3> -setRunFatalRecovery</H3> -<PRE> -public void <B>setRunFatalRecovery</B>(boolean runFatalRecovery)</PRE> -<DL> -<DD>Configure to run catastrophic recovery on this environment before opening it for +<p></div> +<dl><dt><span class="strong">Returns:</span></dt><dd>True if the check for process failure when the environment is opened.</dd></dl> +</li> +</ul> +<a name="setRunFatalRecovery(boolean)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setRunFatalRecovery</h4> +<pre>public void setRunFatalRecovery(boolean runFatalRecovery)</pre> +<div class="block">Configure to run catastrophic recovery on this environment before opening it for normal use. <p> A standard part of the recovery process is to remove the existing @@ -5963,46 +5022,35 @@ recovery during startup. This method returns successfully if recovery is run no log files exist, so it is necessary to ensure that all necessary log files are present before running recovery. -<p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>runFatalRecovery</CODE> - If true, configure to run catastrophic recovery on this environment -before opening it for normal use.</DL> -</DD> -</DL> -<HR> - -<A NAME="getRunFatalRecovery()"><!-- --></A><H3> -getRunFatalRecovery</H3> -<PRE> -public boolean <B>getRunFatalRecovery</B>()</PRE> -<DL> -<DD>Return the handle is configured to run catastrophic recovery on +<p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>runFatalRecovery</code> - If true, configure to run catastrophic recovery on this environment +before opening it for normal use.</dd></dl> +</li> +</ul> +<a name="getRunFatalRecovery()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getRunFatalRecovery</h4> +<pre>public boolean getRunFatalRecovery()</pre> +<div class="block">Return the handle is configured to run catastrophic recovery on the database environment before opening it for use. <p> This method may be called at any time during the life of the application. -<p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> - -<DT><B>Returns:</B><DD>The handle is configured to run catastrophic recovery on - the database environment before opening it for use.</DL> -</DD> -</DL> -<HR> - -<A NAME="setRunRecovery(boolean)"><!-- --></A><H3> -setRunRecovery</H3> -<PRE> -public void <B>setRunRecovery</B>(boolean runRecovery)</PRE> -<DL> -<DD>Configure to run normal recovery on this environment before opening it for +<p></div> +<dl><dt><span class="strong">Returns:</span></dt><dd>The handle is configured to run catastrophic recovery on + the database environment before opening it for use.</dd></dl> +</li> +</ul> +<a name="setRunRecovery(boolean)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setRunRecovery</h4> +<pre>public void setRunRecovery(boolean runRecovery)</pre> +<div class="block">Configure to run normal recovery on this environment before opening it for normal use. <p> A standard part of the recovery process is to remove the existing @@ -6031,89 +5079,67 @@ recovery during startup. This method returns successfully if recovery is run no log files exist, so it is necessary to ensure that all necessary log files are present before running recovery. -<p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>runRecovery</CODE> - If true, configure to run normal recovery on this environment -before opening it for normal use.</DL> -</DD> -</DL> -<HR> - -<A NAME="getRunRecovery()"><!-- --></A><H3> -getRunRecovery</H3> -<PRE> -public boolean <B>getRunRecovery</B>()</PRE> -<DL> -<DD>Return the handle is configured to run normal recovery on the +<p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>runRecovery</code> - If true, configure to run normal recovery on this environment +before opening it for normal use.</dd></dl> +</li> +</ul> +<a name="getRunRecovery()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getRunRecovery</h4> +<pre>public boolean getRunRecovery()</pre> +<div class="block">Return the handle is configured to run normal recovery on the database environment before opening it for use. <p> This method may be called at any time during the life of the application. -<p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> - -<DT><B>Returns:</B><DD>The handle is configured to run normal recovery on the - database environment before opening it for use.</DL> -</DD> -</DL> -<HR> - -<A NAME="setSystemMemory(boolean)"><!-- --></A><H3> -setSystemMemory</H3> -<PRE> -public void <B>setSystemMemory</B>(boolean systemMemory)</PRE> -<DL> -<DD>Configure the database environment to allocate memory from system +<p></div> +<dl><dt><span class="strong">Returns:</span></dt><dd>The handle is configured to run normal recovery on the + database environment before opening it for use.</dd></dl> +</li> +</ul> +<a name="setSystemMemory(boolean)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setSystemMemory</h4> +<pre>public void setSystemMemory(boolean systemMemory)</pre> +<div class="block">Configure the database environment to allocate memory from system shared memory instead of from memory backed by the filesystem. - <p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>systemMemory</CODE> - If true, configure the database environment to allocate memory from - system shared memory instead of from memory backed by the filesystem.</DL> -</DD> -</DL> -<HR> - -<A NAME="getSystemMemory()"><!-- --></A><H3> -getSystemMemory</H3> -<PRE> -public boolean <B>getSystemMemory</B>()</PRE> -<DL> -<DD>Return true if the database environment is configured to allocate memory + <p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>systemMemory</code> - If true, configure the database environment to allocate memory from + system shared memory instead of from memory backed by the filesystem.</dd></dl> +</li> +</ul> +<a name="getSystemMemory()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getSystemMemory</h4> +<pre>public boolean getSystemMemory()</pre> +<div class="block">Return true if the database environment is configured to allocate memory from system shared memory instead of from memory backed by the filesystem. <p> This method may be called at any time during the life of the application. -<p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> - -<DT><B>Returns:</B><DD>True if the database environment is configured to allocate memory +<p></div> +<dl><dt><span class="strong">Returns:</span></dt><dd>True if the database environment is configured to allocate memory from system shared memory instead of from memory backed by the - filesystem.</DL> -</DD> -</DL> -<HR> - -<A NAME="setSegmentId(long)"><!-- --></A><H3> -setSegmentId</H3> -<PRE> -public void <B>setSegmentId</B>(long segmentId)</PRE> -<DL> -<DD>Specify a base segment ID for database environment shared memory + filesystem.</dd></dl> +</li> +</ul> +<a name="setSegmentId(long)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setSegmentId</h4> +<pre>public void setSegmentId(long segmentId)</pre> +<div class="block">Specify a base segment ID for database environment shared memory regions created in system memory on VxWorks or systems supporting X/Open-style shared memory interfaces; for example, UNIX systems supporting <code>shmget</code> and related System V IPC interfaces. @@ -6145,50 +5171,39 @@ Because the DB_CONFIG file is read when the database environment is opened, it will silently overrule configuration done before that time. <p> This method configures only operations performed using a single a -<A HREF="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><CODE>Environment</CODE></A> handle, not an entire database environment. +<a href="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><code>Environment</code></a> handle, not an entire database environment. <p> This method may not be called after the environment has been opened. If joining an existing database environment, the information specified to this method must be consistent with the existing environment or corruption can occur. - <p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>segmentId</CODE> - The base segment ID for the database environment.</DL> -</DD> -</DL> -<HR> - -<A NAME="getSegmentId()"><!-- --></A><H3> -getSegmentId</H3> -<PRE> -public long <B>getSegmentId</B>()</PRE> -<DL> -<DD>Return the base segment ID. + <p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>segmentId</code> - The base segment ID for the database environment.</dd></dl> +</li> +</ul> +<a name="getSegmentId()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getSegmentId</h4> +<pre>public long getSegmentId()</pre> +<div class="block">Return the base segment ID. <p> This method may be called at any time during the life of the application. -<p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> - -<DT><B>Returns:</B><DD>The base segment ID.</DL> -</DD> -</DL> -<HR> - -<A NAME="setTemporaryDirectory(java.io.File)"><!-- --></A><H3> -setTemporaryDirectory</H3> -<PRE> -public void <B>setTemporaryDirectory</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</A> temporaryDirectory)</PRE> -<DL> -<DD>Set the path of a directory to be used as the location of temporary +<p></div> +<dl><dt><span class="strong">Returns:</span></dt><dd>The base segment ID.</dd></dl> +</li> +</ul> +<a name="setTemporaryDirectory(java.io.File)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setTemporaryDirectory</h4> +<pre>public void setTemporaryDirectory(java.io.File temporaryDirectory)</pre> +<div class="block">Set the path of a directory to be used as the location of temporary files. <p> The files created to back in-memory access method databases will be @@ -6214,8 +5229,8 @@ public void <B>setTemporaryDirectory</B>(<A HREF="http://download.oracle.com/jav <p> Note: the environment variables are only checked if the database environment has been configured with one of - <A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setUseEnvironment(boolean)"><CODE>EnvironmentConfig.setUseEnvironment</CODE></A> or - <A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setUseEnvironmentRoot(boolean)"><CODE>EnvironmentConfig.setUseEnvironmentRoot</CODE></A>. + <a href="../../../com/sleepycat/db/EnvironmentConfig.html#setUseEnvironment(boolean)"><code>EnvironmentConfig.setUseEnvironment</code></a> or + <a href="../../../com/sleepycat/db/EnvironmentConfig.html#setUseEnvironmentRoot(boolean)"><code>EnvironmentConfig.setUseEnvironmentRoot</code></a>. <p> Note: the GetTempPath interface is only checked on Win/32 platforms. <p> @@ -6226,70 +5241,53 @@ Because the DB_CONFIG file is read when the database environment is opened, it will silently overrule configuration done before that time. <p> This method configures only operations performed using a single a -<A HREF="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><CODE>Environment</CODE></A> handle, not an entire database environment. +<a href="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><code>Environment</code></a> handle, not an entire database environment. <p> This method may not be called after the environment has been opened. If joining an existing database environment, the information specified to this method must be consistent with the existing environment or corruption can occur. - <p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>temporaryDirectory</CODE> - The directory to be used to store temporary files. + <p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>temporaryDirectory</code> - The directory to be used to store temporary files. On Windows platforms, this argument will be interpreted as a UTF-8 -string, which is equivalent to ASCII for Latin characters.</DL> -</DD> -</DL> -<HR> - -<A NAME="setTemporaryDirectory(java.lang.String)"><!-- --></A><H3> -setTemporaryDirectory</H3> -<PRE> -public void <B>setTemporaryDirectory</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> temporaryDirectory)</PRE> -<DL> -<DD><B>Deprecated.</B> <I>replaced by <A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setTemporaryDirectory(java.io.File)"><CODE>setTemporaryDirectory(java.io.File)</CODE></A></I> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -</DL> -</DD> -</DL> -<HR> - -<A NAME="getTemporaryDirectory()"><!-- --></A><H3> -getTemporaryDirectory</H3> -<PRE> -public <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</A> <B>getTemporaryDirectory</B>()</PRE> -<DL> -<DD>Return the path of a directory to be used as the location of +string, which is equivalent to ASCII for Latin characters.</dd></dl> +</li> +</ul> +<a name="setTemporaryDirectory(java.lang.String)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setTemporaryDirectory</h4> +<pre>public void setTemporaryDirectory(java.lang.String temporaryDirectory)</pre> +<div class="block"><span class="strong">Deprecated.</span> <i>replaced by <a href="../../../com/sleepycat/db/EnvironmentConfig.html#setTemporaryDirectory(java.io.File)"><code>setTemporaryDirectory(java.io.File)</code></a></i></div> +</li> +</ul> +<a name="getTemporaryDirectory()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getTemporaryDirectory</h4> +<pre>public java.io.File getTemporaryDirectory()</pre> +<div class="block">Return the path of a directory to be used as the location of temporary files. <p> This method may be called at any time during the life of the application. -<p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> - -<DT><B>Returns:</B><DD>The path of a directory to be used as the location of - temporary files.</DL> -</DD> -</DL> -<HR> - -<A NAME="setMutexAlignment(int)"><!-- --></A><H3> -setMutexAlignment</H3> -<PRE> -public void <B>setMutexAlignment</B>(int mutexAlignment)</PRE> -<DL> -<DD>Set the mutex alignment, in bytes. +<p></div> +<dl><dt><span class="strong">Returns:</span></dt><dd>The path of a directory to be used as the location of + temporary files.</dd></dl> +</li> +</ul> +<a name="setMutexAlignment(int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setMutexAlignment</h4> +<pre>public void setMutexAlignment(int mutexAlignment)</pre> +<div class="block">Set the mutex alignment, in bytes. <p> It is sometimes advantageous to align mutexes on specific byte boundaries in order to minimize cache line collisions. This method @@ -6303,48 +5301,37 @@ opened, it will silently overrule configuration done before that time. <p> This method configures a database environment, including all threads of control accessing the database environment, not only the operations -performed using a specified <A HREF="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><CODE>Environment</CODE></A> handle. +performed using a specified <a href="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><code>Environment</code></a> handle. <p> This method may not be called after the environment has been opened. If joining an existing database environment, any -information specified to this method will be ignored. -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>mutexAlignment</CODE> - mutex alignment, in bytes. The mutex alignment must be a power-of-two.</DL> -</DD> -</DL> -<HR> - -<A NAME="getMutexAlignment()"><!-- --></A><H3> -getMutexAlignment</H3> -<PRE> -public int <B>getMutexAlignment</B>()</PRE> -<DL> -<DD>Return the mutex alignment, in bytes. +information specified to this method will be ignored.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>mutexAlignment</code> - mutex alignment, in bytes. The mutex alignment must be a power-of-two.</dd></dl> +</li> +</ul> +<a name="getMutexAlignment()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getMutexAlignment</h4> +<pre>public int getMutexAlignment()</pre> +<div class="block">Return the mutex alignment, in bytes. <p> This method may be called at any time during the life of the application. -<p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> - -<DT><B>Returns:</B><DD>The mutex alignment, in bytes.</DL> -</DD> -</DL> -<HR> - -<A NAME="setMutexIncrement(int)"><!-- --></A><H3> -setMutexIncrement</H3> -<PRE> -public void <B>setMutexIncrement</B>(int mutexIncrement)</PRE> -<DL> -<DD>Increase the number of mutexes to allocate. +<p></div> +<dl><dt><span class="strong">Returns:</span></dt><dd>The mutex alignment, in bytes.</dd></dl> +</li> +</ul> +<a name="setMutexIncrement(int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setMutexIncrement</h4> +<pre>public void setMutexIncrement(int mutexIncrement)</pre> +<div class="block">Increase the number of mutexes to allocate. <p> Berkeley DB allocates a default number of mutexes based on the initial configuration of the database environment. That default calculation may @@ -6355,53 +5342,42 @@ public void <B>setMutexIncrement</B>(int mutexIncrement)</PRE> mutexes to allocate. <p> Calling this method discards any value previously - set using the <A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setMaxMutexes(int)"><CODE>setMaxMutexes(int)</CODE></A> method. + set using the <a href="../../../com/sleepycat/db/EnvironmentConfig.html#setMaxMutexes(int)"><code>setMaxMutexes(int)</code></a> method. <p> This method configures a database environment, including all threads of control accessing the database environment, not only the operations -performed using a specified <A HREF="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><CODE>Environment</CODE></A> handle. +performed using a specified <a href="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><code>Environment</code></a> handle. <p> This method may not be called after the environment has been opened. If joining an existing database environment, any information specified to this method will be ignored. - <p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>mutexIncrement</CODE> - The number of additional mutexes to allocate.</DL> -</DD> -</DL> -<HR> - -<A NAME="getMutexIncrement()"><!-- --></A><H3> -getMutexIncrement</H3> -<PRE> -public int <B>getMutexIncrement</B>()</PRE> -<DL> -<DD>Return the number of additional mutexes to allocate. + <p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>mutexIncrement</code> - The number of additional mutexes to allocate.</dd></dl> +</li> +</ul> +<a name="getMutexIncrement()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getMutexIncrement</h4> +<pre>public int getMutexIncrement()</pre> +<div class="block">Return the number of additional mutexes to allocate. <p> This method may be called at any time during the life of the application. -<p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> - -<DT><B>Returns:</B><DD>The number of additional mutexes to allocate.</DL> -</DD> -</DL> -<HR> - -<A NAME="setInitialMutexes(int)"><!-- --></A><H3> -setInitialMutexes</H3> -<PRE> -public void <B>setInitialMutexes</B>(int initMutexes)</PRE> -<DL> -<DD>Set the number of mutexes to allocate when an environment is created. +<p></div> +<dl><dt><span class="strong">Returns:</span></dt><dd>The number of additional mutexes to allocate.</dd></dl> +</li> +</ul> +<a name="setInitialMutexes(int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setInitialMutexes</h4> +<pre>public void setInitialMutexes(int initMutexes)</pre> +<div class="block">Set the number of mutexes to allocate when an environment is created. <p> Berkeley DB allocates a default number of mutexes based on the initial configuration of the database environment. That default calculation may @@ -6412,52 +5388,41 @@ public void <B>setInitialMutexes</B>(int initMutexes)</PRE> mutexes to allocate. <p> Calling this method discards any value previously - set using the <A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setInitialMutexes(int)"><CODE>setInitialMutexes(int)</CODE></A> method. + set using the <a href="../../../com/sleepycat/db/EnvironmentConfig.html#setInitialMutexes(int)"><code>setInitialMutexes(int)</code></a> method. <p> This method configures a database environment, including all threads of control accessing the database environment, not only the operations - performed using a specified <A HREF="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><CODE>Environment</CODE></A> handle. + performed using a specified <a href="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><code>Environment</code></a> handle. <p> This method may not be called after the environment has been opened. If joining an existing database environment, any information specified to this method will be ignored. - <p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>initMutexes</CODE> - The number of mutexes allocated when an environment is created.</DL> -</DD> -</DL> -<HR> - -<A NAME="getInitialMutexes()"><!-- --></A><H3> -getInitialMutexes</H3> -<PRE> -public int <B>getInitialMutexes</B>()</PRE> -<DL> -<DD>Return the number of mutexes allocated when an environment is created. + <p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>initMutexes</code> - The number of mutexes allocated when an environment is created.</dd></dl> +</li> +</ul> +<a name="getInitialMutexes()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getInitialMutexes</h4> +<pre>public int getInitialMutexes()</pre> +<div class="block">Return the number of mutexes allocated when an environment is created. <p> This method may be called at any time during the life of the application. - <p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> - -<DT><B>Returns:</B><DD>The number of mutexes allocated when an environment is created.</DL> -</DD> -</DL> -<HR> - -<A NAME="setMaxMutexes(int)"><!-- --></A><H3> -setMaxMutexes</H3> -<PRE> -public void <B>setMaxMutexes</B>(int maxMutexes)</PRE> -<DL> -<DD>Set the total number of mutexes to allocate. + <p></div> +<dl><dt><span class="strong">Returns:</span></dt><dd>The number of mutexes allocated when an environment is created.</dd></dl> +</li> +</ul> +<a name="setMaxMutexes(int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setMaxMutexes</h4> +<pre>public void setMaxMutexes(int maxMutexes)</pre> +<div class="block">Set the total number of mutexes to allocate. <p> Berkeley DB allocates a default number of mutexes based on the initial configuration of the database environment. That default calculation may @@ -6468,7 +5433,7 @@ public void <B>setMaxMutexes</B>(int maxMutexes)</PRE> absolute number of mutexes to allocate. <p> Calling this method discards any value previously - set using the <A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setMutexIncrement(int)"><CODE>setMutexIncrement(int)</CODE></A> method. + set using the <a href="../../../com/sleepycat/db/EnvironmentConfig.html#setMutexIncrement(int)"><code>setMutexIncrement(int)</code></a> method. <p> The database environment's total number of mutexes may also be set using the environment's <b>DB_CONFIG</b> file. The syntax of the entry in that @@ -6479,49 +5444,38 @@ public void <B>setMaxMutexes</B>(int maxMutexes)</PRE> <p> This method configures a database environment, including all threads of control accessing the database environment, not only the operations -performed using a specified <A HREF="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><CODE>Environment</CODE></A> handle. +performed using a specified <a href="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><code>Environment</code></a> handle. <p> This method may not be called after the environment has been opened. If joining an existing database environment, any information specified to this method will be ignored. - <p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>maxMutexes</CODE> - The absolute number of mutexes to allocate.</DL> -</DD> -</DL> -<HR> - -<A NAME="getMaxMutexes()"><!-- --></A><H3> -getMaxMutexes</H3> -<PRE> -public int <B>getMaxMutexes</B>()</PRE> -<DL> -<DD>Return the total number of mutexes allocated. + <p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>maxMutexes</code> - The absolute number of mutexes to allocate.</dd></dl> +</li> +</ul> +<a name="getMaxMutexes()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getMaxMutexes</h4> +<pre>public int getMaxMutexes()</pre> +<div class="block">Return the total number of mutexes allocated. <p> This method may be called at any time during the life of the application. -<p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> - -<DT><B>Returns:</B><DD>The total number of mutexes allocated.</DL> -</DD> -</DL> -<HR> - -<A NAME="setMutexTestAndSetSpins(int)"><!-- --></A><H3> -setMutexTestAndSetSpins</H3> -<PRE> -public void <B>setMutexTestAndSetSpins</B>(int mutexTestAndSetSpins)</PRE> -<DL> -<DD>Specify the number of times that test-and-set mutexes should spin +<p></div> +<dl><dt><span class="strong">Returns:</span></dt><dd>The total number of mutexes allocated.</dd></dl> +</li> +</ul> +<a name="setMutexTestAndSetSpins(int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setMutexTestAndSetSpins</h4> +<pre>public void setMutexTestAndSetSpins(int mutexTestAndSetSpins)</pre> +<div class="block">Specify the number of times that test-and-set mutexes should spin without blocking. The value defaults to 1 on uniprocessor systems and to 50 times the number of processors on multiprocessor systems. <p> @@ -6532,262 +5486,194 @@ Because the DB_CONFIG file is read when the database environment is opened, it will silently overrule configuration done before that time. <p> This method configures only operations performed using a single a -<A HREF="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><CODE>Environment</CODE></A> handle, not an entire database environment. +<a href="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><code>Environment</code></a> handle, not an entire database environment. <p> This method may be called at any time during the life of the application. - <p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>mutexTestAndSetSpins</CODE> - The number of spins test-and-set mutexes should execute before blocking.</DL> -</DD> -</DL> -<HR> - -<A NAME="getMutexTestAndSetSpins()"><!-- --></A><H3> -getMutexTestAndSetSpins</H3> -<PRE> -public int <B>getMutexTestAndSetSpins</B>()</PRE> -<DL> -<DD>Return the test-and-set spin count. + <p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>mutexTestAndSetSpins</code> - The number of spins test-and-set mutexes should execute before blocking.</dd></dl> +</li> +</ul> +<a name="getMutexTestAndSetSpins()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getMutexTestAndSetSpins</h4> +<pre>public int getMutexTestAndSetSpins()</pre> +<div class="block">Return the test-and-set spin count. <p> This method may be called at any time during the life of the application. -<p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> - -<DT><B>Returns:</B><DD>The test-and-set spin count.</DL> -</DD> -</DL> -<HR> - -<A NAME="setReplicationNumSites(int)"><!-- --></A><H3> -setReplicationNumSites</H3> -<PRE> -public void <B>setReplicationNumSites</B>(int replicationNumSites)</PRE> -<DL> -<DD>Set the total number of sites the replication group is configured for. +<p></div> +<dl><dt><span class="strong">Returns:</span></dt><dd>The test-and-set spin count.</dd></dl> +</li> +</ul> +<a name="setReplicationNumSites(int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setReplicationNumSites</h4> +<pre>public void setReplicationNumSites(int replicationNumSites)</pre> +<div class="block">Set the total number of sites the replication group is configured for. <p> This method cannot be called by replication manager applications. <p> Note that this value is not automatically populated via a call to - <A HREF="../../../com/sleepycat/db/Environment.html#getConfig()"><CODE>Environment.getConfig()</CODE></A>, explicit initialization is required for all objects. -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>replicationNumSites</CODE> - The total number of sites in the replication group.</DL> -</DD> -</DL> -<HR> - -<A NAME="getReplicationNumSites()"><!-- --></A><H3> -getReplicationNumSites</H3> -<PRE> -public int <B>getReplicationNumSites</B>()</PRE> -<DL> -<DD>Get the total number of sites configured in this EnvironmentConfig object. + <a href="../../../com/sleepycat/db/Environment.html#getConfig()"><code>Environment.getConfig()</code></a>, explicit initialization is required for all objects.</div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>replicationNumSites</code> - The total number of sites in the replication group.</dd></dl> +</li> +</ul> +<a name="getReplicationNumSites()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getReplicationNumSites</h4> +<pre>public int getReplicationNumSites()</pre> +<div class="block">Get the total number of sites configured in this EnvironmentConfig object. <p> This method cannot be called by replication manager applications. <p> - Note that most applications will be looking for the <A HREF="../../../com/sleepycat/db/Environment.html#getReplicationNumSites()"><CODE>Environment.getReplicationNumSites()</CODE></A> method + Note that most applications will be looking for the <a href="../../../com/sleepycat/db/Environment.html#getReplicationNumSites()"><code>Environment.getReplicationNumSites()</code></a> method which returns the number of sites in the replication group as defined by - the underlying environment object. -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> - -<DT><B>Returns:</B><DD>The total number of sites configured in the EnvironmentConfig object.</DL> -</DD> -</DL> -<HR> - -<A NAME="setReplicationPriority(int)"><!-- --></A><H3> -setReplicationPriority</H3> -<PRE> -public void <B>setReplicationPriority</B>(int replicationPriority)</PRE> -<DL> -<DD>Set the current environment's priority. Priority is used to determine + the underlying environment object.</div> +<dl><dt><span class="strong">Returns:</span></dt><dd>The total number of sites configured in the EnvironmentConfig object.</dd></dl> +</li> +</ul> +<a name="setReplicationPriority(int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setReplicationPriority</h4> +<pre>public void setReplicationPriority(int replicationPriority)</pre> +<div class="block">Set the current environment's priority. Priority is used to determine which replicated site will be selected as master when an election occurs. - <p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>replicationPriority</CODE> - The database environment priority.</DL> -</DD> -</DL> -<HR> - -<A NAME="getReplicationPriority()"><!-- --></A><H3> -getReplicationPriority</H3> -<PRE> -public int <B>getReplicationPriority</B>()</PRE> -<DL> -<DD>Get the current environment's priority. Priority is used to determine + <p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>replicationPriority</code> - The database environment priority.</dd></dl> +</li> +</ul> +<a name="getReplicationPriority()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getReplicationPriority</h4> +<pre>public int getReplicationPriority()</pre> +<div class="block">Get the current environment's priority. Priority is used to determine which replicated site will be selected as master when an election occurs. - <p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> - -<DT><B>Returns:</B><DD>The database environment priority.</DL> -</DD> -</DL> -<HR> - -<A NAME="setTestAndSetSpins(int)"><!-- --></A><H3> -setTestAndSetSpins</H3> -<PRE> -public void <B>setTestAndSetSpins</B>(int mutexTestAndSetSpins)</PRE> -<DL> -<DD><B>Deprecated.</B> <I>replaced by <A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setMutexTestAndSetSpins(int)"><CODE>setMutexTestAndSetSpins(int)</CODE></A></I> -<P> -<DD>Set the number of times test-and-set mutexes should spin before + <p></div> +<dl><dt><span class="strong">Returns:</span></dt><dd>The database environment priority.</dd></dl> +</li> +</ul> +<a name="setTestAndSetSpins(int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setTestAndSetSpins</h4> +<pre>public void setTestAndSetSpins(int mutexTestAndSetSpins)</pre> +<div class="block"><span class="strong">Deprecated.</span> <i>replaced by <a href="../../../com/sleepycat/db/EnvironmentConfig.html#setMutexTestAndSetSpins(int)"><code>setMutexTestAndSetSpins(int)</code></a></i></div> +<div class="block">Set the number of times test-and-set mutexes should spin before blocking. <p> The value defaults to 1 on uniprocessor systems and to 50 times the number of processors on multiprocessor systems. <p> This method configures only operations performed using a single a -<A HREF="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><CODE>Environment</CODE></A> handle, not an entire database environment. +<a href="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><code>Environment</code></a> handle, not an entire database environment. <p> This method may be called at any time during the life of the application. - <p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>mutexTestAndSetSpins</CODE> - The number of times test-and-set mutexes should spin before blocking. - <p></DL> -</DD> -</DL> -<HR> - -<A NAME="getTestAndSetSpins()"><!-- --></A><H3> -getTestAndSetSpins</H3> -<PRE> -public int <B>getTestAndSetSpins</B>()</PRE> -<DL> -<DD><B>Deprecated.</B> <I>replaced by <A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getMutexTestAndSetSpins()"><CODE>getMutexTestAndSetSpins()</CODE></A></I> -<P> -<DD>Return the number of times test-and-set mutexes should spin before + <p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>mutexTestAndSetSpins</code> - The number of times test-and-set mutexes should spin before blocking. + <p></dd></dl> +</li> +</ul> +<a name="getTestAndSetSpins()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getTestAndSetSpins</h4> +<pre>public int getTestAndSetSpins()</pre> +<div class="block"><span class="strong">Deprecated.</span> <i>replaced by <a href="../../../com/sleepycat/db/EnvironmentConfig.html#getMutexTestAndSetSpins()"><code>getMutexTestAndSetSpins()</code></a></i></div> +<div class="block">Return the number of times test-and-set mutexes should spin before blocking. <p> This method may be called at any time during the life of the application. -<p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> - -<DT><B>Returns:</B><DD>The number of times test-and-set mutexes should spin before +<p></div> +<dl><dt><span class="strong">Returns:</span></dt><dd>The number of times test-and-set mutexes should spin before blocking. - <p></DL> -</DD> -</DL> -<HR> - -<A NAME="setThreaded(boolean)"><!-- --></A><H3> -setThreaded</H3> -<PRE> -public void <B>setThreaded</B>(boolean threaded)</PRE> -<DL> -<DD>Configure the handle to be <em>free-threaded</em>; that is, usable + <p></dd></dl> +</li> +</ul> +<a name="setThreaded(boolean)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setThreaded</h4> +<pre>public void setThreaded(boolean threaded)</pre> +<div class="block">Configure the handle to be <em>free-threaded</em>; that is, usable by multiple threads within a single address space. <p> This is the default; threading is always assumed in Java, so no special configuration is required. - <p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>threaded</CODE> - If true, configure the handle to be <em>free-threaded</em>.</DL> -</DD> -</DL> -<HR> - -<A NAME="getThreaded()"><!-- --></A><H3> -getThreaded</H3> -<PRE> -public boolean <B>getThreaded</B>()</PRE> -<DL> -<DD>Return true if the handle is configured to be <em>free-threaded</em>. + <p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>threaded</code> - If true, configure the handle to be <em>free-threaded</em>.</dd></dl> +</li> +</ul> +<a name="getThreaded()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getThreaded</h4> +<pre>public boolean getThreaded()</pre> +<div class="block">Return true if the handle is configured to be <em>free-threaded</em>. <p> This method may be called at any time during the life of the application. -<p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> - -<DT><B>Returns:</B><DD>True if the handle is configured to be <em>free-threaded</em>.</DL> -</DD> -</DL> -<HR> - -<A NAME="setTransactional(boolean)"><!-- --></A><H3> -setTransactional</H3> -<PRE> -public void <B>setTransactional</B>(boolean transactional)</PRE> -<DL> -<DD>Configure the database environment for transactions. +<p></div> +<dl><dt><span class="strong">Returns:</span></dt><dd>True if the handle is configured to be <em>free-threaded</em>.</dd></dl> +</li> +</ul> +<a name="setTransactional(boolean)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setTransactional</h4> +<pre>public void setTransactional(boolean transactional)</pre> +<div class="block">Configure the database environment for transactions. <p> This configuration option should be used when transactional guarantees such as atomicity of multiple operations and durability are important. - <p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>transactional</CODE> - If true, configure the database environment for transactions.</DL> -</DD> -</DL> -<HR> - -<A NAME="getTransactional()"><!-- --></A><H3> -getTransactional</H3> -<PRE> -public boolean <B>getTransactional</B>()</PRE> -<DL> -<DD>Return true if the database environment is configured for transactions. + <p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>transactional</code> - If true, configure the database environment for transactions.</dd></dl> +</li> +</ul> +<a name="getTransactional()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getTransactional</h4> +<pre>public boolean getTransactional()</pre> +<div class="block">Return true if the database environment is configured for transactions. <p> This method may be called at any time during the life of the application. -<p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> - -<DT><B>Returns:</B><DD>True if the database environment is configured for transactions.</DL> -</DD> -</DL> -<HR> - -<A NAME="setTxnNoSync(boolean)"><!-- --></A><H3> -setTxnNoSync</H3> -<PRE> -public void <B>setTxnNoSync</B>(boolean txnNoSync)</PRE> -<DL> -<DD>Configure the system to not write or synchronously flush the log +<p></div> +<dl><dt><span class="strong">Returns:</span></dt><dd>True if the database environment is configured for transactions.</dd></dl> +</li> +</ul> +<a name="setTxnNoSync(boolean)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setTxnNoSync</h4> +<pre>public void setTxnNoSync(boolean txnNoSync)</pre> +<div class="block">Configure the system to not write or synchronously flush the log on transaction commit. <p> This means that transactions exhibit the ACI (atomicity, consistency, @@ -6799,101 +5685,79 @@ public void <B>setTxnNoSync</B>(boolean txnNoSync)</PRE> the operating system flushes dirty buffers to disk, and how often the log is checkpointed. <p> - This method only affects the specified <A HREF="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><CODE>Environment</CODE></A> handle (and + This method only affects the specified <a href="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><code>Environment</code></a> handle (and any other library handles opened within the scope of that handle). -For consistent behavior across the environment, all <A HREF="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><CODE>Environment</CODE></A> +For consistent behavior across the environment, all <a href="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><code>Environment</code></a> handles opened in the database environment must either call this method or the configuration should be specified in the database environment's DB_CONFIG configuration file. <p> This method may be called at any time during the life of the application. - <p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>txnNoSync</CODE> - If true, configure the system to not write or synchronously flush - the log on transaction commit.</DL> -</DD> -</DL> -<HR> - -<A NAME="getTxnNoSync()"><!-- --></A><H3> -getTxnNoSync</H3> -<PRE> -public boolean <B>getTxnNoSync</B>()</PRE> -<DL> -<DD>Return true if the system has been configured to not write or synchronously + <p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>txnNoSync</code> - If true, configure the system to not write or synchronously flush + the log on transaction commit.</dd></dl> +</li> +</ul> +<a name="getTxnNoSync()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getTxnNoSync</h4> +<pre>public boolean getTxnNoSync()</pre> +<div class="block">Return true if the system has been configured to not write or synchronously flush the log on transaction commit. <p> This method may be called at any time during the life of the application. -<p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> - -<DT><B>Returns:</B><DD>True if the system has been configured to not write or synchronously - flush the log on transaction commit.</DL> -</DD> -</DL> -<HR> - -<A NAME="setTxnNoWait(boolean)"><!-- --></A><H3> -setTxnNoWait</H3> -<PRE> -public void <B>setTxnNoWait</B>(boolean txnNoWait)</PRE> -<DL> -<DD>If a lock is unavailable for any Berkeley DB operation performed in the - context of a transaction, cause the operation to throw <A HREF="../../../com/sleepycat/db/LockNotGrantedException.html" title="class in com.sleepycat.db"><CODE>LockNotGrantedException</CODE></A> without waiting for the lock. - <p> - This method only affects the specified <A HREF="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><CODE>Environment</CODE></A> handle (and +<p></div> +<dl><dt><span class="strong">Returns:</span></dt><dd>True if the system has been configured to not write or synchronously + flush the log on transaction commit.</dd></dl> +</li> +</ul> +<a name="setTxnNoWait(boolean)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setTxnNoWait</h4> +<pre>public void setTxnNoWait(boolean txnNoWait)</pre> +<div class="block">If a lock is unavailable for any Berkeley DB operation performed in the + context of a transaction, cause the operation to throw <a href="../../../com/sleepycat/db/LockNotGrantedException.html" title="class in com.sleepycat.db"><code>LockNotGrantedException</code></a> without waiting for the lock. + <p> + This method only affects the specified <a href="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><code>Environment</code></a> handle (and any other library handles opened within the scope of that handle). -For consistent behavior across the environment, all <A HREF="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><CODE>Environment</CODE></A> +For consistent behavior across the environment, all <a href="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><code>Environment</code></a> handles opened in the database environment must either call this method or the configuration should be specified in the database environment's DB_CONFIG configuration file. <p> This method may be called at any time during the life of the application. - <p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>txnNoWait</CODE> - If true, configure transactions to not wait for locks by default.</DL> -</DD> -</DL> -<HR> - -<A NAME="getTxnNoWait()"><!-- --></A><H3> -getTxnNoWait</H3> -<PRE> -public boolean <B>getTxnNoWait</B>()</PRE> -<DL> -<DD>Return true if the transactions have been configured to not wait for locks by default. + <p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>txnNoWait</code> - If true, configure transactions to not wait for locks by default.</dd></dl> +</li> +</ul> +<a name="getTxnNoWait()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getTxnNoWait</h4> +<pre>public boolean getTxnNoWait()</pre> +<div class="block">Return true if the transactions have been configured to not wait for locks by default. <p> This method may be called at any time during the life of the application. -<p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> - -<DT><B>Returns:</B><DD>True if the transactions have been configured to not wait for locks by default.</DL> -</DD> -</DL> -<HR> - -<A NAME="setTxnNotDurable(boolean)"><!-- --></A><H3> -setTxnNotDurable</H3> -<PRE> -public void <B>setTxnNotDurable</B>(boolean txnNotDurable)</PRE> -<DL> -<DD>Configure the system to not write log records. +<p></div> +<dl><dt><span class="strong">Returns:</span></dt><dd>True if the transactions have been configured to not wait for locks by default.</dd></dl> +</li> +</ul> +<a name="setTxnNotDurable(boolean)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setTxnNotDurable</h4> +<pre>public void setTxnNotDurable(boolean txnNotDurable)</pre> +<div class="block">Configure the system to not write log records. <p> This means that transactions exhibit the ACI (atomicity, consistency, and isolation) properties, but not D (durability); that is, database @@ -6903,96 +5767,74 @@ public void <B>setTxnNotDurable</B>(boolean txnNotDurable)</PRE> ensure integrity after application shut down, all database handles must be closed without specifying noSync, or all database changes must be flushed from the database environment cache using the - <A HREF="../../../com/sleepycat/db/Environment.html#checkpoint(com.sleepycat.db.CheckpointConfig)"><CODE>Environment.checkpoint</CODE></A>. + <a href="../../../com/sleepycat/db/Environment.html#checkpoint(com.sleepycat.db.CheckpointConfig)"><code>Environment.checkpoint</code></a>. <p> - This method only affects the specified <A HREF="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><CODE>Environment</CODE></A> handle (and + This method only affects the specified <a href="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><code>Environment</code></a> handle (and any other library handles opened within the scope of that handle). -For consistent behavior across the environment, all <A HREF="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><CODE>Environment</CODE></A> +For consistent behavior across the environment, all <a href="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><code>Environment</code></a> handles opened in the database environment must either call this method or the configuration should be specified in the database environment's DB_CONFIG configuration file. <p> This method may be called at any time during the life of the application. - <p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>txnNotDurable</CODE> - If true, configure the system to not write log records.</DL> -</DD> -</DL> -<HR> - -<A NAME="getTxnNotDurable()"><!-- --></A><H3> -getTxnNotDurable</H3> -<PRE> -public boolean <B>getTxnNotDurable</B>()</PRE> -<DL> -<DD>Return true if the system has been configured to not write log records. + <p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>txnNotDurable</code> - If true, configure the system to not write log records.</dd></dl> +</li> +</ul> +<a name="getTxnNotDurable()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getTxnNotDurable</h4> +<pre>public boolean getTxnNotDurable()</pre> +<div class="block">Return true if the system has been configured to not write log records. <p> This method may be called at any time during the life of the application. -<p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> - -<DT><B>Returns:</B><DD>True if the system has been configured to not write log records.</DL> -</DD> -</DL> -<HR> - -<A NAME="setTxnSnapshot(boolean)"><!-- --></A><H3> -setTxnSnapshot</H3> -<PRE> -public void <B>setTxnSnapshot</B>(boolean txnSnapshot)</PRE> -<DL> -<DD>Configure the database environment to run transactions at snapshot - isolation by default. See <A HREF="../../../com/sleepycat/db/TransactionConfig.html#setSnapshot(boolean)"><CODE>TransactionConfig.setSnapshot(boolean)</CODE></A> for more +<p></div> +<dl><dt><span class="strong">Returns:</span></dt><dd>True if the system has been configured to not write log records.</dd></dl> +</li> +</ul> +<a name="setTxnSnapshot(boolean)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setTxnSnapshot</h4> +<pre>public void setTxnSnapshot(boolean txnSnapshot)</pre> +<div class="block">Configure the database environment to run transactions at snapshot + isolation by default. See <a href="../../../com/sleepycat/db/TransactionConfig.html#setSnapshot(boolean)"><code>TransactionConfig.setSnapshot(boolean)</code></a> for more information. <p> This method may be called at any time during the life of the application. - <p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>txnSnapshot</CODE> - If true, configure the system to default to snapshot isolation.</DL> -</DD> -</DL> -<HR> - -<A NAME="getTxnSnapshot()"><!-- --></A><H3> -getTxnSnapshot</H3> -<PRE> -public boolean <B>getTxnSnapshot</B>()</PRE> -<DL> -<DD>Return true if the handle is configured to run all transactions at snapshot + <p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>txnSnapshot</code> - If true, configure the system to default to snapshot isolation.</dd></dl> +</li> +</ul> +<a name="getTxnSnapshot()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getTxnSnapshot</h4> +<pre>public boolean getTxnSnapshot()</pre> +<div class="block">Return true if the handle is configured to run all transactions at snapshot isolation. <p> This method may be called at any time during the life of the application. -<p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> - -<DT><B>Returns:</B><DD>True if the handle is configured to run all transactions at snapshot - isolation.</DL> -</DD> -</DL> -<HR> - -<A NAME="setTxnMaxActive(int)"><!-- --></A><H3> -setTxnMaxActive</H3> -<PRE> -public void <B>setTxnMaxActive</B>(int txnMaxActive)</PRE> -<DL> -<DD>Configure the database environment to support at least txnMaxActive +<p></div> +<dl><dt><span class="strong">Returns:</span></dt><dd>True if the handle is configured to run all transactions at snapshot + isolation.</dd></dl> +</li> +</ul> +<a name="setTxnMaxActive(int)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setTxnMaxActive</h4> +<pre>public void setTxnMaxActive(int txnMaxActive)</pre> +<div class="block">Configure the database environment to support at least txnMaxActive active transactions. <p> This value bounds the size of the memory allocated for transactions. @@ -7000,7 +5842,7 @@ public void <B>setTxnMaxActive</B>(int txnMaxActive)</PRE> or abort. <p> When all of the memory available in the database environment for - transactions is in use, calls to <A HREF="../../../com/sleepycat/db/Environment.html#beginTransaction(com.sleepycat.db.Transaction, com.sleepycat.db.TransactionConfig)"><CODE>Environment.beginTransaction</CODE></A> + transactions is in use, calls to <a href="../../../com/sleepycat/db/Environment.html#beginTransaction(com.sleepycat.db.Transaction,%20com.sleepycat.db.TransactionConfig)"><code>Environment.beginTransaction</code></a> will fail (until some active transactions complete). If this interface is never called, the database environment is configured to support at least 20 active transactions. @@ -7013,52 +5855,41 @@ opened, it will silently overrule configuration done before that time. <p> This method configures a database environment, including all threads of control accessing the database environment, not only the operations -performed using a specified <A HREF="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><CODE>Environment</CODE></A> handle. +performed using a specified <a href="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><code>Environment</code></a> handle. <p> This method may not be called after the environment has been opened. If joining an existing database environment, any information specified to this method will be ignored. - <p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>txnMaxActive</CODE> - The minimum number of simultaneously active transactions supported - by the database environment.</DL> -</DD> -</DL> -<HR> - -<A NAME="getTxnMaxActive()"><!-- --></A><H3> -getTxnMaxActive</H3> -<PRE> -public int <B>getTxnMaxActive</B>()</PRE> -<DL> -<DD>Return the minimum number of simultaneously active transactions supported + <p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>txnMaxActive</code> - The minimum number of simultaneously active transactions supported + by the database environment.</dd></dl> +</li> +</ul> +<a name="getTxnMaxActive()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getTxnMaxActive</h4> +<pre>public int getTxnMaxActive()</pre> +<div class="block">Return the minimum number of simultaneously active transactions supported by the database environment. <p> This method may be called at any time during the life of the application. -<p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> - -<DT><B>Returns:</B><DD>The minimum number of simultaneously active transactions supported - by the database environment.</DL> -</DD> -</DL> -<HR> - -<A NAME="setTxnTimeout(long)"><!-- --></A><H3> -setTxnTimeout</H3> -<PRE> -public void <B>setTxnTimeout</B>(long txnTimeout)</PRE> -<DL> -<DD>Set the timeout value for the database environment +<p></div> +<dl><dt><span class="strong">Returns:</span></dt><dd>The minimum number of simultaneously active transactions supported + by the database environment.</dd></dl> +</li> +</ul> +<a name="setTxnTimeout(long)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setTxnTimeout</h4> +<pre>public void setTxnTimeout(long txnTimeout)</pre> +<div class="block">Set the timeout value for the database environment transactions. <p> Transaction timeouts are checked whenever a thread of control blocks on @@ -7071,59 +5902,48 @@ how often deadlock detection is performed. <p> Timeout values specified for the database environment may be overridden on a -per-transaction basis by <A HREF="../../../com/sleepycat/db/Transaction.html#setTxnTimeout(long)"><CODE>Transaction.setTxnTimeout</CODE></A>. +per-transaction basis by <a href="../../../com/sleepycat/db/Transaction.html#setTxnTimeout(long)"><code>Transaction.setTxnTimeout</code></a>. <p> This method configures a database environment, including all threads of control accessing the database environment, not only the operations -performed using a specified <A HREF="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><CODE>Environment</CODE></A> handle. +performed using a specified <a href="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><code>Environment</code></a> handle. <p> This method may be called at any time during the life of the application. -<p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>txnTimeout</CODE> - The timeout value, specified as an unsigned 32-bit number of +<p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>txnTimeout</code> - The timeout value, specified as an unsigned 32-bit number of microseconds, limiting the maximum timeout to roughly 71 minutes. <p> -<p> -<DT><B>Throws:</B> -<DD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if an invalid parameter was specified. -<p> -<DD><CODE><A HREF="../../../com/sleepycat/db/DatabaseException.html" title="class in com.sleepycat.db">DatabaseException</A></CODE> - if a failure occurs.</DL> -</DD> -</DL> -<HR> - -<A NAME="getTxnTimeout()"><!-- --></A><H3> -getTxnTimeout</H3> -<PRE> -public long <B>getTxnTimeout</B>()</PRE> -<DL> -<DD>Return the database environment transaction timeout value, in +<p></dd> +<dt><span class="strong">Throws:</span></dt> +<dd><code>java.lang.IllegalArgumentException</code> - if an invalid parameter was specified. +<p></dd> +<dd><code><a href="../../../com/sleepycat/db/DatabaseException.html" title="class in com.sleepycat.db">DatabaseException</a></code> - if a failure occurs.</dd></dl> +</li> +</ul> +<a name="getTxnTimeout()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getTxnTimeout</h4> +<pre>public long getTxnTimeout()</pre> +<div class="block">Return the database environment transaction timeout value, in microseconds; a timeout of 0 means no timeout is set. <p> This method may be called at any time during the life of the application. -<p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> - -<DT><B>Returns:</B><DD>The database environment transaction timeout value, in - microseconds; a timeout of 0 means no timeout is set.</DL> -</DD> -</DL> -<HR> - -<A NAME="setTxnTimestamp(java.util.Date)"><!-- --></A><H3> -setTxnTimestamp</H3> -<PRE> -public void <B>setTxnTimestamp</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</A> txnTimestamp)</PRE> -<DL> -<DD>Recover to the specified time rather than to the most current +<p></div> +<dl><dt><span class="strong">Returns:</span></dt><dd>The database environment transaction timeout value, in + microseconds; a timeout of 0 means no timeout is set.</dd></dl> +</li> +</ul> +<a name="setTxnTimestamp(java.util.Date)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setTxnTimestamp</h4> +<pre>public void setTxnTimestamp(java.util.Date txnTimestamp)</pre> +<div class="block">Recover to the specified time rather than to the most current possible date. <p> Once a database environment has been upgraded to a new version of @@ -7131,48 +5951,37 @@ public void <B>setTxnTimestamp</B>(<A HREF="http://download.oracle.com/javase/1. to recover to a specific time before that upgrade. <p> This method configures only operations performed using a single a -<A HREF="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><CODE>Environment</CODE></A> handle, not an entire database environment. +<a href="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><code>Environment</code></a> handle, not an entire database environment. <p> This method may not be called after the environment has been opened. - <p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>txnTimestamp</CODE> - The recovery timestamp. - Only the seconds (not the milliseconds) of the timestamp are used.</DL> -</DD> -</DL> -<HR> - -<A NAME="getTxnTimestamp()"><!-- --></A><H3> -getTxnTimestamp</H3> -<PRE> -public <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</A> <B>getTxnTimestamp</B>()</PRE> -<DL> -<DD>Return the time to which recovery will be done, or 0 if recovery will + <p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>txnTimestamp</code> - The recovery timestamp. + Only the seconds (not the milliseconds) of the timestamp are used.</dd></dl> +</li> +</ul> +<a name="getTxnTimestamp()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getTxnTimestamp</h4> +<pre>public java.util.Date getTxnTimestamp()</pre> +<div class="block">Return the time to which recovery will be done, or 0 if recovery will be done to the most current possible date. - <p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> - -<DT><B>Returns:</B><DD>The time to which recovery will be done, or 0 if recovery will be - done to the most current possible date.</DL> -</DD> -</DL> -<HR> - -<A NAME="setTxnWriteNoSync(boolean)"><!-- --></A><H3> -setTxnWriteNoSync</H3> -<PRE> -public void <B>setTxnWriteNoSync</B>(boolean txnWriteNoSync)</PRE> -<DL> -<DD>Configure the system to write, but not synchronously flush, the log on + <p></div> +<dl><dt><span class="strong">Returns:</span></dt><dd>The time to which recovery will be done, or 0 if recovery will be + done to the most current possible date.</dd></dl> +</li> +</ul> +<a name="setTxnWriteNoSync(boolean)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setTxnWriteNoSync</h4> +<pre>public void setTxnWriteNoSync(boolean txnWriteNoSync)</pre> +<div class="block">Configure the system to write, but not synchronously flush, the log on transaction commit. <p> This means that transactions exhibit the ACI (atomicity, consistency, @@ -7183,100 +5992,78 @@ public void <B>setTxnWriteNoSync</B>(boolean txnWriteNoSync)</PRE> often the system flushes dirty buffers to disk and how often the log is checkpointed. <p> - This method only affects the specified <A HREF="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><CODE>Environment</CODE></A> handle (and + This method only affects the specified <a href="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><code>Environment</code></a> handle (and any other library handles opened within the scope of that handle). -For consistent behavior across the environment, all <A HREF="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><CODE>Environment</CODE></A> +For consistent behavior across the environment, all <a href="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><code>Environment</code></a> handles opened in the database environment must either call this method or the configuration should be specified in the database environment's DB_CONFIG configuration file. <p> This method may be called at any time during the life of the application. - <p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>txnWriteNoSync</CODE> - If true, configure the system to write, but not synchronously flush, - the log on transaction commit.</DL> -</DD> -</DL> -<HR> - -<A NAME="getTxnWriteNoSync()"><!-- --></A><H3> -getTxnWriteNoSync</H3> -<PRE> -public boolean <B>getTxnWriteNoSync</B>()</PRE> -<DL> -<DD>Return true if the system has been configured to write, but not synchronously + <p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>txnWriteNoSync</code> - If true, configure the system to write, but not synchronously flush, + the log on transaction commit.</dd></dl> +</li> +</ul> +<a name="getTxnWriteNoSync()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getTxnWriteNoSync</h4> +<pre>public boolean getTxnWriteNoSync()</pre> +<div class="block">Return true if the system has been configured to write, but not synchronously flush, the log on transaction commit. <p> This method may be called at any time during the life of the application. -<p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> - -<DT><B>Returns:</B><DD>True if the system has been configured to write, but not synchronously - flush, the log on transaction commit.</DL> -</DD> -</DL> -<HR> - -<A NAME="setUseEnvironment(boolean)"><!-- --></A><H3> -setUseEnvironment</H3> -<PRE> -public void <B>setUseEnvironment</B>(boolean useEnvironment)</PRE> -<DL> -<DD>Configure the database environment to accept information from the +<p></div> +<dl><dt><span class="strong">Returns:</span></dt><dd>True if the system has been configured to write, but not synchronously + flush, the log on transaction commit.</dd></dl> +</li> +</ul> +<a name="setUseEnvironment(boolean)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setUseEnvironment</h4> +<pre>public void setUseEnvironment(boolean useEnvironment)</pre> +<div class="block">Configure the database environment to accept information from the process environment when naming files, regardless of the status of the process. <p> Because permitting users to specify which files are used can create security problems, environment information will be used in file naming for all users only if configured to do so. - <p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>useEnvironment</CODE> - If true, configure the database environment to accept information - from the process environment when naming files.</DL> -</DD> -</DL> -<HR> - -<A NAME="getUseEnvironment()"><!-- --></A><H3> -getUseEnvironment</H3> -<PRE> -public boolean <B>getUseEnvironment</B>()</PRE> -<DL> -<DD>Return true if the database environment is configured to accept information + <p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>useEnvironment</code> - If true, configure the database environment to accept information + from the process environment when naming files.</dd></dl> +</li> +</ul> +<a name="getUseEnvironment()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getUseEnvironment</h4> +<pre>public boolean getUseEnvironment()</pre> +<div class="block">Return true if the database environment is configured to accept information from the process environment when naming files. <p> This method may be called at any time during the life of the application. -<p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> - -<DT><B>Returns:</B><DD>True if the database environment is configured to accept information - from the process environment when naming files.</DL> -</DD> -</DL> -<HR> - -<A NAME="setUseEnvironmentRoot(boolean)"><!-- --></A><H3> -setUseEnvironmentRoot</H3> -<PRE> -public void <B>setUseEnvironmentRoot</B>(boolean useEnvironmentRoot)</PRE> -<DL> -<DD>Configure the database environment to accept information from the +<p></div> +<dl><dt><span class="strong">Returns:</span></dt><dd>True if the database environment is configured to accept information + from the process environment when naming files.</dd></dl> +</li> +</ul> +<a name="setUseEnvironmentRoot(boolean)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setUseEnvironmentRoot</h4> +<pre>public void setUseEnvironmentRoot(boolean useEnvironmentRoot)</pre> +<div class="block">Configure the database environment to accept information from the process environment when naming files, if the process has appropriate permissions (for example, users with a user-ID of 0 on UNIX systems). @@ -7284,241 +6071,180 @@ public void <B>setUseEnvironmentRoot</B>(boolean useEnvironmentRoot)</PRE> Because permitting users to specify which files are used can create security problems, environment information will be used in file naming for all users only if configured to do so. - <p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>useEnvironmentRoot</CODE> - If true, configure the database environment to accept information + <p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>useEnvironmentRoot</code> - If true, configure the database environment to accept information from the process environment when naming files if the process has - appropriate permissions.</DL> -</DD> -</DL> -<HR> - -<A NAME="getUseEnvironmentRoot()"><!-- --></A><H3> -getUseEnvironmentRoot</H3> -<PRE> -public boolean <B>getUseEnvironmentRoot</B>()</PRE> -<DL> -<DD>Return true if the database environment is configured to accept information + appropriate permissions.</dd></dl> +</li> +</ul> +<a name="getUseEnvironmentRoot()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getUseEnvironmentRoot</h4> +<pre>public boolean getUseEnvironmentRoot()</pre> +<div class="block">Return true if the database environment is configured to accept information from the process environment when naming files if the process has appropriate permissions. <p> This method may be called at any time during the life of the application. -<p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> - -<DT><B>Returns:</B><DD>True if the database environment is configured to accept information +<p></div> +<dl><dt><span class="strong">Returns:</span></dt><dd>True if the database environment is configured to accept information from the process environment when naming files if the process has - appropriate permissions.</DL> -</DD> -</DL> -<HR> - -<A NAME="setVerbose(com.sleepycat.db.VerboseConfig, boolean)"><!-- --></A><H3> -setVerbose</H3> -<PRE> -public void <B>setVerbose</B>(<A HREF="../../../com/sleepycat/db/VerboseConfig.html" title="class in com.sleepycat.db">VerboseConfig</A> flag, - boolean enable)</PRE> -<DL> -<DD>Display verbose information. + appropriate permissions.</dd></dl> +</li> +</ul> +<a name="setVerbose(com.sleepycat.db.VerboseConfig, boolean)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setVerbose</h4> +<pre>public void setVerbose(<a href="../../../com/sleepycat/db/VerboseConfig.html" title="class in com.sleepycat.db">VerboseConfig</a> flag, + boolean enable)</pre> +<div class="block">Display verbose information. <p> This method may be called at any time during the life of the application. - <p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>flag</CODE> - The type of verbose information being configured. - <p><DD><CODE>enable</CODE> - If true, display additional information.</DL> -</DD> -</DL> -<HR> - -<A NAME="getVerbose(com.sleepycat.db.VerboseConfig)"><!-- --></A><H3> -getVerbose</H3> -<PRE> -public boolean <B>getVerbose</B>(<A HREF="../../../com/sleepycat/db/VerboseConfig.html" title="class in com.sleepycat.db">VerboseConfig</A> flag)</PRE> -<DL> -<DD>Return if the database environment is configured to display + <p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>flag</code> - The type of verbose information being configured. + <p></dd><dd><code>enable</code> - If true, display additional information.</dd></dl> +</li> +</ul> +<a name="getVerbose(com.sleepycat.db.VerboseConfig)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getVerbose</h4> +<pre>public boolean getVerbose(<a href="../../../com/sleepycat/db/VerboseConfig.html" title="class in com.sleepycat.db">VerboseConfig</a> flag)</pre> +<div class="block">Return if the database environment is configured to display a given type of verbose information. <p> This method may be called at any time during the life of the application. - <p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>flag</CODE> - The type of verbose information being queried. - <p> -<DT><B>Returns:</B><DD>If the database environment is configured to display additional - information of the specified type.</DL> -</DD> -</DL> -<HR> - -<A NAME="setVerboseDeadlock(boolean)"><!-- --></A><H3> -setVerboseDeadlock</H3> -<PRE> -public void <B>setVerboseDeadlock</B>(boolean verboseDeadlock)</PRE> -<DL> -<DD><B>Deprecated.</B> <I>replaced by <A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setVerbose(com.sleepycat.db.VerboseConfig, boolean)"><CODE>setVerbose(com.sleepycat.db.VerboseConfig, boolean)</CODE></A></I> -<P> -<DD>Display additional information when doing deadlock detection. + <p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>flag</code> - The type of verbose information being queried. + <p></dd> +<dt><span class="strong">Returns:</span></dt><dd>If the database environment is configured to display additional + information of the specified type.</dd></dl> +</li> +</ul> +<a name="setVerboseDeadlock(boolean)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setVerboseDeadlock</h4> +<pre>public void setVerboseDeadlock(boolean verboseDeadlock)</pre> +<div class="block"><span class="strong">Deprecated.</span> <i>replaced by <a href="../../../com/sleepycat/db/EnvironmentConfig.html#setVerbose(com.sleepycat.db.VerboseConfig,%20boolean)"><code>setVerbose(com.sleepycat.db.VerboseConfig, boolean)</code></a></i></div> +<div class="block">Display additional information when doing deadlock detection. <p> This method may be called at any time during the life of the application. - <p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>verboseDeadlock</CODE> - If true, display additional information when doing deadlock + <p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>verboseDeadlock</code> - If true, display additional information when doing deadlock detection. - <p></DL> -</DD> -</DL> -<HR> - -<A NAME="getVerboseDeadlock()"><!-- --></A><H3> -getVerboseDeadlock</H3> -<PRE> -public boolean <B>getVerboseDeadlock</B>()</PRE> -<DL> -<DD><B>Deprecated.</B> <I>replaced by <A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getVerbose(com.sleepycat.db.VerboseConfig)"><CODE>getVerbose(com.sleepycat.db.VerboseConfig)</CODE></A></I> -<P> -<DD>Return if the database environment is configured to display + <p></dd></dl> +</li> +</ul> +<a name="getVerboseDeadlock()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getVerboseDeadlock</h4> +<pre>public boolean getVerboseDeadlock()</pre> +<div class="block"><span class="strong">Deprecated.</span> <i>replaced by <a href="../../../com/sleepycat/db/EnvironmentConfig.html#getVerbose(com.sleepycat.db.VerboseConfig)"><code>getVerbose(com.sleepycat.db.VerboseConfig)</code></a></i></div> +<div class="block">Return if the database environment is configured to display additional information when doing deadlock detection. <p> This method may be called at any time during the life of the application. - <p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> - -<DT><B>Returns:</B><DD>If the database environment is configured to display additional + <p></div> +<dl><dt><span class="strong">Returns:</span></dt><dd>If the database environment is configured to display additional information when doing deadlock detection. - <p></DL> -</DD> -</DL> -<HR> - -<A NAME="setVerboseRecovery(boolean)"><!-- --></A><H3> -setVerboseRecovery</H3> -<PRE> -public void <B>setVerboseRecovery</B>(boolean verboseRecovery)</PRE> -<DL> -<DD><B>Deprecated.</B> <I>replaced by <A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setVerbose(com.sleepycat.db.VerboseConfig, boolean)"><CODE>setVerbose(com.sleepycat.db.VerboseConfig, boolean)</CODE></A></I> -<P> -<DD>Display additional information when performing recovery. + <p></dd></dl> +</li> +</ul> +<a name="setVerboseRecovery(boolean)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setVerboseRecovery</h4> +<pre>public void setVerboseRecovery(boolean verboseRecovery)</pre> +<div class="block"><span class="strong">Deprecated.</span> <i>replaced by <a href="../../../com/sleepycat/db/EnvironmentConfig.html#setVerbose(com.sleepycat.db.VerboseConfig,%20boolean)"><code>setVerbose(com.sleepycat.db.VerboseConfig, boolean)</code></a></i></div> +<div class="block">Display additional information when performing recovery. <p> This method may be called at any time during the life of the application. - <p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>verboseRecovery</CODE> - If true, display additional information when performing recovery. - <p></DL> -</DD> -</DL> -<HR> - -<A NAME="getVerboseRecovery()"><!-- --></A><H3> -getVerboseRecovery</H3> -<PRE> -public boolean <B>getVerboseRecovery</B>()</PRE> -<DL> -<DD><B>Deprecated.</B> <I>replaced by <A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getVerbose(com.sleepycat.db.VerboseConfig)"><CODE>getVerbose(com.sleepycat.db.VerboseConfig)</CODE></A></I> -<P> -<DD>Return if the database environment is configured to display + <p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>verboseRecovery</code> - If true, display additional information when performing recovery. + <p></dd></dl> +</li> +</ul> +<a name="getVerboseRecovery()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getVerboseRecovery</h4> +<pre>public boolean getVerboseRecovery()</pre> +<div class="block"><span class="strong">Deprecated.</span> <i>replaced by <a href="../../../com/sleepycat/db/EnvironmentConfig.html#getVerbose(com.sleepycat.db.VerboseConfig)"><code>getVerbose(com.sleepycat.db.VerboseConfig)</code></a></i></div> +<div class="block">Return if the database environment is configured to display additional information when performing recovery. <p> This method may be called at any time during the life of the application. - <p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> - -<DT><B>Returns:</B><DD>If the database environment is configured to display additional + <p></div> +<dl><dt><span class="strong">Returns:</span></dt><dd>If the database environment is configured to display additional information when performing recovery. - <p></DL> -</DD> -</DL> -<HR> - -<A NAME="setVerboseRegister(boolean)"><!-- --></A><H3> -setVerboseRegister</H3> -<PRE> -public void <B>setVerboseRegister</B>(boolean verboseRegister)</PRE> -<DL> -<DD><B>Deprecated.</B> <I>replaced by <A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setVerbose(com.sleepycat.db.VerboseConfig, boolean)"><CODE>setVerbose(com.sleepycat.db.VerboseConfig, boolean)</CODE></A></I> -<P> -<DD>Display additional information concerning support for the - <A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setRegister(boolean)"><CODE>setRegister(boolean)</CODE></A> method. + <p></dd></dl> +</li> +</ul> +<a name="setVerboseRegister(boolean)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setVerboseRegister</h4> +<pre>public void setVerboseRegister(boolean verboseRegister)</pre> +<div class="block"><span class="strong">Deprecated.</span> <i>replaced by <a href="../../../com/sleepycat/db/EnvironmentConfig.html#setVerbose(com.sleepycat.db.VerboseConfig,%20boolean)"><code>setVerbose(com.sleepycat.db.VerboseConfig, boolean)</code></a></i></div> +<div class="block">Display additional information concerning support for the + <a href="../../../com/sleepycat/db/EnvironmentConfig.html#setRegister(boolean)"><code>setRegister(boolean)</code></a> method. <p> This method may be called at any time during the life of the application. - <p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>verboseRegister</CODE> - If true, display additional information concerning support for the - <A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setRegister(boolean)"><CODE>setRegister(boolean)</CODE></A> method - <p></DL> -</DD> -</DL> -<HR> - -<A NAME="getVerboseRegister()"><!-- --></A><H3> -getVerboseRegister</H3> -<PRE> -public boolean <B>getVerboseRegister</B>()</PRE> -<DL> -<DD><B>Deprecated.</B> <I>replaced by <A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getVerbose(com.sleepycat.db.VerboseConfig)"><CODE>getVerbose(com.sleepycat.db.VerboseConfig)</CODE></A></I> -<P> -<DD>Return if the database environment is configured to display + <p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>verboseRegister</code> - If true, display additional information concerning support for the + <a href="../../../com/sleepycat/db/EnvironmentConfig.html#setRegister(boolean)"><code>setRegister(boolean)</code></a> method + <p></dd></dl> +</li> +</ul> +<a name="getVerboseRegister()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getVerboseRegister</h4> +<pre>public boolean getVerboseRegister()</pre> +<div class="block"><span class="strong">Deprecated.</span> <i>replaced by <a href="../../../com/sleepycat/db/EnvironmentConfig.html#getVerbose(com.sleepycat.db.VerboseConfig)"><code>getVerbose(com.sleepycat.db.VerboseConfig)</code></a></i></div> +<div class="block">Return if the database environment is configured to display additional information concerning support for the - <A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setRegister(boolean)"><CODE>setRegister(boolean)</CODE></A> method. + <a href="../../../com/sleepycat/db/EnvironmentConfig.html#setRegister(boolean)"><code>setRegister(boolean)</code></a> method. <p> This method may be called at any time during the life of the application. - <p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> - -<DT><B>Returns:</B><DD>If the database environment is configured to display additional + <p></div> +<dl><dt><span class="strong">Returns:</span></dt><dd>If the database environment is configured to display additional information concerning support for the - <A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setRegister(boolean)"><CODE>setRegister(boolean)</CODE></A> method. - <p></DL> -</DD> -</DL> -<HR> - -<A NAME="setVerboseReplication(boolean)"><!-- --></A><H3> -setVerboseReplication</H3> -<PRE> -public void <B>setVerboseReplication</B>(boolean verboseReplication)</PRE> -<DL> -<DD><B>Deprecated.</B> <I>replaced by <A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setVerbose(com.sleepycat.db.VerboseConfig, boolean)"><CODE>setVerbose(com.sleepycat.db.VerboseConfig, boolean)</CODE></A></I> -<P> -<DD>Display additional information when processing replication messages. + <a href="../../../com/sleepycat/db/EnvironmentConfig.html#setRegister(boolean)"><code>setRegister(boolean)</code></a> method. + <p></dd></dl> +</li> +</ul> +<a name="setVerboseReplication(boolean)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setVerboseReplication</h4> +<pre>public void setVerboseReplication(boolean verboseReplication)</pre> +<div class="block"><span class="strong">Deprecated.</span> <i>replaced by <a href="../../../com/sleepycat/db/EnvironmentConfig.html#setVerbose(com.sleepycat.db.VerboseConfig,%20boolean)"><code>setVerbose(com.sleepycat.db.VerboseConfig, boolean)</code></a></i></div> +<div class="block">Display additional information when processing replication messages. <p> Note, to get complete replication logging when debugging replication applications, you must also configure and build the Berkeley DB @@ -7526,203 +6252,174 @@ public void <B>setVerboseReplication</B>(boolean verboseReplication)</PRE> as call this method. <p> This method may be called at any time during the life of the application. - <p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>verboseReplication</CODE> - If true, display additional information when processing replication + <p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>verboseReplication</code> - If true, display additional information when processing replication messages. - <p></DL> -</DD> -</DL> -<HR> - -<A NAME="getVerboseReplication()"><!-- --></A><H3> -getVerboseReplication</H3> -<PRE> -public boolean <B>getVerboseReplication</B>()</PRE> -<DL> -<DD><B>Deprecated.</B> <I>replaced by <A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getVerbose(com.sleepycat.db.VerboseConfig)"><CODE>getVerbose(com.sleepycat.db.VerboseConfig)</CODE></A></I> -<P> -<DD>Return if the database environment is configured to display + <p></dd></dl> +</li> +</ul> +<a name="getVerboseReplication()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getVerboseReplication</h4> +<pre>public boolean getVerboseReplication()</pre> +<div class="block"><span class="strong">Deprecated.</span> <i>replaced by <a href="../../../com/sleepycat/db/EnvironmentConfig.html#getVerbose(com.sleepycat.db.VerboseConfig)"><code>getVerbose(com.sleepycat.db.VerboseConfig)</code></a></i></div> +<div class="block">Return if the database environment is configured to display additional information when processing replication messages. <p> This method may be called at any time during the life of the application. - <p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> - -<DT><B>Returns:</B><DD>If the database environment is configured to display additional + <p></div> +<dl><dt><span class="strong">Returns:</span></dt><dd>If the database environment is configured to display additional information when processing replication messages. - <p></DL> -</DD> -</DL> -<HR> - -<A NAME="setVerboseWaitsFor(boolean)"><!-- --></A><H3> -setVerboseWaitsFor</H3> -<PRE> -public void <B>setVerboseWaitsFor</B>(boolean verboseWaitsFor)</PRE> -<DL> -<DD><B>Deprecated.</B> <I>replaced by <A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setVerbose(com.sleepycat.db.VerboseConfig, boolean)"><CODE>setVerbose(com.sleepycat.db.VerboseConfig, boolean)</CODE></A></I> -<P> -<DD>Display the waits-for table when doing deadlock detection. + <p></dd></dl> +</li> +</ul> +<a name="setVerboseWaitsFor(boolean)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setVerboseWaitsFor</h4> +<pre>public void setVerboseWaitsFor(boolean verboseWaitsFor)</pre> +<div class="block"><span class="strong">Deprecated.</span> <i>replaced by <a href="../../../com/sleepycat/db/EnvironmentConfig.html#setVerbose(com.sleepycat.db.VerboseConfig,%20boolean)"><code>setVerbose(com.sleepycat.db.VerboseConfig, boolean)</code></a></i></div> +<div class="block">Display the waits-for table when doing deadlock detection. <p> This method may be called at any time during the life of the application. - <p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>verboseWaitsFor</CODE> - If true, display the waits-for table when doing deadlock detection. - <p></DL> -</DD> -</DL> -<HR> - -<A NAME="getVerboseWaitsFor()"><!-- --></A><H3> -getVerboseWaitsFor</H3> -<PRE> -public boolean <B>getVerboseWaitsFor</B>()</PRE> -<DL> -<DD><B>Deprecated.</B> <I>replaced by <A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#getVerbose(com.sleepycat.db.VerboseConfig)"><CODE>getVerbose(com.sleepycat.db.VerboseConfig)</CODE></A></I> -<P> -<DD>Return if the database environment is configured to display the + <p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>verboseWaitsFor</code> - If true, display the waits-for table when doing deadlock detection. + <p></dd></dl> +</li> +</ul> +<a name="getVerboseWaitsFor()"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getVerboseWaitsFor</h4> +<pre>public boolean getVerboseWaitsFor()</pre> +<div class="block"><span class="strong">Deprecated.</span> <i>replaced by <a href="../../../com/sleepycat/db/EnvironmentConfig.html#getVerbose(com.sleepycat.db.VerboseConfig)"><code>getVerbose(com.sleepycat.db.VerboseConfig)</code></a></i></div> +<div class="block">Return if the database environment is configured to display the waits-for table when doing deadlock detection. <p> This method may be called at any time during the life of the application. - <p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> - -<DT><B>Returns:</B><DD>If the database environment is configured to display the waits-for + <p></div> +<dl><dt><span class="strong">Returns:</span></dt><dd>If the database environment is configured to display the waits-for table when doing deadlock detection. - <p></DL> -</DD> -</DL> -<HR> - -<A NAME="setYieldCPU(boolean)"><!-- --></A><H3> -setYieldCPU</H3> -<PRE> -public void <B>setYieldCPU</B>(boolean yieldCPU)</PRE> -<DL> -<DD>Configure the system to yield the processor immediately after each + <p></dd></dl> +</li> +</ul> +<a name="setYieldCPU(boolean)"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setYieldCPU</h4> +<pre>public void setYieldCPU(boolean yieldCPU)</pre> +<div class="block">Configure the system to yield the processor immediately after each page or mutex acquisition. <p> This functionality should never be used for purposes other than stress testing. <p> - This method only affects the specified <A HREF="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><CODE>Environment</CODE></A> handle (and + This method only affects the specified <a href="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><code>Environment</code></a> handle (and any other library handles opened within the scope of that handle). -For consistent behavior across the environment, all <A HREF="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><CODE>Environment</CODE></A> +For consistent behavior across the environment, all <a href="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><code>Environment</code></a> handles opened in the database environment must either call this method or the configuration should be specified in the database environment's DB_CONFIG configuration file. <p> This method may be called at any time during the life of the application. - <p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>yieldCPU</CODE> - If true, configure the system to yield the processor immediately - after each page or mutex acquisition.</DL> -</DD> -</DL> -<HR> - -<A NAME="getYieldCPU()"><!-- --></A><H3> -getYieldCPU</H3> -<PRE> -public boolean <B>getYieldCPU</B>()</PRE> -<DL> -<DD>Return true if the system has been configured to yield the processor + <p></div> +<dl><dt><span class="strong">Parameters:</span></dt><dd><code>yieldCPU</code> - If true, configure the system to yield the processor immediately + after each page or mutex acquisition.</dd></dl> +</li> +</ul> +<a name="getYieldCPU()"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>getYieldCPU</h4> +<pre>public boolean getYieldCPU()</pre> +<div class="block">Return true if the system has been configured to yield the processor immediately after each page or mutex acquisition. <p> This method may be called at any time during the life of the application. -<p> -<P> -<DD><DL> -</DL> -</DD> -<DD><DL> - -<DT><B>Returns:</B><DD>True if the system has been configured to yield the processor - immediately after each page or mutex acquisition.</DL> -</DD> -</DL> +<p></div> +<dl><dt><span class="strong">Returns:</span></dt><dd>True if the system has been configured to yield the processor + immediately after each page or mutex acquisition.</dd></dl> +</li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +</div> <!-- ========= END OF CLASS DATA ========= --> -<HR> - - <!-- ======= START OF BOTTOM NAVBAR ====== --> -<A NAME="navbar_bottom"><!-- --></A> -<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> -<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> -<TR> -<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> -<A NAME="navbar_bottom_firstrow"><!-- --></A> -<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> - <TR ALIGN="center" VALIGN="top"> - <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> - <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> - <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> - <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/EnvironmentConfig.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> - <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> - <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> - <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> - <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> - </TR> -</TABLE> -</TD> -<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> -<b>Berkeley DB</b><br><font size="-1"> version 5.3.21</font></EM> -</TD> -</TR> - -<TR> -<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> - <A HREF="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><B>PREV CLASS</B></A> - <A HREF="../../../com/sleepycat/db/ErrorHandler.html" title="interface in com.sleepycat.db"><B>NEXT CLASS</B></A></FONT></TD> -<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> - <A HREF="../../../index.html?com/sleepycat/db/EnvironmentConfig.html" target="_top"><B>FRAMES</B></A> - <A HREF="EnvironmentConfig.html" target="_top"><B>NO FRAMES</B></A> - <SCRIPT type="text/javascript"> - <!-- +<div class="bottomNav"><a name="navbar_bottom"> +<!-- --> +</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="class-use/EnvironmentConfig.html">Use</a></li> +<li><a href="package-tree.html">Tree</a></li> +<li><a href="../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../index-all.html">Index</a></li> +<li><a href="../../../help-doc.html">Help</a></li> +</ul> +<div class="aboutLanguage"><em><b>Berkeley DB</b><br><font size="-1"> version 6.1.23</font></em></div> +</div> +<div class="subNav"> +<ul class="navList"> +<li><a href="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db"><span class="strong">Prev Class</span></a></li> +<li><a href="../../../com/sleepycat/db/ErrorHandler.html" title="interface in com.sleepycat.db"><span class="strong">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?com/sleepycat/db/EnvironmentConfig.html" target="_top">Frames</a></li> +<li><a href="EnvironmentConfig.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_bottom"> +<li><a href="../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_bottom"); if(window==top) { - document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; } //--> -</SCRIPT> -<NOSCRIPT> - <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> -</NOSCRIPT> - - -</FONT></TD> -</TR> -<TR> -<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> - SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> -<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> -DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> -</TR> -</TABLE> -<A NAME="skip-navbar_bottom"></A> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li>Nested | </li> +<li><a href="#field_summary">Field</a> | </li> +<li><a href="#constructor_summary">Constr</a> | </li> +<li><a href="#method_summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li><a href="#field_detail">Field</a> | </li> +<li><a href="#constructor_detail">Constr</a> | </li> +<li><a href="#method_detail">Method</a></li> +</ul> +</div> +<a name="skip-navbar_bottom"> +<!-- --> +</a></div> <!-- ======== END OF BOTTOM NAVBAR ======= --> - -<HR> -<font size=1>Copyright (c) 1996, 2012 Oracle and/or its affiliates. All rights reserved.</font> -</BODY> -</HTML> +<p class="legalCopy"><small><font size=1>Copyright (c) 1996, 2015 Oracle and/or its affiliates. All rights reserved.</font></small></p> +</body> +</html> |
