Debian Codegraph @

docs/java/com/sleepycat/db/HashStats.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:04 EDT 2013 -->
6 <TITLE>
7 HashStats (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="HashStats (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/HashStats.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/Hasher.html" title="interface in com.sleepycat.db"><B>PREV CLASS</B></A>&nbsp;
59 &nbsp;<A HREF="../../../com/sleepycat/db/HeapFullException.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/HashStats.html" target="_top"><B>FRAMES</B></A> &nbsp;
62 &nbsp;<A HREF="HashStats.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 HashStats</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 "><A HREF="../../../com/sleepycat/db/DatabaseStats.html" title="class in com.sleepycat.db">com.sleepycat.db.DatabaseStats</A>
97 <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>com.sleepycat.db.HashStats</B>
98 </PRE>
99 <HR>
100 <DL>
101 <DT><PRE>public class <B>HashStats</B><DT>extends <A HREF="../../../com/sleepycat/db/DatabaseStats.html" title="class in com.sleepycat.db">DatabaseStats</A></DL>
102 </PRE>
103
104 <P>
105 The HashStats object is used to return Hash database statistics.
106 <P>
107
108 <P>
109 <HR>
110
111 <P>
112
113 <!-- ========== METHOD SUMMARY =========== -->
114
115 <A NAME="method_summary"><!-- --></A>
116 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
117 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
118 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
119 <B>Method Summary</B></FONT></TH>
120 </TR>
121 <TR BGCOLOR="white" CLASS="TableRowColor">
122 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
123 <CODE>&nbsp;long</CODE></FONT></TD>
124 <TD><CODE><B><A HREF="../../../com/sleepycat/db/HashStats.html#getBFree()">getBFree</A></B>()</CODE>
125
126 <BR>
127 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The number of bytes free on bucket pages.</TD>
128 </TR>
129 <TR BGCOLOR="white" CLASS="TableRowColor">
130 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
131 <CODE>&nbsp;long</CODE></FONT></TD>
132 <TD><CODE><B><A HREF="../../../com/sleepycat/db/HashStats.html#getBigBFree()">getBigBFree</A></B>()</CODE>
133
134 <BR>
135 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The number of bytes free on big item pages.</TD>
136 </TR>
137 <TR BGCOLOR="white" CLASS="TableRowColor">
138 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
139 <CODE>&nbsp;int</CODE></FONT></TD>
140 <TD><CODE><B><A HREF="../../../com/sleepycat/db/HashStats.html#getBigPages()">getBigPages</A></B>()</CODE>
141
142 <BR>
143 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The number of big key/data pages.</TD>
144 </TR>
145 <TR BGCOLOR="white" CLASS="TableRowColor">
146 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
147 <CODE>&nbsp;int</CODE></FONT></TD>
148 <TD><CODE><B><A HREF="../../../com/sleepycat/db/HashStats.html#getBuckets()">getBuckets</A></B>()</CODE>
149
150 <BR>
151 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The the number of hash buckets.</TD>
152 </TR>
153 <TR BGCOLOR="white" CLASS="TableRowColor">
154 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
155 <CODE>&nbsp;int</CODE></FONT></TD>
156 <TD><CODE><B><A HREF="../../../com/sleepycat/db/HashStats.html#getDup()">getDup</A></B>()</CODE>
157
158 <BR>
159 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The number of duplicate pages.</TD>
160 </TR>
161 <TR BGCOLOR="white" CLASS="TableRowColor">
162 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
163 <CODE>&nbsp;long</CODE></FONT></TD>
164 <TD><CODE><B><A HREF="../../../com/sleepycat/db/HashStats.html#getDupFree()">getDupFree</A></B>()</CODE>
165
166 <BR>
167 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The number of bytes free on duplicate pages.</TD>
168 </TR>
169 <TR BGCOLOR="white" CLASS="TableRowColor">
170 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
171 <CODE>&nbsp;int</CODE></FONT></TD>
172 <TD><CODE><B><A HREF="../../../com/sleepycat/db/HashStats.html#getFfactor()">getFfactor</A></B>()</CODE>
173
174 <BR>
175 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The desired fill factor specified at database-creation time.</TD>
176 </TR>
177 <TR BGCOLOR="white" CLASS="TableRowColor">
178 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
179 <CODE>&nbsp;int</CODE></FONT></TD>
180 <TD><CODE><B><A HREF="../../../com/sleepycat/db/HashStats.html#getFree()">getFree</A></B>()</CODE>
181
182 <BR>
183 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The number of pages on the free list.</TD>
184 </TR>
185 <TR BGCOLOR="white" CLASS="TableRowColor">
186 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
187 <CODE>&nbsp;int</CODE></FONT></TD>
188 <TD><CODE><B><A HREF="../../../com/sleepycat/db/HashStats.html#getMagic()">getMagic</A></B>()</CODE>
189
190 <BR>
191 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The magic number that identifies the file as a Hash file.</TD>
192 </TR>
193 <TR BGCOLOR="white" CLASS="TableRowColor">
194 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
195 <CODE>&nbsp;int</CODE></FONT></TD>
196 <TD><CODE><B><A HREF="../../../com/sleepycat/db/HashStats.html#getMetaFlags()">getMetaFlags</A></B>()</CODE>
197
198 <BR>
199 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reports internal flags.</TD>
200 </TR>
201 <TR BGCOLOR="white" CLASS="TableRowColor">
202 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
203 <CODE>&nbsp;int</CODE></FONT></TD>
204 <TD><CODE><B><A HREF="../../../com/sleepycat/db/HashStats.html#getNumData()">getNumData</A></B>()</CODE>
205
206 <BR>
207 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The number of key/data pairs in the database.</TD>
208 </TR>
209 <TR BGCOLOR="white" CLASS="TableRowColor">
210 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
211 <CODE>&nbsp;int</CODE></FONT></TD>
212 <TD><CODE><B><A HREF="../../../com/sleepycat/db/HashStats.html#getNumKeys()">getNumKeys</A></B>()</CODE>
213
214 <BR>
215 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The number of unique keys in the database.</TD>
216 </TR>
217 <TR BGCOLOR="white" CLASS="TableRowColor">
218 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
219 <CODE>&nbsp;int</CODE></FONT></TD>
220 <TD><CODE><B><A HREF="../../../com/sleepycat/db/HashStats.html#getOverflows()">getOverflows</A></B>()</CODE>
221
222 <BR>
223 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The number of overflow pages.</TD>
224 </TR>
225 <TR BGCOLOR="white" CLASS="TableRowColor">
226 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
227 <CODE>&nbsp;long</CODE></FONT></TD>
228 <TD><CODE><B><A HREF="../../../com/sleepycat/db/HashStats.html#getOvflFree()">getOvflFree</A></B>()</CODE>
229
230 <BR>
231 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The number of bytes free on overflow pages.</TD>
232 </TR>
233 <TR BGCOLOR="white" CLASS="TableRowColor">
234 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
235 <CODE>&nbsp;int</CODE></FONT></TD>
236 <TD><CODE><B><A HREF="../../../com/sleepycat/db/HashStats.html#getPageCount()">getPageCount</A></B>()</CODE>
237
238 <BR>
239 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The number of pages in the database.</TD>
240 </TR>
241 <TR BGCOLOR="white" CLASS="TableRowColor">
242 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
243 <CODE>&nbsp;int</CODE></FONT></TD>
244 <TD><CODE><B><A HREF="../../../com/sleepycat/db/HashStats.html#getPageSize()">getPageSize</A></B>()</CODE>
245
246 <BR>
247 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The underlying Hash database page (and bucket) size, in bytes.</TD>
248 </TR>
249 <TR BGCOLOR="white" CLASS="TableRowColor">
250 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
251 <CODE>&nbsp;int</CODE></FONT></TD>
252 <TD><CODE><B><A HREF="../../../com/sleepycat/db/HashStats.html#getVersion()">getVersion</A></B>()</CODE>
253
254 <BR>
255 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The version of the Hash database.</TD>
256 </TR>
257 <TR BGCOLOR="white" CLASS="TableRowColor">
258 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
259 <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>
260 <TD><CODE><B><A HREF="../../../com/sleepycat/db/HashStats.html#toString()">toString</A></B>()</CODE>
261
262 <BR>
263 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;For convenience, the HashStats class has a toString method
264 that lists all the data fields.</TD>
265 </TR>
266 </TABLE>
267 &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
268 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
269 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
270 <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>
271 </TR>
272 <TR BGCOLOR="white" CLASS="TableRowColor">
273 <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>
274 </TR>
275 </TABLE>
276 &nbsp;
277 <P>
278
279 <!-- ============ METHOD DETAIL ========== -->
280
281 <A NAME="method_detail"><!-- --></A>
282 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
283 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
284 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
285 <B>Method Detail</B></FONT></TH>
286 </TR>
287 </TABLE>
288
289 <A NAME="getMagic()"><!-- --></A><H3>
290 getMagic</H3>
291 <PRE>
292 public int <B>getMagic</B>()</PRE>
293 <DL>
294 <DD>The magic number that identifies the file as a Hash file.
295 <P>
296 <DD><DL>
297 </DL>
298 </DD>
299 </DL>
300 <HR>
301
302 <A NAME="getVersion()"><!-- --></A><H3>
303 getVersion</H3>
304 <PRE>
305 public int <B>getVersion</B>()</PRE>
306 <DL>
307 <DD>The version of the Hash database.
308 <P>
309 <DD><DL>
310 </DL>
311 </DD>
312 </DL>
313 <HR>
314
315 <A NAME="getMetaFlags()"><!-- --></A><H3>
316 getMetaFlags</H3>
317 <PRE>
318 public int <B>getMetaFlags</B>()</PRE>
319 <DL>
320 <DD>Reports internal flags. For internal use only.
321 <P>
322 <DD><DL>
323 </DL>
324 </DD>
325 </DL>
326 <HR>
327
328 <A NAME="getNumKeys()"><!-- --></A><H3>
329 getNumKeys</H3>
330 <PRE>
331 public int <B>getNumKeys</B>()</PRE>
332 <DL>
333 <DD>The number of unique keys in the database.
334 <p>
335 If the <A HREF="../../../com/sleepycat/db/Database.html#getStats(com.sleepycat.db.Transaction, com.sleepycat.db.StatsConfig)"><CODE>Database.getStats</CODE></A> call was configured by the
336 <A HREF="../../../com/sleepycat/db/StatsConfig.html#setFast(boolean)"><CODE>StatsConfig.setFast</CODE></A> method, the count will be the last
337 saved value unless it has never been calculated, in which case it
338 will be 0.
339 <P>
340 <DD><DL>
341 </DL>
342 </DD>
343 </DL>
344 <HR>
345
346 <A NAME="getNumData()"><!-- --></A><H3>
347 getNumData</H3>
348 <PRE>
349 public int <B>getNumData</B>()</PRE>
350 <DL>
351 <DD>The number of key/data pairs in the database.
352 <p>
353 If the <A HREF="../../../com/sleepycat/db/Database.html#getStats(com.sleepycat.db.Transaction, com.sleepycat.db.StatsConfig)"><CODE>Database.getStats</CODE></A> call was configured by the
354 <A HREF="../../../com/sleepycat/db/StatsConfig.html#setFast(boolean)"><CODE>StatsConfig.setFast</CODE></A> method, the count will be the last
355 saved value unless it has never been calculated, in which case it
356 will be 0.
357 <P>
358 <DD><DL>
359 </DL>
360 </DD>
361 </DL>
362 <HR>
363
364 <A NAME="getPageCount()"><!-- --></A><H3>
365 getPageCount</H3>
366 <PRE>
367 public int <B>getPageCount</B>()</PRE>
368 <DL>
369 <DD>The number of pages in the database.
370 <p>
371 Returned if <A HREF="../../../com/sleepycat/db/StatsConfig.html#setFast(boolean)"><CODE>StatsConfig.setFast(boolean)</CODE></A> was configured.
372 <P>
373 <DD><DL>
374 </DL>
375 </DD>
376 </DL>
377 <HR>
378
379 <A NAME="getPageSize()"><!-- --></A><H3>
380 getPageSize</H3>
381 <PRE>
382 public int <B>getPageSize</B>()</PRE>
383 <DL>
384 <DD>The underlying Hash database page (and bucket) size, in bytes.
385 <P>
386 <DD><DL>
387 </DL>
388 </DD>
389 </DL>
390 <HR>
391
392 <A NAME="getFfactor()"><!-- --></A><H3>
393 getFfactor</H3>
394 <PRE>
395 public int <B>getFfactor</B>()</PRE>
396 <DL>
397 <DD>The desired fill factor specified at database-creation time.
398 <P>
399 <DD><DL>
400 </DL>
401 </DD>
402 </DL>
403 <HR>
404
405 <A NAME="getBuckets()"><!-- --></A><H3>
406 getBuckets</H3>
407 <PRE>
408 public int <B>getBuckets</B>()</PRE>
409 <DL>
410 <DD>The the number of hash buckets.
411 <P>
412 <DD><DL>
413 </DL>
414 </DD>
415 </DL>
416 <HR>
417
418 <A NAME="getFree()"><!-- --></A><H3>
419 getFree</H3>
420 <PRE>
421 public int <B>getFree</B>()</PRE>
422 <DL>
423 <DD>The number of pages on the free list.
424 <p>
425 The information is only included if the <A HREF="../../../com/sleepycat/db/Database.html#getStats(com.sleepycat.db.Transaction, com.sleepycat.db.StatsConfig)"><CODE>Database.getStats</CODE></A> call
426 was not configured by the <A HREF="../../../com/sleepycat/db/StatsConfig.html#setFast(boolean)"><CODE>StatsConfig.setFast</CODE></A> method.
427 <P>
428 <DD><DL>
429 </DL>
430 </DD>
431 </DL>
432 <HR>
433
434 <A NAME="getBFree()"><!-- --></A><H3>
435 getBFree</H3>
436 <PRE>
437 public long <B>getBFree</B>()</PRE>
438 <DL>
439 <DD>The number of bytes free on bucket pages.
440 <p>
441 The information is only included if the <A HREF="../../../com/sleepycat/db/Database.html#getStats(com.sleepycat.db.Transaction, com.sleepycat.db.StatsConfig)"><CODE>Database.getStats</CODE></A> call
442 was not configured by the <A HREF="../../../com/sleepycat/db/StatsConfig.html#setFast(boolean)"><CODE>StatsConfig.setFast</CODE></A> method.
443 <P>
444 <DD><DL>
445 </DL>
446 </DD>
447 </DL>
448 <HR>
449
450 <A NAME="getBigPages()"><!-- --></A><H3>
451 getBigPages</H3>
452 <PRE>
453 public int <B>getBigPages</B>()</PRE>
454 <DL>
455 <DD>The number of big key/data pages.
456 <p>
457 The information is only included if the <A HREF="../../../com/sleepycat/db/Database.html#getStats(com.sleepycat.db.Transaction, com.sleepycat.db.StatsConfig)"><CODE>Database.getStats</CODE></A> call
458 was not configured by the <A HREF="../../../com/sleepycat/db/StatsConfig.html#setFast(boolean)"><CODE>StatsConfig.setFast</CODE></A> method.
459 <P>
460 <DD><DL>
461 </DL>
462 </DD>
463 </DL>
464 <HR>
465
466 <A NAME="getBigBFree()"><!-- --></A><H3>
467 getBigBFree</H3>
468 <PRE>
469 public long <B>getBigBFree</B>()</PRE>
470 <DL>
471 <DD>The number of bytes free on big item pages.
472 <p>
473 The information is only included if the <A HREF="../../../com/sleepycat/db/Database.html#getStats(com.sleepycat.db.Transaction, com.sleepycat.db.StatsConfig)"><CODE>Database.getStats</CODE></A> call
474 was not configured by the <A HREF="../../../com/sleepycat/db/StatsConfig.html#setFast(boolean)"><CODE>StatsConfig.setFast</CODE></A> method.
475 <P>
476 <DD><DL>
477 </DL>
478 </DD>
479 </DL>
480 <HR>
481
482 <A NAME="getOverflows()"><!-- --></A><H3>
483 getOverflows</H3>
484 <PRE>
485 public int <B>getOverflows</B>()</PRE>
486 <DL>
487 <DD>The number of overflow pages.
488 <p>
489 The information is only included if the <A HREF="../../../com/sleepycat/db/Database.html#getStats(com.sleepycat.db.Transaction, com.sleepycat.db.StatsConfig)"><CODE>Database.getStats</CODE></A> call
490 was not configured by the <A HREF="../../../com/sleepycat/db/StatsConfig.html#setFast(boolean)"><CODE>StatsConfig.setFast</CODE></A> method.
491 <P>
492 <DD><DL>
493 </DL>
494 </DD>
495 </DL>
496 <HR>
497
498 <A NAME="getOvflFree()"><!-- --></A><H3>
499 getOvflFree</H3>
500 <PRE>
501 public long <B>getOvflFree</B>()</PRE>
502 <DL>
503 <DD>The number of bytes free on overflow pages.
504 <p>
505 The information is only included if the <A HREF="../../../com/sleepycat/db/Database.html#getStats(com.sleepycat.db.Transaction, com.sleepycat.db.StatsConfig)"><CODE>Database.getStats</CODE></A> call
506 was not configured by the <A HREF="../../../com/sleepycat/db/StatsConfig.html#setFast(boolean)"><CODE>StatsConfig.setFast</CODE></A> method.
507 <P>
508 <DD><DL>
509 </DL>
510 </DD>
511 </DL>
512 <HR>
513
514 <A NAME="getDup()"><!-- --></A><H3>
515 getDup</H3>
516 <PRE>
517 public int <B>getDup</B>()</PRE>
518 <DL>
519 <DD>The number of duplicate pages.
520 <p>
521 The information is only included if the <A HREF="../../../com/sleepycat/db/Database.html#getStats(com.sleepycat.db.Transaction, com.sleepycat.db.StatsConfig)"><CODE>Database.getStats</CODE></A> call
522 was not configured by the <A HREF="../../../com/sleepycat/db/StatsConfig.html#setFast(boolean)"><CODE>StatsConfig.setFast</CODE></A> method.
523 <P>
524 <DD><DL>
525 </DL>
526 </DD>
527 </DL>
528 <HR>
529
530 <A NAME="getDupFree()"><!-- --></A><H3>
531 getDupFree</H3>
532 <PRE>
533 public long <B>getDupFree</B>()</PRE>
534 <DL>
535 <DD>The number of bytes free on duplicate pages.
536 <p>
537 The information is only included if the <A HREF="../../../com/sleepycat/db/Database.html#getStats(com.sleepycat.db.Transaction, com.sleepycat.db.StatsConfig)"><CODE>Database.getStats</CODE></A> call
538 was not configured by the <A HREF="../../../com/sleepycat/db/StatsConfig.html#setFast(boolean)"><CODE>StatsConfig.setFast</CODE></A> method.
539 <P>
540 <DD><DL>
541 </DL>
542 </DD>
543 </DL>
544 <HR>
545
546 <A NAME="toString()"><!-- --></A><H3>
547 toString</H3>
548 <PRE>
549 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>
550 <DL>
551 <DD>For convenience, the HashStats class has a toString method
552 that lists all the data fields.
553 <P>
554 <DD><DL>
555 <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>
556 </DD>
557 <DD><DL>
558 </DL>
559 </DD>
560 </DL>
561 <!-- ========= END OF CLASS DATA ========= -->
562 <HR>
563
564
565 <!-- ======= START OF BOTTOM NAVBAR ====== -->
566 <A NAME="navbar_bottom"><!-- --></A>
567 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
568 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
569 <TR>
570 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
571 <A NAME="navbar_bottom_firstrow"><!-- --></A>
572 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
573 <TR ALIGN="center" VALIGN="top">
574 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
575 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
576 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
577 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/HashStats.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
578 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
579 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
580 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
581 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
582 </TR>
583 </TABLE>
584 </TD>
585 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
586 <b>Berkeley DB</b><br><font size="-1"> version 5.3.28</font></EM>
587 </TD>
588 </TR>
589
590 <TR>
591 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
592 &nbsp;<A HREF="../../../com/sleepycat/db/Hasher.html" title="interface in com.sleepycat.db"><B>PREV CLASS</B></A>&nbsp;
593 &nbsp;<A HREF="../../../com/sleepycat/db/HeapFullException.html" title="class in com.sleepycat.db"><B>NEXT CLASS</B></A></FONT></TD>
594 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
595 <A HREF="../../../index.html?com/sleepycat/db/HashStats.html" target="_top"><B>FRAMES</B></A> &nbsp;
596 &nbsp;<A HREF="HashStats.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
597 &nbsp;<SCRIPT type="text/javascript">
598 <!--
599 if(window==top) {
600 document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
601 }
602 //-->
603 </SCRIPT>
604 <NOSCRIPT>
605 <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
606 </NOSCRIPT>
607
608
609 </FONT></TD>
610 </TR>
611 <TR>
612 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
613 SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
614 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
615 DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
616 </TR>
617 </TABLE>
618 <A NAME="skip-navbar_bottom"></A>
619 <!-- ======== END OF BOTTOM NAVBAR ======= -->
620
621 <HR>
622 <font size=1>Copyright (c) 1996, 2013 Oracle and/or its affiliates. All rights reserved.</font>
623 </BODY>
624 </HTML>