1133 lines
36 KiB
HTML
1133 lines
36 KiB
HTML
<!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.5.0) on Thu May 15 17:17:31 EDT 2008 -->
|
|
<TITLE>
|
|
LockStats (Oracle - Berkeley DB Java API)
|
|
</TITLE>
|
|
|
|
<META NAME="keywords" CONTENT="com.sleepycat.db.LockStats class">
|
|
|
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../style.css" TITLE="Style">
|
|
|
|
<SCRIPT type="text/javascript">
|
|
function windowTitle()
|
|
{
|
|
parent.document.title="LockStats (Oracle - Berkeley DB Java API)";
|
|
}
|
|
</SCRIPT>
|
|
<NOSCRIPT>
|
|
</NOSCRIPT>
|
|
|
|
</HEAD>
|
|
|
|
<BODY BGCOLOR="white" onload="windowTitle();">
|
|
|
|
|
|
<!-- ========= 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/LockStats.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 4.7.25</font></EM>
|
|
</TD>
|
|
</TR>
|
|
|
|
<TR>
|
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
<A HREF="../../../com/sleepycat/db/LockRequestMode.html" title="class in com.sleepycat.db"><B>PREV CLASS</B></A>
|
|
<A HREF="../../../com/sleepycat/db/LogCursor.html" title="class 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/LockStats.html" target="_top"><B>FRAMES</B></A>
|
|
<A HREF="LockStats.html" target="_top"><B>NO FRAMES</B></A>
|
|
<SCRIPT type="text/javascript">
|
|
<!--
|
|
if(window==top) {
|
|
document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
|
}
|
|
//-->
|
|
</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 | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
|
</TR>
|
|
</TABLE>
|
|
<A NAME="skip-navbar_top"></A>
|
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
|
|
|
<HR>
|
|
<!-- ======== START OF CLASS DATA ======== -->
|
|
<H2>
|
|
<FONT SIZE="-1">
|
|
com.sleepycat.db</FONT>
|
|
<BR>
|
|
Class LockStats</H2>
|
|
<PRE>
|
|
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">java.lang.Object</A>
|
|
<IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>com.sleepycat.db.LockStats</B>
|
|
</PRE>
|
|
<HR>
|
|
<DL>
|
|
<DT><PRE>public class <B>LockStats</B><DT>extends <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></DL>
|
|
</PRE>
|
|
|
|
<P>
|
|
Lock statistics for a database environment.
|
|
<P>
|
|
|
|
<P>
|
|
<HR>
|
|
|
|
<P>
|
|
|
|
<!-- ========== 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> int</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/sleepycat/db/LockStats.html#getCurMaxId()">getCurMaxId</A></B>()</CODE>
|
|
|
|
<BR>
|
|
</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/LockStats.html#getHashLen()">getHashLen</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Maximum length of a lock hash bucket.</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/LockStats.html#getId()">getId</A></B>()</CODE>
|
|
|
|
<BR>
|
|
The last allocated locker ID.</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/LockStats.html#getLockersNowait()">getLockersNowait</A></B>()</CODE>
|
|
|
|
<BR>
|
|
The number of requests to allocate or deallocate a locker for which the
|
|
thread of control did not wait.</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/LockStats.html#getLockersWait()">getLockersWait</A></B>()</CODE>
|
|
|
|
<BR>
|
|
The number of requests to allocate or deallocate a locker for which the
|
|
thread of control waited.</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/LockStats.html#getLockNowait()">getLockNowait</A></B>()</CODE>
|
|
|
|
<BR>
|
|
The number of lock requests not immediately available due to conflicts,
|
|
for which the thread of control did not wait.</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/LockStats.html#getLocksteals()">getLocksteals</A></B>()</CODE>
|
|
|
|
<BR>
|
|
The maximum number of locks stolen for an empty partition.</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/LockStats.html#getLockTimeout()">getLockTimeout</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Lock timeout value.</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/LockStats.html#getLockWait()">getLockWait</A></B>()</CODE>
|
|
|
|
<BR>
|
|
The number of lock requests not immediately available due to conflicts,
|
|
for which the thread of control waited.</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/LockStats.html#getMaxHlocks()">getMaxHlocks</A></B>()</CODE>
|
|
|
|
<BR>
|
|
The maximum number of locks in any hash bucket at any one time.</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/LockStats.html#getMaxHobjects()">getMaxHobjects</A></B>()</CODE>
|
|
|
|
<BR>
|
|
The maximum number of objects in any hash bucket at any one time.</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/LockStats.html#getMaxLockers()">getMaxLockers</A></B>()</CODE>
|
|
|
|
<BR>
|
|
The maximum number of lockers possible.</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/LockStats.html#getMaxLocks()">getMaxLocks</A></B>()</CODE>
|
|
|
|
<BR>
|
|
The maximum number of locks possible.</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/LockStats.html#getMaxLsteals()">getMaxLsteals</A></B>()</CODE>
|
|
|
|
<BR>
|
|
The maximum number of lock steals for any one partition.</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/LockStats.html#getMaxNlockers()">getMaxNlockers</A></B>()</CODE>
|
|
|
|
<BR>
|
|
The maximum number of lockers at any one time.</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/LockStats.html#getMaxNlocks()">getMaxNlocks</A></B>()</CODE>
|
|
|
|
<BR>
|
|
The maximum number of locks at any one time.</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/LockStats.html#getMaxNobjects()">getMaxNobjects</A></B>()</CODE>
|
|
|
|
<BR>
|
|
The maximum number of lock objects at any one time.</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/LockStats.html#getMaxObjects()">getMaxObjects</A></B>()</CODE>
|
|
|
|
<BR>
|
|
The maximum number of lock objects possible.</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/LockStats.html#getMaxOsteals()">getMaxOsteals</A></B>()</CODE>
|
|
|
|
<BR>
|
|
The maximum number of object steals for any one partition.</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/LockStats.html#getNobjects()">getNobjects</A></B>()</CODE>
|
|
|
|
<BR>
|
|
The number of current lock 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/LockStats.html#getNumDeadlocks()">getNumDeadlocks</A></B>()</CODE>
|
|
|
|
<BR>
|
|
The number of deadlocks.</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/LockStats.html#getNumDowngrade()">getNumDowngrade</A></B>()</CODE>
|
|
|
|
<BR>
|
|
The total number of locks downgraded.</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/LockStats.html#getNumLockers()">getNumLockers</A></B>()</CODE>
|
|
|
|
<BR>
|
|
The number of current 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/LockStats.html#getNumLocks()">getNumLocks</A></B>()</CODE>
|
|
|
|
<BR>
|
|
The number of current 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/LockStats.html#getNumLockTimeouts()">getNumLockTimeouts</A></B>()</CODE>
|
|
|
|
<BR>
|
|
The number of lock requests that have timed out.</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/LockStats.html#getNumModes()">getNumModes</A></B>()</CODE>
|
|
|
|
<BR>
|
|
The number of lock modes.</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/LockStats.html#getNumReleases()">getNumReleases</A></B>()</CODE>
|
|
|
|
<BR>
|
|
The total number of locks released.</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/LockStats.html#getNumRequests()">getNumRequests</A></B>()</CODE>
|
|
|
|
<BR>
|
|
The total number of locks requested.</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/LockStats.html#getNumTxnTimeouts()">getNumTxnTimeouts</A></B>()</CODE>
|
|
|
|
<BR>
|
|
The number of transactions that have timed out.</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/LockStats.html#getNumUpgrade()">getNumUpgrade</A></B>()</CODE>
|
|
|
|
<BR>
|
|
The total number of locks upgraded.</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/LockStats.html#getObjectsteals()">getObjectsteals</A></B>()</CODE>
|
|
|
|
<BR>
|
|
The maximum number of objects stolen for an empty partition.</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/LockStats.html#getObjsNowait()">getObjsNowait</A></B>()</CODE>
|
|
|
|
<BR>
|
|
The number of requests to allocate or deallocate an object for which the
|
|
thread of control did not wait.</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/LockStats.html#getObjsWait()">getObjsWait</A></B>()</CODE>
|
|
|
|
<BR>
|
|
The number of requests to allocate or deallocate an object for which the
|
|
thread of control waited.</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/LockStats.html#getPartitions()">getPartitions</A></B>()</CODE>
|
|
|
|
<BR>
|
|
The number of lock table partitions.</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/LockStats.html#getPartMaxNowait()">getPartMaxNowait</A></B>()</CODE>
|
|
|
|
<BR>
|
|
The number of times that a thread of control was able to obtain any one
|
|
lock partition mutex without waiting.</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/LockStats.html#getPartMaxWait()">getPartMaxWait</A></B>()</CODE>
|
|
|
|
<BR>
|
|
The maximum number of times that a thread of control was forced to wait
|
|
before obtaining any one lock partition mutex.</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/LockStats.html#getPartNowait()">getPartNowait</A></B>()</CODE>
|
|
|
|
<BR>
|
|
The number of times that a thread of control was able to obtain a lock
|
|
partition mutex without waiting.</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/LockStats.html#getPartWait()">getPartWait</A></B>()</CODE>
|
|
|
|
<BR>
|
|
The number of times that a thread of control was forced to wait before
|
|
obtaining a lock partition mutex.</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/LockStats.html#getRegionNowait()">getRegionNowait</A></B>()</CODE>
|
|
|
|
<BR>
|
|
The number of times that a thread of control was able to obtain the
|
|
region lock without waiting.</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/LockStats.html#getRegionWait()">getRegionWait</A></B>()</CODE>
|
|
|
|
<BR>
|
|
The number of times that a thread of control was forced to wait
|
|
before obtaining the region lock.</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/LockStats.html#getRegSize()">getRegSize</A></B>()</CODE>
|
|
|
|
<BR>
|
|
The size of the lock region.</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/LockStats.html#getTxnTimeout()">getTxnTimeout</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Transaction timeout value.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../com/sleepycat/db/LockStats.html#toString()">toString</A></B>()</CODE>
|
|
|
|
<BR>
|
|
For convenience, the LockStats class has a toString method
|
|
that lists all the data fields.</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://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></B></TH>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<P>
|
|
|
|
<!-- ============ 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="getId()"><!-- --></A><H3>
|
|
getId</H3>
|
|
<PRE>
|
|
public int <B>getId</B>()</PRE>
|
|
<DL>
|
|
<DD>The last allocated locker ID.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getCurMaxId()"><!-- --></A><H3>
|
|
getCurMaxId</H3>
|
|
<PRE>
|
|
public int <B>getCurMaxId</B>()</PRE>
|
|
<DL>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getMaxLocks()"><!-- --></A><H3>
|
|
getMaxLocks</H3>
|
|
<PRE>
|
|
public int <B>getMaxLocks</B>()</PRE>
|
|
<DL>
|
|
<DD>The maximum number of locks possible.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getMaxLockers()"><!-- --></A><H3>
|
|
getMaxLockers</H3>
|
|
<PRE>
|
|
public int <B>getMaxLockers</B>()</PRE>
|
|
<DL>
|
|
<DD>The maximum number of lockers possible.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getMaxObjects()"><!-- --></A><H3>
|
|
getMaxObjects</H3>
|
|
<PRE>
|
|
public int <B>getMaxObjects</B>()</PRE>
|
|
<DL>
|
|
<DD>The maximum number of lock objects possible.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getPartitions()"><!-- --></A><H3>
|
|
getPartitions</H3>
|
|
<PRE>
|
|
public int <B>getPartitions</B>()</PRE>
|
|
<DL>
|
|
<DD>The number of lock table partitions.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getNumModes()"><!-- --></A><H3>
|
|
getNumModes</H3>
|
|
<PRE>
|
|
public int <B>getNumModes</B>()</PRE>
|
|
<DL>
|
|
<DD>The number of lock modes.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getNumLockers()"><!-- --></A><H3>
|
|
getNumLockers</H3>
|
|
<PRE>
|
|
public int <B>getNumLockers</B>()</PRE>
|
|
<DL>
|
|
<DD>The number of current lockers.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getNumLocks()"><!-- --></A><H3>
|
|
getNumLocks</H3>
|
|
<PRE>
|
|
public int <B>getNumLocks</B>()</PRE>
|
|
<DL>
|
|
<DD>The number of current locks.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getMaxNlocks()"><!-- --></A><H3>
|
|
getMaxNlocks</H3>
|
|
<PRE>
|
|
public int <B>getMaxNlocks</B>()</PRE>
|
|
<DL>
|
|
<DD>The maximum number of locks at any one time. Note that if there is more than one partition, this is the sum of the maximum across all partitions.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getMaxHlocks()"><!-- --></A><H3>
|
|
getMaxHlocks</H3>
|
|
<PRE>
|
|
public int <B>getMaxHlocks</B>()</PRE>
|
|
<DL>
|
|
<DD>The maximum number of locks in any hash bucket at any one time.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getLocksteals()"><!-- --></A><H3>
|
|
getLocksteals</H3>
|
|
<PRE>
|
|
public int <B>getLocksteals</B>()</PRE>
|
|
<DL>
|
|
<DD>The maximum number of locks stolen for an empty partition.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getMaxLsteals()"><!-- --></A><H3>
|
|
getMaxLsteals</H3>
|
|
<PRE>
|
|
public int <B>getMaxLsteals</B>()</PRE>
|
|
<DL>
|
|
<DD>The maximum number of lock steals for any one partition.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getMaxNlockers()"><!-- --></A><H3>
|
|
getMaxNlockers</H3>
|
|
<PRE>
|
|
public int <B>getMaxNlockers</B>()</PRE>
|
|
<DL>
|
|
<DD>The maximum number of lockers at any one time.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getNobjects()"><!-- --></A><H3>
|
|
getNobjects</H3>
|
|
<PRE>
|
|
public int <B>getNobjects</B>()</PRE>
|
|
<DL>
|
|
<DD>The number of current lock objects.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getMaxNobjects()"><!-- --></A><H3>
|
|
getMaxNobjects</H3>
|
|
<PRE>
|
|
public int <B>getMaxNobjects</B>()</PRE>
|
|
<DL>
|
|
<DD>The maximum number of lock objects at any one time. Note that if there is more than one partition this is the sum of the maximum across all partitions.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getMaxHobjects()"><!-- --></A><H3>
|
|
getMaxHobjects</H3>
|
|
<PRE>
|
|
public int <B>getMaxHobjects</B>()</PRE>
|
|
<DL>
|
|
<DD>The maximum number of objects in any hash bucket at any one time.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getObjectsteals()"><!-- --></A><H3>
|
|
getObjectsteals</H3>
|
|
<PRE>
|
|
public int <B>getObjectsteals</B>()</PRE>
|
|
<DL>
|
|
<DD>The maximum number of objects stolen for an empty partition.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getMaxOsteals()"><!-- --></A><H3>
|
|
getMaxOsteals</H3>
|
|
<PRE>
|
|
public int <B>getMaxOsteals</B>()</PRE>
|
|
<DL>
|
|
<DD>The maximum number of object steals for any one partition.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getNumRequests()"><!-- --></A><H3>
|
|
getNumRequests</H3>
|
|
<PRE>
|
|
public int <B>getNumRequests</B>()</PRE>
|
|
<DL>
|
|
<DD>The total number of locks requested.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getNumReleases()"><!-- --></A><H3>
|
|
getNumReleases</H3>
|
|
<PRE>
|
|
public int <B>getNumReleases</B>()</PRE>
|
|
<DL>
|
|
<DD>The total number of locks released.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getNumUpgrade()"><!-- --></A><H3>
|
|
getNumUpgrade</H3>
|
|
<PRE>
|
|
public int <B>getNumUpgrade</B>()</PRE>
|
|
<DL>
|
|
<DD>The total number of locks upgraded.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getNumDowngrade()"><!-- --></A><H3>
|
|
getNumDowngrade</H3>
|
|
<PRE>
|
|
public int <B>getNumDowngrade</B>()</PRE>
|
|
<DL>
|
|
<DD>The total number of locks downgraded.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getLockWait()"><!-- --></A><H3>
|
|
getLockWait</H3>
|
|
<PRE>
|
|
public int <B>getLockWait</B>()</PRE>
|
|
<DL>
|
|
<DD>The number of lock requests not immediately available due to conflicts,
|
|
for which the thread of control waited.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getLockNowait()"><!-- --></A><H3>
|
|
getLockNowait</H3>
|
|
<PRE>
|
|
public int <B>getLockNowait</B>()</PRE>
|
|
<DL>
|
|
<DD>The number of lock requests not immediately available due to conflicts,
|
|
for which the thread of control did not wait.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getNumDeadlocks()"><!-- --></A><H3>
|
|
getNumDeadlocks</H3>
|
|
<PRE>
|
|
public int <B>getNumDeadlocks</B>()</PRE>
|
|
<DL>
|
|
<DD>The number of deadlocks.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getLockTimeout()"><!-- --></A><H3>
|
|
getLockTimeout</H3>
|
|
<PRE>
|
|
public int <B>getLockTimeout</B>()</PRE>
|
|
<DL>
|
|
<DD>Lock timeout value.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getNumLockTimeouts()"><!-- --></A><H3>
|
|
getNumLockTimeouts</H3>
|
|
<PRE>
|
|
public int <B>getNumLockTimeouts</B>()</PRE>
|
|
<DL>
|
|
<DD>The number of lock requests that have timed out.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getTxnTimeout()"><!-- --></A><H3>
|
|
getTxnTimeout</H3>
|
|
<PRE>
|
|
public int <B>getTxnTimeout</B>()</PRE>
|
|
<DL>
|
|
<DD>Transaction timeout value.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getNumTxnTimeouts()"><!-- --></A><H3>
|
|
getNumTxnTimeouts</H3>
|
|
<PRE>
|
|
public int <B>getNumTxnTimeouts</B>()</PRE>
|
|
<DL>
|
|
<DD>The number of transactions that have timed out. This value is also
|
|
a component of st_ndeadlocks, the total number of deadlocks detected.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getPartWait()"><!-- --></A><H3>
|
|
getPartWait</H3>
|
|
<PRE>
|
|
public int <B>getPartWait</B>()</PRE>
|
|
<DL>
|
|
<DD>The number of times that a thread of control was forced to wait before
|
|
obtaining a lock partition mutex.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getPartNowait()"><!-- --></A><H3>
|
|
getPartNowait</H3>
|
|
<PRE>
|
|
public int <B>getPartNowait</B>()</PRE>
|
|
<DL>
|
|
<DD>The number of times that a thread of control was able to obtain a lock
|
|
partition mutex without waiting.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getPartMaxWait()"><!-- --></A><H3>
|
|
getPartMaxWait</H3>
|
|
<PRE>
|
|
public int <B>getPartMaxWait</B>()</PRE>
|
|
<DL>
|
|
<DD>The maximum number of times that a thread of control was forced to wait
|
|
before obtaining any one lock partition mutex.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getPartMaxNowait()"><!-- --></A><H3>
|
|
getPartMaxNowait</H3>
|
|
<PRE>
|
|
public int <B>getPartMaxNowait</B>()</PRE>
|
|
<DL>
|
|
<DD>The number of times that a thread of control was able to obtain any one
|
|
lock partition mutex without waiting.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getObjsWait()"><!-- --></A><H3>
|
|
getObjsWait</H3>
|
|
<PRE>
|
|
public int <B>getObjsWait</B>()</PRE>
|
|
<DL>
|
|
<DD>The number of requests to allocate or deallocate an object for which the
|
|
thread of control waited.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getObjsNowait()"><!-- --></A><H3>
|
|
getObjsNowait</H3>
|
|
<PRE>
|
|
public int <B>getObjsNowait</B>()</PRE>
|
|
<DL>
|
|
<DD>The number of requests to allocate or deallocate an object for which the
|
|
thread of control did not wait.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getLockersWait()"><!-- --></A><H3>
|
|
getLockersWait</H3>
|
|
<PRE>
|
|
public int <B>getLockersWait</B>()</PRE>
|
|
<DL>
|
|
<DD>The number of requests to allocate or deallocate a locker for which the
|
|
thread of control waited.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getLockersNowait()"><!-- --></A><H3>
|
|
getLockersNowait</H3>
|
|
<PRE>
|
|
public int <B>getLockersNowait</B>()</PRE>
|
|
<DL>
|
|
<DD>The number of requests to allocate or deallocate a locker for which the
|
|
thread of control did not wait.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getRegionWait()"><!-- --></A><H3>
|
|
getRegionWait</H3>
|
|
<PRE>
|
|
public int <B>getRegionWait</B>()</PRE>
|
|
<DL>
|
|
<DD>The number of times that a thread of control was forced to wait
|
|
before obtaining the region lock.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getRegionNowait()"><!-- --></A><H3>
|
|
getRegionNowait</H3>
|
|
<PRE>
|
|
public int <B>getRegionNowait</B>()</PRE>
|
|
<DL>
|
|
<DD>The number of times that a thread of control was able to obtain the
|
|
region lock without waiting.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getHashLen()"><!-- --></A><H3>
|
|
getHashLen</H3>
|
|
<PRE>
|
|
public int <B>getHashLen</B>()</PRE>
|
|
<DL>
|
|
<DD>Maximum length of a lock hash bucket.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getRegSize()"><!-- --></A><H3>
|
|
getRegSize</H3>
|
|
<PRE>
|
|
public int <B>getRegSize</B>()</PRE>
|
|
<DL>
|
|
<DD>The size of the lock region.
|
|
<P>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="toString()"><!-- --></A><H3>
|
|
toString</H3>
|
|
<PRE>
|
|
public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>toString</B>()</PRE>
|
|
<DL>
|
|
<DD>For convenience, the LockStats class has a toString method
|
|
that lists all the data fields.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#toString()" title="class or interface in java.lang">toString</A></CODE> in class <CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></CODE></DL>
|
|
</DD>
|
|
<DD><DL>
|
|
</DL>
|
|
</DD>
|
|
</DL>
|
|
<!-- ========= 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/LockStats.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 4.7.25</font></EM>
|
|
</TD>
|
|
</TR>
|
|
|
|
<TR>
|
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
<A HREF="../../../com/sleepycat/db/LockRequestMode.html" title="class in com.sleepycat.db"><B>PREV CLASS</B></A>
|
|
<A HREF="../../../com/sleepycat/db/LogCursor.html" title="class 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/LockStats.html" target="_top"><B>FRAMES</B></A>
|
|
<A HREF="LockStats.html" target="_top"><B>NO FRAMES</B></A>
|
|
<SCRIPT type="text/javascript">
|
|
<!--
|
|
if(window==top) {
|
|
document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
|
}
|
|
//-->
|
|
</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 | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
|
</TR>
|
|
</TABLE>
|
|
<A NAME="skip-navbar_bottom"></A>
|
|
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
|
|
|
<HR>
|
|
<font size=1>Copyright (c) 1996,2008 Oracle. All rights reserved.</font>
|
|
</BODY>
|
|
</HTML>
|