Debian Codegraph @

docs/java/com/sleepycat/db/LockStats.html

raw symbols SCIP
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2 <!--NewPage-->
3 <HTML>
4 <HEAD>
5 <!-- Generated by javadoc (build 1.6.0_51) on Mon Sep 09 11:47:05 EDT 2013 -->
6 <TITLE>
7 LockStats (Oracle - Berkeley DB Java API)
8 </TITLE>
9
10 <META NAME="date" CONTENT="2013-09-09">
11
12 <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../style.css" TITLE="Style">
13
14 <SCRIPT type="text/javascript">
15 function windowTitle()
16 {
17 if (location.href.indexOf('is-external=true') == -1) {
18 parent.document.title="LockStats (Oracle - Berkeley DB Java API)";
19 }
20 }
21 </SCRIPT>
22 <NOSCRIPT>
23 </NOSCRIPT>
24
25 </HEAD>
26
27 <BODY BGCOLOR="white" onload="windowTitle();">
28 <HR>
29
30
31 <!-- ========= START OF TOP NAVBAR ======= -->
32 <A NAME="navbar_top"><!-- --></A>
33 <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
34 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
35 <TR>
36 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
37 <A NAME="navbar_top_firstrow"><!-- --></A>
38 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
39 <TR ALIGN="center" VALIGN="top">
40 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
41 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
42 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
43 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/LockStats.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
44 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
45 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
46 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
47 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
48 </TR>
49 </TABLE>
50 </TD>
51 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
52 <b>Berkeley DB</b><br><font size="-1"> version 5.3.28</font></EM>
53 </TD>
54 </TR>
55
56 <TR>
57 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
58 &nbsp;<A HREF="../../../com/sleepycat/db/LockRequestMode.html" title="class in com.sleepycat.db"><B>PREV CLASS</B></A>&nbsp;
59 &nbsp;<A HREF="../../../com/sleepycat/db/LogCursor.html" title="class in com.sleepycat.db"><B>NEXT CLASS</B></A></FONT></TD>
60 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
61 <A HREF="../../../index.html?com/sleepycat/db/LockStats.html" target="_top"><B>FRAMES</B></A> &nbsp;
62 &nbsp;<A HREF="LockStats.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
63 &nbsp;<SCRIPT type="text/javascript">
64 <!--
65 if(window==top) {
66 document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
67 }
68 //-->
69 </SCRIPT>
70 <NOSCRIPT>
71 <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
72 </NOSCRIPT>
73
74
75 </FONT></TD>
76 </TR>
77 <TR>
78 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
79 SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
80 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
81 DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
82 </TR>
83 </TABLE>
84 <A NAME="skip-navbar_top"></A>
85 <!-- ========= END OF TOP NAVBAR ========= -->
86
87 <HR>
88 <!-- ======== START OF CLASS DATA ======== -->
89 <H2>
90 <FONT SIZE="-1">
91 com.sleepycat.db</FONT>
92 <BR>
93 Class LockStats</H2>
94 <PRE>
95 <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>
96 <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>com.sleepycat.db.LockStats</B>
97 </PRE>
98 <HR>
99 <DL>
100 <DT><PRE>public class <B>LockStats</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></DL>
101 </PRE>
102
103 <P>
104 Lock statistics for a database environment.
105 <P>
106
107 <P>
108 <HR>
109
110 <P>
111
112 <!-- ========== METHOD SUMMARY =========== -->
113
114 <A NAME="method_summary"><!-- --></A>
115 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
116 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
117 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
118 <B>Method Summary</B></FONT></TH>
119 </TR>
120 <TR BGCOLOR="white" CLASS="TableRowColor">
121 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
122 <CODE>&nbsp;int</CODE></FONT></TD>
123 <TD><CODE><B><A HREF="../../../com/sleepycat/db/LockStats.html#getCurMaxId()">getCurMaxId</A></B>()</CODE>
124
125 <BR>
126 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The current maximum unused locker ID.</TD>
127 </TR>
128 <TR BGCOLOR="white" CLASS="TableRowColor">
129 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
130 <CODE>&nbsp;int</CODE></FONT></TD>
131 <TD><CODE><B><A HREF="../../../com/sleepycat/db/LockStats.html#getHashLen()">getHashLen</A></B>()</CODE>
132
133 <BR>
134 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Maximum length of a lock hash bucket.</TD>
135 </TR>
136 <TR BGCOLOR="white" CLASS="TableRowColor">
137 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
138 <CODE>&nbsp;int</CODE></FONT></TD>
139 <TD><CODE><B><A HREF="../../../com/sleepycat/db/LockStats.html#getId()">getId</A></B>()</CODE>
140
141 <BR>
142 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The last allocated locker ID.</TD>
143 </TR>
144 <TR BGCOLOR="white" CLASS="TableRowColor">
145 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
146 <CODE>&nbsp;int</CODE></FONT></TD>
147 <TD><CODE><B><A HREF="../../../com/sleepycat/db/LockStats.html#getInitlockers()">getInitlockers</A></B>()</CODE>
148
149 <BR>
150 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The initial number of lockers allocated in lock table.</TD>
151 </TR>
152 <TR BGCOLOR="white" CLASS="TableRowColor">
153 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
154 <CODE>&nbsp;int</CODE></FONT></TD>
155 <TD><CODE><B><A HREF="../../../com/sleepycat/db/LockStats.html#getInitlocks()">getInitlocks</A></B>()</CODE>
156
157 <BR>
158 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The initial number of locks allocated in the lock table.</TD>
159 </TR>
160 <TR BGCOLOR="white" CLASS="TableRowColor">
161 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
162 <CODE>&nbsp;int</CODE></FONT></TD>
163 <TD><CODE><B><A HREF="../../../com/sleepycat/db/LockStats.html#getInitobjects()">getInitobjects</A></B>()</CODE>
164
165 <BR>
166 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The initial number of lock objects allocated in lock table.</TD>
167 </TR>
168 <TR BGCOLOR="white" CLASS="TableRowColor">
169 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
170 <CODE>&nbsp;int</CODE></FONT></TD>
171 <TD><CODE><B><A HREF="../../../com/sleepycat/db/LockStats.html#getLockers()">getLockers</A></B>()</CODE>
172
173 <BR>
174 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The current number of lockers allocated in lock table.</TD>
175 </TR>
176 <TR BGCOLOR="white" CLASS="TableRowColor">
177 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
178 <CODE>&nbsp;long</CODE></FONT></TD>
179 <TD><CODE><B><A HREF="../../../com/sleepycat/db/LockStats.html#getLockersNowait()">getLockersNowait</A></B>()</CODE>
180
181 <BR>
182 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The number of requests to allocate or deallocate a locker for which the
183 thread of control did not wait.</TD>
184 </TR>
185 <TR BGCOLOR="white" CLASS="TableRowColor">
186 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
187 <CODE>&nbsp;long</CODE></FONT></TD>
188 <TD><CODE><B><A HREF="../../../com/sleepycat/db/LockStats.html#getLockersWait()">getLockersWait</A></B>()</CODE>
189
190 <BR>
191 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The number of requests to allocate or deallocate a locker for which the
192 thread of control waited.</TD>
193 </TR>
194 <TR BGCOLOR="white" CLASS="TableRowColor">
195 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
196 <CODE>&nbsp;long</CODE></FONT></TD>
197 <TD><CODE><B><A HREF="../../../com/sleepycat/db/LockStats.html#getLockNowait()">getLockNowait</A></B>()</CODE>
198
199 <BR>
200 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The number of lock requests not immediately available due to conflicts,
201 for which the thread of control did not wait.</TD>
202 </TR>
203 <TR BGCOLOR="white" CLASS="TableRowColor">
204 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
205 <CODE>&nbsp;int</CODE></FONT></TD>
206 <TD><CODE><B><A HREF="../../../com/sleepycat/db/LockStats.html#getLocks()">getLocks</A></B>()</CODE>
207
208 <BR>
209 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The current number of locks allocated in lock table.</TD>
210 </TR>
211 <TR BGCOLOR="white" CLASS="TableRowColor">
212 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
213 <CODE>&nbsp;long</CODE></FONT></TD>
214 <TD><CODE><B><A HREF="../../../com/sleepycat/db/LockStats.html#getLocksteals()">getLocksteals</A></B>()</CODE>
215
216 <BR>
217 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The maximum number of locks stolen by an empty partition.</TD>
218 </TR>
219 <TR BGCOLOR="white" CLASS="TableRowColor">
220 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
221 <CODE>&nbsp;int</CODE></FONT></TD>
222 <TD><CODE><B><A HREF="../../../com/sleepycat/db/LockStats.html#getLockTimeout()">getLockTimeout</A></B>()</CODE>
223
224 <BR>
225 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Lock timeout value.</TD>
226 </TR>
227 <TR BGCOLOR="white" CLASS="TableRowColor">
228 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
229 <CODE>&nbsp;long</CODE></FONT></TD>
230 <TD><CODE><B><A HREF="../../../com/sleepycat/db/LockStats.html#getLockWait()">getLockWait</A></B>()</CODE>
231
232 <BR>
233 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The number of lock requests not immediately available due to conflicts,
234 for which the thread of control waited.</TD>
235 </TR>
236 <TR BGCOLOR="white" CLASS="TableRowColor">
237 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
238 <CODE>&nbsp;int</CODE></FONT></TD>
239 <TD><CODE><B><A HREF="../../../com/sleepycat/db/LockStats.html#getMaxHlocks()">getMaxHlocks</A></B>()</CODE>
240
241 <BR>
242 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The maximum number of locks in any hash bucket at any one time.</TD>
243 </TR>
244 <TR BGCOLOR="white" CLASS="TableRowColor">
245 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
246 <CODE>&nbsp;int</CODE></FONT></TD>
247 <TD><CODE><B><A HREF="../../../com/sleepycat/db/LockStats.html#getMaxHobjects()">getMaxHobjects</A></B>()</CODE>
248
249 <BR>
250 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The maximum number of objects in any hash bucket at any one time.</TD>
251 </TR>
252 <TR BGCOLOR="white" CLASS="TableRowColor">
253 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
254 <CODE>&nbsp;int</CODE></FONT></TD>
255 <TD><CODE><B><A HREF="../../../com/sleepycat/db/LockStats.html#getMaxLockers()">getMaxLockers</A></B>()</CODE>
256
257 <BR>
258 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The maximum number of lockers possible.</TD>
259 </TR>
260 <TR BGCOLOR="white" CLASS="TableRowColor">
261 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
262 <CODE>&nbsp;int</CODE></FONT></TD>
263 <TD><CODE><B><A HREF="../../../com/sleepycat/db/LockStats.html#getMaxLocks()">getMaxLocks</A></B>()</CODE>
264
265 <BR>
266 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The maximum number of locks possible.</TD>
267 </TR>
268 <TR BGCOLOR="white" CLASS="TableRowColor">
269 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
270 <CODE>&nbsp;long</CODE></FONT></TD>
271 <TD><CODE><B><A HREF="../../../com/sleepycat/db/LockStats.html#getMaxLsteals()">getMaxLsteals</A></B>()</CODE>
272
273 <BR>
274 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The maximum number of lock steals for any one partition.</TD>
275 </TR>
276 <TR BGCOLOR="white" CLASS="TableRowColor">
277 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
278 <CODE>&nbsp;int</CODE></FONT></TD>
279 <TD><CODE><B><A HREF="../../../com/sleepycat/db/LockStats.html#getMaxNlockers()">getMaxNlockers</A></B>()</CODE>
280
281 <BR>
282 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The maximum number of lockers at any one time.</TD>
283 </TR>
284 <TR BGCOLOR="white" CLASS="TableRowColor">
285 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
286 <CODE>&nbsp;int</CODE></FONT></TD>
287 <TD><CODE><B><A HREF="../../../com/sleepycat/db/LockStats.html#getMaxNlocks()">getMaxNlocks</A></B>()</CODE>
288
289 <BR>
290 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The maximum number of locks at any one time.</TD>
291 </TR>
292 <TR BGCOLOR="white" CLASS="TableRowColor">
293 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
294 <CODE>&nbsp;int</CODE></FONT></TD>
295 <TD><CODE><B><A HREF="../../../com/sleepycat/db/LockStats.html#getMaxNobjects()">getMaxNobjects</A></B>()</CODE>
296
297 <BR>
298 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The maximum number of lock objects at any one time.</TD>
299 </TR>
300 <TR BGCOLOR="white" CLASS="TableRowColor">
301 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
302 <CODE>&nbsp;int</CODE></FONT></TD>
303 <TD><CODE><B><A HREF="../../../com/sleepycat/db/LockStats.html#getMaxObjects()">getMaxObjects</A></B>()</CODE>
304
305 <BR>
306 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The maximum number of lock objects possible.</TD>
307 </TR>
308 <TR BGCOLOR="white" CLASS="TableRowColor">
309 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
310 <CODE>&nbsp;long</CODE></FONT></TD>
311 <TD><CODE><B><A HREF="../../../com/sleepycat/db/LockStats.html#getMaxOsteals()">getMaxOsteals</A></B>()</CODE>
312
313 <BR>
314 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The maximum number of object steals for any one partition.</TD>
315 </TR>
316 <TR BGCOLOR="white" CLASS="TableRowColor">
317 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
318 <CODE>&nbsp;int</CODE></FONT></TD>
319 <TD><CODE><B><A HREF="../../../com/sleepycat/db/LockStats.html#getNobjects()">getNobjects</A></B>()</CODE>
320
321 <BR>
322 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The number of current lock objects.</TD>
323 </TR>
324 <TR BGCOLOR="white" CLASS="TableRowColor">
325 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
326 <CODE>&nbsp;long</CODE></FONT></TD>
327 <TD><CODE><B><A HREF="../../../com/sleepycat/db/LockStats.html#getNumDeadlocks()">getNumDeadlocks</A></B>()</CODE>
328
329 <BR>
330 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The number of deadlocks.</TD>
331 </TR>
332 <TR BGCOLOR="white" CLASS="TableRowColor">
333 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
334 <CODE>&nbsp;long</CODE></FONT></TD>
335 <TD><CODE><B><A HREF="../../../com/sleepycat/db/LockStats.html#getNumDowngrade()">getNumDowngrade</A></B>()</CODE>
336
337 <BR>
338 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The total number of locks downgraded.</TD>
339 </TR>
340 <TR BGCOLOR="white" CLASS="TableRowColor">
341 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
342 <CODE>&nbsp;int</CODE></FONT></TD>
343 <TD><CODE><B><A HREF="../../../com/sleepycat/db/LockStats.html#getNumLockers()">getNumLockers</A></B>()</CODE>
344
345 <BR>
346 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The number of current lockers.</TD>
347 </TR>
348 <TR BGCOLOR="white" CLASS="TableRowColor">
349 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
350 <CODE>&nbsp;int</CODE></FONT></TD>
351 <TD><CODE><B><A HREF="../../../com/sleepycat/db/LockStats.html#getNumLocks()">getNumLocks</A></B>()</CODE>
352
353 <BR>
354 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The number of current locks.</TD>
355 </TR>
356 <TR BGCOLOR="white" CLASS="TableRowColor">
357 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
358 <CODE>&nbsp;long</CODE></FONT></TD>
359 <TD><CODE><B><A HREF="../../../com/sleepycat/db/LockStats.html#getNumLockTimeouts()">getNumLockTimeouts</A></B>()</CODE>
360
361 <BR>
362 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The number of lock requests that have timed out.</TD>
363 </TR>
364 <TR BGCOLOR="white" CLASS="TableRowColor">
365 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
366 <CODE>&nbsp;int</CODE></FONT></TD>
367 <TD><CODE><B><A HREF="../../../com/sleepycat/db/LockStats.html#getNumModes()">getNumModes</A></B>()</CODE>
368
369 <BR>
370 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The number of lock modes.</TD>
371 </TR>
372 <TR BGCOLOR="white" CLASS="TableRowColor">
373 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
374 <CODE>&nbsp;long</CODE></FONT></TD>
375 <TD><CODE><B><A HREF="../../../com/sleepycat/db/LockStats.html#getNumReleases()">getNumReleases</A></B>()</CODE>
376
377 <BR>
378 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The total number of locks released.</TD>
379 </TR>
380 <TR BGCOLOR="white" CLASS="TableRowColor">
381 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
382 <CODE>&nbsp;long</CODE></FONT></TD>
383 <TD><CODE><B><A HREF="../../../com/sleepycat/db/LockStats.html#getNumRequests()">getNumRequests</A></B>()</CODE>
384
385 <BR>
386 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The total number of locks requested.</TD>
387 </TR>
388 <TR BGCOLOR="white" CLASS="TableRowColor">
389 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
390 <CODE>&nbsp;long</CODE></FONT></TD>
391 <TD><CODE><B><A HREF="../../../com/sleepycat/db/LockStats.html#getNumTxnTimeouts()">getNumTxnTimeouts</A></B>()</CODE>
392
393 <BR>
394 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The number of transactions that have timed out.</TD>
395 </TR>
396 <TR BGCOLOR="white" CLASS="TableRowColor">
397 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
398 <CODE>&nbsp;long</CODE></FONT></TD>
399 <TD><CODE><B><A HREF="../../../com/sleepycat/db/LockStats.html#getNumUpgrade()">getNumUpgrade</A></B>()</CODE>
400
401 <BR>
402 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The total number of locks upgraded.</TD>
403 </TR>
404 <TR BGCOLOR="white" CLASS="TableRowColor">
405 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
406 <CODE>&nbsp;int</CODE></FONT></TD>
407 <TD><CODE><B><A HREF="../../../com/sleepycat/db/LockStats.html#getObjects()">getObjects</A></B>()</CODE>
408
409 <BR>
410 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The current number of lock objects allocated in lock table.</TD>
411 </TR>
412 <TR BGCOLOR="white" CLASS="TableRowColor">
413 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
414 <CODE>&nbsp;long</CODE></FONT></TD>
415 <TD><CODE><B><A HREF="../../../com/sleepycat/db/LockStats.html#getObjectsteals()">getObjectsteals</A></B>()</CODE>
416
417 <BR>
418 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The maximum number of objects stolen by an empty partition.</TD>
419 </TR>
420 <TR BGCOLOR="white" CLASS="TableRowColor">
421 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
422 <CODE>&nbsp;long</CODE></FONT></TD>
423 <TD><CODE><B><A HREF="../../../com/sleepycat/db/LockStats.html#getObjsNowait()">getObjsNowait</A></B>()</CODE>
424
425 <BR>
426 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The number of requests to allocate or deallocate an object for which the
427 thread of control did not wait.</TD>
428 </TR>
429 <TR BGCOLOR="white" CLASS="TableRowColor">
430 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
431 <CODE>&nbsp;long</CODE></FONT></TD>
432 <TD><CODE><B><A HREF="../../../com/sleepycat/db/LockStats.html#getObjsWait()">getObjsWait</A></B>()</CODE>
433
434 <BR>
435 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The number of requests to allocate or deallocate an object for which the
436 thread of control waited.</TD>
437 </TR>
438 <TR BGCOLOR="white" CLASS="TableRowColor">
439 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
440 <CODE>&nbsp;int</CODE></FONT></TD>
441 <TD><CODE><B><A HREF="../../../com/sleepycat/db/LockStats.html#getPartitions()">getPartitions</A></B>()</CODE>
442
443 <BR>
444 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The number of lock table partitions.</TD>
445 </TR>
446 <TR BGCOLOR="white" CLASS="TableRowColor">
447 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
448 <CODE>&nbsp;long</CODE></FONT></TD>
449 <TD><CODE><B><A HREF="../../../com/sleepycat/db/LockStats.html#getPartMaxNowait()">getPartMaxNowait</A></B>()</CODE>
450
451 <BR>
452 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The number of times that a thread of control was able to obtain any one
453 lock partition mutex without waiting.</TD>
454 </TR>
455 <TR BGCOLOR="white" CLASS="TableRowColor">
456 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
457 <CODE>&nbsp;long</CODE></FONT></TD>
458 <TD><CODE><B><A HREF="../../../com/sleepycat/db/LockStats.html#getPartMaxWait()">getPartMaxWait</A></B>()</CODE>
459
460 <BR>
461 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The maximum number of times that a thread of control was forced to wait
462 before obtaining any one lock partition mutex.</TD>
463 </TR>
464 <TR BGCOLOR="white" CLASS="TableRowColor">
465 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
466 <CODE>&nbsp;long</CODE></FONT></TD>
467 <TD><CODE><B><A HREF="../../../com/sleepycat/db/LockStats.html#getPartNowait()">getPartNowait</A></B>()</CODE>
468
469 <BR>
470 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The number of times that a thread of control was able to obtain a lock
471 partition mutex without waiting.</TD>
472 </TR>
473 <TR BGCOLOR="white" CLASS="TableRowColor">
474 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
475 <CODE>&nbsp;long</CODE></FONT></TD>
476 <TD><CODE><B><A HREF="../../../com/sleepycat/db/LockStats.html#getPartWait()">getPartWait</A></B>()</CODE>
477
478 <BR>
479 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The number of times that a thread of control was forced to wait before
480 obtaining a lock partition mutex.</TD>
481 </TR>
482 <TR BGCOLOR="white" CLASS="TableRowColor">
483 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
484 <CODE>&nbsp;long</CODE></FONT></TD>
485 <TD><CODE><B><A HREF="../../../com/sleepycat/db/LockStats.html#getRegionNowait()">getRegionNowait</A></B>()</CODE>
486
487 <BR>
488 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The number of times that a thread of control was able to obtain the
489 region lock without waiting.</TD>
490 </TR>
491 <TR BGCOLOR="white" CLASS="TableRowColor">
492 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
493 <CODE>&nbsp;long</CODE></FONT></TD>
494 <TD><CODE><B><A HREF="../../../com/sleepycat/db/LockStats.html#getRegionWait()">getRegionWait</A></B>()</CODE>
495
496 <BR>
497 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The number of times that a thread of control was forced to wait
498 before obtaining the region lock.</TD>
499 </TR>
500 <TR BGCOLOR="white" CLASS="TableRowColor">
501 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
502 <CODE>&nbsp;long</CODE></FONT></TD>
503 <TD><CODE><B><A HREF="../../../com/sleepycat/db/LockStats.html#getRegSize()">getRegSize</A></B>()</CODE>
504
505 <BR>
506 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The size of the lock region.</TD>
507 </TR>
508 <TR BGCOLOR="white" CLASS="TableRowColor">
509 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
510 <CODE>&nbsp;int</CODE></FONT></TD>
511 <TD><CODE><B><A HREF="../../../com/sleepycat/db/LockStats.html#getTableSize()">getTableSize</A></B>()</CODE>
512
513 <BR>
514 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The size of object hash table.</TD>
515 </TR>
516 <TR BGCOLOR="white" CLASS="TableRowColor">
517 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
518 <CODE>&nbsp;int</CODE></FONT></TD>
519 <TD><CODE><B><A HREF="../../../com/sleepycat/db/LockStats.html#getTxnTimeout()">getTxnTimeout</A></B>()</CODE>
520
521 <BR>
522 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Transaction timeout value.</TD>
523 </TR>
524 <TR BGCOLOR="white" CLASS="TableRowColor">
525 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
526 <CODE>&nbsp;<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>
527 <TD><CODE><B><A HREF="../../../com/sleepycat/db/LockStats.html#toString()">toString</A></B>()</CODE>
528
529 <BR>
530 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;For convenience, the LockStats class has a toString method
531 that lists all the data fields.</TD>
532 </TR>
533 </TABLE>
534 &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
535 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
536 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
537 <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>
538 </TR>
539 <TR BGCOLOR="white" CLASS="TableRowColor">
540 <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#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>
541 </TR>
542 </TABLE>
543 &nbsp;
544 <P>
545
546 <!-- ============ METHOD DETAIL ========== -->
547
548 <A NAME="method_detail"><!-- --></A>
549 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
550 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
551 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
552 <B>Method Detail</B></FONT></TH>
553 </TR>
554 </TABLE>
555
556 <A NAME="getId()"><!-- --></A><H3>
557 getId</H3>
558 <PRE>
559 public int <B>getId</B>()</PRE>
560 <DL>
561 <DD>The last allocated locker ID.
562 <P>
563 <DD><DL>
564 </DL>
565 </DD>
566 </DL>
567 <HR>
568
569 <A NAME="getCurMaxId()"><!-- --></A><H3>
570 getCurMaxId</H3>
571 <PRE>
572 public int <B>getCurMaxId</B>()</PRE>
573 <DL>
574 <DD>The current maximum unused locker ID.
575 <P>
576 <DD><DL>
577 </DL>
578 </DD>
579 </DL>
580 <HR>
581
582 <A NAME="getInitlocks()"><!-- --></A><H3>
583 getInitlocks</H3>
584 <PRE>
585 public int <B>getInitlocks</B>()</PRE>
586 <DL>
587 <DD>The initial number of locks allocated in the lock table.
588 <P>
589 <DD><DL>
590 </DL>
591 </DD>
592 </DL>
593 <HR>
594
595 <A NAME="getInitlockers()"><!-- --></A><H3>
596 getInitlockers</H3>
597 <PRE>
598 public int <B>getInitlockers</B>()</PRE>
599 <DL>
600 <DD>The initial number of lockers allocated in lock table.
601 <P>
602 <DD><DL>
603 </DL>
604 </DD>
605 </DL>
606 <HR>
607
608 <A NAME="getInitobjects()"><!-- --></A><H3>
609 getInitobjects</H3>
610 <PRE>
611 public int <B>getInitobjects</B>()</PRE>
612 <DL>
613 <DD>The initial number of lock objects allocated in lock table.
614 <P>
615 <DD><DL>
616 </DL>
617 </DD>
618 </DL>
619 <HR>
620
621 <A NAME="getLocks()"><!-- --></A><H3>
622 getLocks</H3>
623 <PRE>
624 public int <B>getLocks</B>()</PRE>
625 <DL>
626 <DD>The current number of locks allocated in lock table.
627 <P>
628 <DD><DL>
629 </DL>
630 </DD>
631 </DL>
632 <HR>
633
634 <A NAME="getLockers()"><!-- --></A><H3>
635 getLockers</H3>
636 <PRE>
637 public int <B>getLockers</B>()</PRE>
638 <DL>
639 <DD>The current number of lockers allocated in lock table.
640 <P>
641 <DD><DL>
642 </DL>
643 </DD>
644 </DL>
645 <HR>
646
647 <A NAME="getObjects()"><!-- --></A><H3>
648 getObjects</H3>
649 <PRE>
650 public int <B>getObjects</B>()</PRE>
651 <DL>
652 <DD>The current number of lock objects allocated in lock table.
653 <P>
654 <DD><DL>
655 </DL>
656 </DD>
657 </DL>
658 <HR>
659
660 <A NAME="getMaxLocks()"><!-- --></A><H3>
661 getMaxLocks</H3>
662 <PRE>
663 public int <B>getMaxLocks</B>()</PRE>
664 <DL>
665 <DD>The maximum number of locks possible.
666 <P>
667 <DD><DL>
668 </DL>
669 </DD>
670 </DL>
671 <HR>
672
673 <A NAME="getMaxLockers()"><!-- --></A><H3>
674 getMaxLockers</H3>
675 <PRE>
676 public int <B>getMaxLockers</B>()</PRE>
677 <DL>
678 <DD>The maximum number of lockers possible.
679 <P>
680 <DD><DL>
681 </DL>
682 </DD>
683 </DL>
684 <HR>
685
686 <A NAME="getMaxObjects()"><!-- --></A><H3>
687 getMaxObjects</H3>
688 <PRE>
689 public int <B>getMaxObjects</B>()</PRE>
690 <DL>
691 <DD>The maximum number of lock objects possible.
692 <P>
693 <DD><DL>
694 </DL>
695 </DD>
696 </DL>
697 <HR>
698
699 <A NAME="getPartitions()"><!-- --></A><H3>
700 getPartitions</H3>
701 <PRE>
702 public int <B>getPartitions</B>()</PRE>
703 <DL>
704 <DD>The number of lock table partitions.
705 <P>
706 <DD><DL>
707 </DL>
708 </DD>
709 </DL>
710 <HR>
711
712 <A NAME="getTableSize()"><!-- --></A><H3>
713 getTableSize</H3>
714 <PRE>
715 public int <B>getTableSize</B>()</PRE>
716 <DL>
717 <DD>The size of object hash table.
718 <P>
719 <DD><DL>
720 </DL>
721 </DD>
722 </DL>
723 <HR>
724
725 <A NAME="getNumModes()"><!-- --></A><H3>
726 getNumModes</H3>
727 <PRE>
728 public int <B>getNumModes</B>()</PRE>
729 <DL>
730 <DD>The number of lock modes.
731 <P>
732 <DD><DL>
733 </DL>
734 </DD>
735 </DL>
736 <HR>
737
738 <A NAME="getNumLockers()"><!-- --></A><H3>
739 getNumLockers</H3>
740 <PRE>
741 public int <B>getNumLockers</B>()</PRE>
742 <DL>
743 <DD>The number of current lockers.
744 <P>
745 <DD><DL>
746 </DL>
747 </DD>
748 </DL>
749 <HR>
750
751 <A NAME="getNumLocks()"><!-- --></A><H3>
752 getNumLocks</H3>
753 <PRE>
754 public int <B>getNumLocks</B>()</PRE>
755 <DL>
756 <DD>The number of current locks.
757 <P>
758 <DD><DL>
759 </DL>
760 </DD>
761 </DL>
762 <HR>
763
764 <A NAME="getMaxNlocks()"><!-- --></A><H3>
765 getMaxNlocks</H3>
766 <PRE>
767 public int <B>getMaxNlocks</B>()</PRE>
768 <DL>
769 <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.
770 <P>
771 <DD><DL>
772 </DL>
773 </DD>
774 </DL>
775 <HR>
776
777 <A NAME="getMaxHlocks()"><!-- --></A><H3>
778 getMaxHlocks</H3>
779 <PRE>
780 public int <B>getMaxHlocks</B>()</PRE>
781 <DL>
782 <DD>The maximum number of locks in any hash bucket at any one time.
783 <P>
784 <DD><DL>
785 </DL>
786 </DD>
787 </DL>
788 <HR>
789
790 <A NAME="getLocksteals()"><!-- --></A><H3>
791 getLocksteals</H3>
792 <PRE>
793 public long <B>getLocksteals</B>()</PRE>
794 <DL>
795 <DD>The maximum number of locks stolen by an empty partition.
796 <P>
797 <DD><DL>
798 </DL>
799 </DD>
800 </DL>
801 <HR>
802
803 <A NAME="getMaxLsteals()"><!-- --></A><H3>
804 getMaxLsteals</H3>
805 <PRE>
806 public long <B>getMaxLsteals</B>()</PRE>
807 <DL>
808 <DD>The maximum number of lock steals for any one partition.
809 <P>
810 <DD><DL>
811 </DL>
812 </DD>
813 </DL>
814 <HR>
815
816 <A NAME="getMaxNlockers()"><!-- --></A><H3>
817 getMaxNlockers</H3>
818 <PRE>
819 public int <B>getMaxNlockers</B>()</PRE>
820 <DL>
821 <DD>The maximum number of lockers at any one time.
822 <P>
823 <DD><DL>
824 </DL>
825 </DD>
826 </DL>
827 <HR>
828
829 <A NAME="getNobjects()"><!-- --></A><H3>
830 getNobjects</H3>
831 <PRE>
832 public int <B>getNobjects</B>()</PRE>
833 <DL>
834 <DD>The number of current lock objects.
835 <P>
836 <DD><DL>
837 </DL>
838 </DD>
839 </DL>
840 <HR>
841
842 <A NAME="getMaxNobjects()"><!-- --></A><H3>
843 getMaxNobjects</H3>
844 <PRE>
845 public int <B>getMaxNobjects</B>()</PRE>
846 <DL>
847 <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.
848 <P>
849 <DD><DL>
850 </DL>
851 </DD>
852 </DL>
853 <HR>
854
855 <A NAME="getMaxHobjects()"><!-- --></A><H3>
856 getMaxHobjects</H3>
857 <PRE>
858 public int <B>getMaxHobjects</B>()</PRE>
859 <DL>
860 <DD>The maximum number of objects in any hash bucket at any one time.
861 <P>
862 <DD><DL>
863 </DL>
864 </DD>
865 </DL>
866 <HR>
867
868 <A NAME="getObjectsteals()"><!-- --></A><H3>
869 getObjectsteals</H3>
870 <PRE>
871 public long <B>getObjectsteals</B>()</PRE>
872 <DL>
873 <DD>The maximum number of objects stolen by an empty partition.
874 <P>
875 <DD><DL>
876 </DL>
877 </DD>
878 </DL>
879 <HR>
880
881 <A NAME="getMaxOsteals()"><!-- --></A><H3>
882 getMaxOsteals</H3>
883 <PRE>
884 public long <B>getMaxOsteals</B>()</PRE>
885 <DL>
886 <DD>The maximum number of object steals for any one partition.
887 <P>
888 <DD><DL>
889 </DL>
890 </DD>
891 </DL>
892 <HR>
893
894 <A NAME="getNumRequests()"><!-- --></A><H3>
895 getNumRequests</H3>
896 <PRE>
897 public long <B>getNumRequests</B>()</PRE>
898 <DL>
899 <DD>The total number of locks requested.
900 <P>
901 <DD><DL>
902 </DL>
903 </DD>
904 </DL>
905 <HR>
906
907 <A NAME="getNumReleases()"><!-- --></A><H3>
908 getNumReleases</H3>
909 <PRE>
910 public long <B>getNumReleases</B>()</PRE>
911 <DL>
912 <DD>The total number of locks released.
913 <P>
914 <DD><DL>
915 </DL>
916 </DD>
917 </DL>
918 <HR>
919
920 <A NAME="getNumUpgrade()"><!-- --></A><H3>
921 getNumUpgrade</H3>
922 <PRE>
923 public long <B>getNumUpgrade</B>()</PRE>
924 <DL>
925 <DD>The total number of locks upgraded.
926 <P>
927 <DD><DL>
928 </DL>
929 </DD>
930 </DL>
931 <HR>
932
933 <A NAME="getNumDowngrade()"><!-- --></A><H3>
934 getNumDowngrade</H3>
935 <PRE>
936 public long <B>getNumDowngrade</B>()</PRE>
937 <DL>
938 <DD>The total number of locks downgraded.
939 <P>
940 <DD><DL>
941 </DL>
942 </DD>
943 </DL>
944 <HR>
945
946 <A NAME="getLockWait()"><!-- --></A><H3>
947 getLockWait</H3>
948 <PRE>
949 public long <B>getLockWait</B>()</PRE>
950 <DL>
951 <DD>The number of lock requests not immediately available due to conflicts,
952 for which the thread of control waited.
953 <P>
954 <DD><DL>
955 </DL>
956 </DD>
957 </DL>
958 <HR>
959
960 <A NAME="getLockNowait()"><!-- --></A><H3>
961 getLockNowait</H3>
962 <PRE>
963 public long <B>getLockNowait</B>()</PRE>
964 <DL>
965 <DD>The number of lock requests not immediately available due to conflicts,
966 for which the thread of control did not wait.
967 <P>
968 <DD><DL>
969 </DL>
970 </DD>
971 </DL>
972 <HR>
973
974 <A NAME="getNumDeadlocks()"><!-- --></A><H3>
975 getNumDeadlocks</H3>
976 <PRE>
977 public long <B>getNumDeadlocks</B>()</PRE>
978 <DL>
979 <DD>The number of deadlocks.
980 <P>
981 <DD><DL>
982 </DL>
983 </DD>
984 </DL>
985 <HR>
986
987 <A NAME="getLockTimeout()"><!-- --></A><H3>
988 getLockTimeout</H3>
989 <PRE>
990 public int <B>getLockTimeout</B>()</PRE>
991 <DL>
992 <DD>Lock timeout value.
993 <P>
994 <DD><DL>
995 </DL>
996 </DD>
997 </DL>
998 <HR>
999
1000 <A NAME="getNumLockTimeouts()"><!-- --></A><H3>
1001 getNumLockTimeouts</H3>
1002 <PRE>
1003 public long <B>getNumLockTimeouts</B>()</PRE>
1004 <DL>
1005 <DD>The number of lock requests that have timed out.
1006 <P>
1007 <DD><DL>
1008 </DL>
1009 </DD>
1010 </DL>
1011 <HR>
1012
1013 <A NAME="getTxnTimeout()"><!-- --></A><H3>
1014 getTxnTimeout</H3>
1015 <PRE>
1016 public int <B>getTxnTimeout</B>()</PRE>
1017 <DL>
1018 <DD>Transaction timeout value.
1019 <P>
1020 <DD><DL>
1021 </DL>
1022 </DD>
1023 </DL>
1024 <HR>
1025
1026 <A NAME="getNumTxnTimeouts()"><!-- --></A><H3>
1027 getNumTxnTimeouts</H3>
1028 <PRE>
1029 public long <B>getNumTxnTimeouts</B>()</PRE>
1030 <DL>
1031 <DD>The number of transactions that have timed out. This value is also
1032 a component of st_ndeadlocks, the total number of deadlocks detected.
1033 <P>
1034 <DD><DL>
1035 </DL>
1036 </DD>
1037 </DL>
1038 <HR>
1039
1040 <A NAME="getPartWait()"><!-- --></A><H3>
1041 getPartWait</H3>
1042 <PRE>
1043 public long <B>getPartWait</B>()</PRE>
1044 <DL>
1045 <DD>The number of times that a thread of control was forced to wait before
1046 obtaining a lock partition mutex.
1047 <P>
1048 <DD><DL>
1049 </DL>
1050 </DD>
1051 </DL>
1052 <HR>
1053
1054 <A NAME="getPartNowait()"><!-- --></A><H3>
1055 getPartNowait</H3>
1056 <PRE>
1057 public long <B>getPartNowait</B>()</PRE>
1058 <DL>
1059 <DD>The number of times that a thread of control was able to obtain a lock
1060 partition mutex without waiting.
1061 <P>
1062 <DD><DL>
1063 </DL>
1064 </DD>
1065 </DL>
1066 <HR>
1067
1068 <A NAME="getPartMaxWait()"><!-- --></A><H3>
1069 getPartMaxWait</H3>
1070 <PRE>
1071 public long <B>getPartMaxWait</B>()</PRE>
1072 <DL>
1073 <DD>The maximum number of times that a thread of control was forced to wait
1074 before obtaining any one lock partition mutex.
1075 <P>
1076 <DD><DL>
1077 </DL>
1078 </DD>
1079 </DL>
1080 <HR>
1081
1082 <A NAME="getPartMaxNowait()"><!-- --></A><H3>
1083 getPartMaxNowait</H3>
1084 <PRE>
1085 public long <B>getPartMaxNowait</B>()</PRE>
1086 <DL>
1087 <DD>The number of times that a thread of control was able to obtain any one
1088 lock partition mutex without waiting.
1089 <P>
1090 <DD><DL>
1091 </DL>
1092 </DD>
1093 </DL>
1094 <HR>
1095
1096 <A NAME="getObjsWait()"><!-- --></A><H3>
1097 getObjsWait</H3>
1098 <PRE>
1099 public long <B>getObjsWait</B>()</PRE>
1100 <DL>
1101 <DD>The number of requests to allocate or deallocate an object for which the
1102 thread of control waited.
1103 <P>
1104 <DD><DL>
1105 </DL>
1106 </DD>
1107 </DL>
1108 <HR>
1109
1110 <A NAME="getObjsNowait()"><!-- --></A><H3>
1111 getObjsNowait</H3>
1112 <PRE>
1113 public long <B>getObjsNowait</B>()</PRE>
1114 <DL>
1115 <DD>The number of requests to allocate or deallocate an object for which the
1116 thread of control did not wait.
1117 <P>
1118 <DD><DL>
1119 </DL>
1120 </DD>
1121 </DL>
1122 <HR>
1123
1124 <A NAME="getLockersWait()"><!-- --></A><H3>
1125 getLockersWait</H3>
1126 <PRE>
1127 public long <B>getLockersWait</B>()</PRE>
1128 <DL>
1129 <DD>The number of requests to allocate or deallocate a locker for which the
1130 thread of control waited.
1131 <P>
1132 <DD><DL>
1133 </DL>
1134 </DD>
1135 </DL>
1136 <HR>
1137
1138 <A NAME="getLockersNowait()"><!-- --></A><H3>
1139 getLockersNowait</H3>
1140 <PRE>
1141 public long <B>getLockersNowait</B>()</PRE>
1142 <DL>
1143 <DD>The number of requests to allocate or deallocate a locker for which the
1144 thread of control did not wait.
1145 <P>
1146 <DD><DL>
1147 </DL>
1148 </DD>
1149 </DL>
1150 <HR>
1151
1152 <A NAME="getRegionWait()"><!-- --></A><H3>
1153 getRegionWait</H3>
1154 <PRE>
1155 public long <B>getRegionWait</B>()</PRE>
1156 <DL>
1157 <DD>The number of times that a thread of control was forced to wait
1158 before obtaining the region lock.
1159 <P>
1160 <DD><DL>
1161 </DL>
1162 </DD>
1163 </DL>
1164 <HR>
1165
1166 <A NAME="getRegionNowait()"><!-- --></A><H3>
1167 getRegionNowait</H3>
1168 <PRE>
1169 public long <B>getRegionNowait</B>()</PRE>
1170 <DL>
1171 <DD>The number of times that a thread of control was able to obtain the
1172 region lock without waiting.
1173 <P>
1174 <DD><DL>
1175 </DL>
1176 </DD>
1177 </DL>
1178 <HR>
1179
1180 <A NAME="getHashLen()"><!-- --></A><H3>
1181 getHashLen</H3>
1182 <PRE>
1183 public int <B>getHashLen</B>()</PRE>
1184 <DL>
1185 <DD>Maximum length of a lock hash bucket.
1186 <P>
1187 <DD><DL>
1188 </DL>
1189 </DD>
1190 </DL>
1191 <HR>
1192
1193 <A NAME="getRegSize()"><!-- --></A><H3>
1194 getRegSize</H3>
1195 <PRE>
1196 public long <B>getRegSize</B>()</PRE>
1197 <DL>
1198 <DD>The size of the lock region.
1199 <P>
1200 <DD><DL>
1201 </DL>
1202 </DD>
1203 </DL>
1204 <HR>
1205
1206 <A NAME="toString()"><!-- --></A><H3>
1207 toString</H3>
1208 <PRE>
1209 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>toString</B>()</PRE>
1210 <DL>
1211 <DD>For convenience, the LockStats class has a toString method
1212 that lists all the data fields.
1213 <P>
1214 <DD><DL>
1215 <DT><B>Overrides:</B><DD><CODE><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></CODE> in class <CODE><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></CODE></DL>
1216 </DD>
1217 <DD><DL>
1218 </DL>
1219 </DD>
1220 </DL>
1221 <!-- ========= END OF CLASS DATA ========= -->
1222 <HR>
1223
1224
1225 <!-- ======= START OF BOTTOM NAVBAR ====== -->
1226 <A NAME="navbar_bottom"><!-- --></A>
1227 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
1228 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
1229 <TR>
1230 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
1231 <A NAME="navbar_bottom_firstrow"><!-- --></A>
1232 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
1233 <TR ALIGN="center" VALIGN="top">
1234 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
1235 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
1236 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
1237 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/LockStats.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
1238 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
1239 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
1240 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
1241 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
1242 </TR>
1243 </TABLE>
1244 </TD>
1245 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
1246 <b>Berkeley DB</b><br><font size="-1"> version 5.3.28</font></EM>
1247 </TD>
1248 </TR>
1249
1250 <TR>
1251 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
1252 &nbsp;<A HREF="../../../com/sleepycat/db/LockRequestMode.html" title="class in com.sleepycat.db"><B>PREV CLASS</B></A>&nbsp;
1253 &nbsp;<A HREF="../../../com/sleepycat/db/LogCursor.html" title="class in com.sleepycat.db"><B>NEXT CLASS</B></A></FONT></TD>
1254 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
1255 <A HREF="../../../index.html?com/sleepycat/db/LockStats.html" target="_top"><B>FRAMES</B></A> &nbsp;
1256 &nbsp;<A HREF="LockStats.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
1257 &nbsp;<SCRIPT type="text/javascript">
1258 <!--
1259 if(window==top) {
1260 document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
1261 }
1262 //-->
1263 </SCRIPT>
1264 <NOSCRIPT>
1265 <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
1266 </NOSCRIPT>
1267
1268
1269 </FONT></TD>
1270 </TR>
1271 <TR>
1272 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
1273 SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
1274 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
1275 DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
1276 </TR>
1277 </TABLE>
1278 <A NAME="skip-navbar_bottom"></A>
1279 <!-- ======== END OF BOTTOM NAVBAR ======= -->
1280
1281 <HR>
1282 <font size=1>Copyright (c) 1996, 2013 Oracle and/or its affiliates. All rights reserved.</font>
1283 </BODY>
1284 </HTML>