| 1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| 2 |
|
| 3 |
<HTML> |
| 4 |
<HEAD> |
| 5 |
|
| 6 |
<TITLE> |
| 7 |
CacheStats (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="CacheStats (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 |
|
| 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> </TD> |
| 41 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
| 42 |
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
| 43 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/CacheStats.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
| 44 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
| 45 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
| 46 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
| 47 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </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 |
<A HREF="../../../com/sleepycat/db/CacheFileStats.html" title="class in com.sleepycat.db"><B>PREV CLASS</B></A> |
| 59 |
<A HREF="../../../com/sleepycat/db/CheckpointConfig.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/CacheStats.html" target="_top"><B>FRAMES</B></A> |
| 62 |
<A HREF="CacheStats.html" target="_top"><B>NO FRAMES</B></A> |
| 63 |
<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: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| 80 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| 81 |
DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> |
| 82 |
</TR> |
| 83 |
</TABLE> |
| 84 |
<A NAME="skip-navbar_top"></A> |
| 85 |
|
| 86 |
|
| 87 |
<HR> |
| 88 |
|
| 89 |
<H2> |
| 90 |
<FONT SIZE="-1"> |
| 91 |
com.sleepycat.db</FONT> |
| 92 |
<BR> |
| 93 |
Class CacheStats</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.CacheStats</B> |
| 97 |
</PRE> |
| 98 |
<HR> |
| 99 |
<DL> |
| 100 |
<DT><PRE>public class <B>CacheStats</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 |
Cache statistics for a database environment. |
| 105 |
<P> |
| 106 |
|
| 107 |
<P> |
| 108 |
<HR> |
| 109 |
|
| 110 |
<P> |
| 111 |
|
| 112 |
|
| 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> long</CODE></FONT></TD> |
| 123 |
<TD><CODE><B><A HREF="../../../com/sleepycat/db/CacheStats.html#getAlloc()">getAlloc</A></B>()</CODE> |
| 124 |
|
| 125 |
<BR> |
| 126 |
Number of page allocations.</TD> |
| 127 |
</TR> |
| 128 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 129 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 130 |
<CODE> long</CODE></FONT></TD> |
| 131 |
<TD><CODE><B><A HREF="../../../com/sleepycat/db/CacheStats.html#getAllocBuckets()">getAllocBuckets</A></B>()</CODE> |
| 132 |
|
| 133 |
<BR> |
| 134 |
Number of hash buckets checked during allocation.</TD> |
| 135 |
</TR> |
| 136 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 137 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 138 |
<CODE> long</CODE></FONT></TD> |
| 139 |
<TD><CODE><B><A HREF="../../../com/sleepycat/db/CacheStats.html#getAllocMaxBuckets()">getAllocMaxBuckets</A></B>()</CODE> |
| 140 |
|
| 141 |
<BR> |
| 142 |
Maximum number of hash buckets checked during an allocation.</TD> |
| 143 |
</TR> |
| 144 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 145 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 146 |
<CODE> long</CODE></FONT></TD> |
| 147 |
<TD><CODE><B><A HREF="../../../com/sleepycat/db/CacheStats.html#getAllocMaxPages()">getAllocMaxPages</A></B>()</CODE> |
| 148 |
|
| 149 |
<BR> |
| 150 |
Maximum number of pages checked during an allocation.</TD> |
| 151 |
</TR> |
| 152 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 153 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 154 |
<CODE> long</CODE></FONT></TD> |
| 155 |
<TD><CODE><B><A HREF="../../../com/sleepycat/db/CacheStats.html#getAllocPages()">getAllocPages</A></B>()</CODE> |
| 156 |
|
| 157 |
<BR> |
| 158 |
Number of pages checked during allocation.</TD> |
| 159 |
</TR> |
| 160 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 161 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 162 |
<CODE> int</CODE></FONT></TD> |
| 163 |
<TD><CODE><B><A HREF="../../../com/sleepycat/db/CacheStats.html#getBytes()">getBytes</A></B>()</CODE> |
| 164 |
|
| 165 |
<BR> |
| 166 |
Bytes of cache (total cache size is st_gbytes + st_bytes).</TD> |
| 167 |
</TR> |
| 168 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 169 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 170 |
<CODE> long</CODE></FONT></TD> |
| 171 |
<TD><CODE><B><A HREF="../../../com/sleepycat/db/CacheStats.html#getCacheHit()">getCacheHit</A></B>()</CODE> |
| 172 |
|
| 173 |
<BR> |
| 174 |
Requested pages found in the cache.</TD> |
| 175 |
</TR> |
| 176 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 177 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 178 |
<CODE> long</CODE></FONT></TD> |
| 179 |
<TD><CODE><B><A HREF="../../../com/sleepycat/db/CacheStats.html#getCacheMiss()">getCacheMiss</A></B>()</CODE> |
| 180 |
|
| 181 |
<BR> |
| 182 |
Requested pages not found in the cache.</TD> |
| 183 |
</TR> |
| 184 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 185 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 186 |
<CODE> int</CODE></FONT></TD> |
| 187 |
<TD><CODE><B><A HREF="../../../com/sleepycat/db/CacheStats.html#getGbytes()">getGbytes</A></B>()</CODE> |
| 188 |
|
| 189 |
<BR> |
| 190 |
Gigabytes of cache (total cache size is st_gbytes + st_bytes).</TD> |
| 191 |
</TR> |
| 192 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 193 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 194 |
<CODE> int</CODE></FONT></TD> |
| 195 |
<TD><CODE><B><A HREF="../../../com/sleepycat/db/CacheStats.html#getHashBuckets()">getHashBuckets</A></B>()</CODE> |
| 196 |
|
| 197 |
<BR> |
| 198 |
Number of hash buckets in the buffer hash table.</TD> |
| 199 |
</TR> |
| 200 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 201 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 202 |
<CODE> long</CODE></FONT></TD> |
| 203 |
<TD><CODE><B><A HREF="../../../com/sleepycat/db/CacheStats.html#getHashExamined()">getHashExamined</A></B>()</CODE> |
| 204 |
|
| 205 |
<BR> |
| 206 |
Total number of hash elements traversed during hash table lookups.</TD> |
| 207 |
</TR> |
| 208 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 209 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 210 |
<CODE> int</CODE></FONT></TD> |
| 211 |
<TD><CODE><B><A HREF="../../../com/sleepycat/db/CacheStats.html#getHashLongest()">getHashLongest</A></B>()</CODE> |
| 212 |
|
| 213 |
<BR> |
| 214 |
The longest chain ever encountered in buffer hash table lookups.</TD> |
| 215 |
</TR> |
| 216 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 217 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 218 |
<CODE> long</CODE></FONT></TD> |
| 219 |
<TD><CODE><B><A HREF="../../../com/sleepycat/db/CacheStats.html#getHashMaxNowait()">getHashMaxNowait</A></B>()</CODE> |
| 220 |
|
| 221 |
<BR> |
| 222 |
The number of times a thread of control was able to obtain the |
| 223 |
hash bucket lock without waiting on the bucket which had the |
| 224 |
maximum number of times that a thread of control needed to wait.</TD> |
| 225 |
</TR> |
| 226 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 227 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 228 |
<CODE> long</CODE></FONT></TD> |
| 229 |
<TD><CODE><B><A HREF="../../../com/sleepycat/db/CacheStats.html#getHashMaxWait()">getHashMaxWait</A></B>()</CODE> |
| 230 |
|
| 231 |
<BR> |
| 232 |
The maximum number of times any hash bucket lock was waited for by |
| 233 |
a thread of control.</TD> |
| 234 |
</TR> |
| 235 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 236 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 237 |
<CODE> int</CODE></FONT></TD> |
| 238 |
<TD><CODE><B><A HREF="../../../com/sleepycat/db/CacheStats.html#getHashMutexes()">getHashMutexes</A></B>()</CODE> |
| 239 |
|
| 240 |
<BR> |
| 241 |
The number of hash bucket mutexes in the buffer hash table.</TD> |
| 242 |
</TR> |
| 243 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 244 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 245 |
<CODE> long</CODE></FONT></TD> |
| 246 |
<TD><CODE><B><A HREF="../../../com/sleepycat/db/CacheStats.html#getHashNowait()">getHashNowait</A></B>()</CODE> |
| 247 |
|
| 248 |
<BR> |
| 249 |
The number of times that a thread of control was able to obtain a |
| 250 |
hash bucket lock without waiting.</TD> |
| 251 |
</TR> |
| 252 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 253 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 254 |
<CODE> int</CODE></FONT></TD> |
| 255 |
<TD><CODE><B><A HREF="../../../com/sleepycat/db/CacheStats.html#getHashSearches()">getHashSearches</A></B>()</CODE> |
| 256 |
|
| 257 |
<BR> |
| 258 |
Total number of buffer hash table lookups.</TD> |
| 259 |
</TR> |
| 260 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 261 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 262 |
<CODE> long</CODE></FONT></TD> |
| 263 |
<TD><CODE><B><A HREF="../../../com/sleepycat/db/CacheStats.html#getHashWait()">getHashWait</A></B>()</CODE> |
| 264 |
|
| 265 |
<BR> |
| 266 |
The number of times that a thread of control was forced to wait |
| 267 |
before obtaining a hash bucket lock.</TD> |
| 268 |
</TR> |
| 269 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 270 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 271 |
<CODE> long</CODE></FONT></TD> |
| 272 |
<TD><CODE><B><A HREF="../../../com/sleepycat/db/CacheStats.html#getIoWait()">getIoWait</A></B>()</CODE> |
| 273 |
|
| 274 |
<BR> |
| 275 |
Number of operations blocked waiting for I/O to complete.</TD> |
| 276 |
</TR> |
| 277 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 278 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 279 |
<CODE> int</CODE></FONT></TD> |
| 280 |
<TD><CODE><B><A HREF="../../../com/sleepycat/db/CacheStats.html#getMap()">getMap</A></B>()</CODE> |
| 281 |
|
| 282 |
<BR> |
| 283 |
Requested pages mapped into the process' address space (there is no |
| 284 |
available information about whether or not this request caused disk I/O, |
| 285 |
although examining the application page fault rate may be helpful).</TD> |
| 286 |
</TR> |
| 287 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 288 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 289 |
<CODE> int</CODE></FONT></TD> |
| 290 |
<TD><CODE><B><A HREF="../../../com/sleepycat/db/CacheStats.html#getMaxNumCache()">getMaxNumCache</A></B>()</CODE> |
| 291 |
|
| 292 |
<BR> |
| 293 |
Maximum number of caches, as configured with |
| 294 |
<A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setCacheMax(long)"><CODE>EnvironmentConfig.setCacheMax(long)</CODE></A>.</TD> |
| 295 |
</TR> |
| 296 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 297 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 298 |
<CODE> int</CODE></FONT></TD> |
| 299 |
<TD><CODE><B><A HREF="../../../com/sleepycat/db/CacheStats.html#getMaxOpenfd()">getMaxOpenfd</A></B>()</CODE> |
| 300 |
|
| 301 |
<BR> |
| 302 |
Maximum number of open file descriptors.</TD> |
| 303 |
</TR> |
| 304 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 305 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 306 |
<CODE> int</CODE></FONT></TD> |
| 307 |
<TD><CODE><B><A HREF="../../../com/sleepycat/db/CacheStats.html#getMaxWrite()">getMaxWrite</A></B>()</CODE> |
| 308 |
|
| 309 |
<BR> |
| 310 |
The maximum number of sequential write operations scheduled by the library |
| 311 |
when flushing dirty pages from the cache.</TD> |
| 312 |
</TR> |
| 313 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 314 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 315 |
<CODE> int</CODE></FONT></TD> |
| 316 |
<TD><CODE><B><A HREF="../../../com/sleepycat/db/CacheStats.html#getMaxWriteSleep()">getMaxWriteSleep</A></B>()</CODE> |
| 317 |
|
| 318 |
<BR> |
| 319 |
The number of microseconds the thread of control should pause before |
| 320 |
scheduling further write operations.</TD> |
| 321 |
</TR> |
| 322 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 323 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 324 |
<CODE> long</CODE></FONT></TD> |
| 325 |
<TD><CODE><B><A HREF="../../../com/sleepycat/db/CacheStats.html#getMmapSize()">getMmapSize</A></B>()</CODE> |
| 326 |
|
| 327 |
<BR> |
| 328 |
Maximum file size for mmap.</TD> |
| 329 |
</TR> |
| 330 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 331 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 332 |
<CODE> long</CODE></FONT></TD> |
| 333 |
<TD><CODE><B><A HREF="../../../com/sleepycat/db/CacheStats.html#getMultiversionFreed()">getMultiversionFreed</A></B>()</CODE> |
| 334 |
|
| 335 |
<BR> |
| 336 |
Number of frozen buffers freed.</TD> |
| 337 |
</TR> |
| 338 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 339 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 340 |
<CODE> long</CODE></FONT></TD> |
| 341 |
<TD><CODE><B><A HREF="../../../com/sleepycat/db/CacheStats.html#getMultiversionFrozen()">getMultiversionFrozen</A></B>()</CODE> |
| 342 |
|
| 343 |
<BR> |
| 344 |
Number of buffers frozen.</TD> |
| 345 |
</TR> |
| 346 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 347 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 348 |
<CODE> long</CODE></FONT></TD> |
| 349 |
<TD><CODE><B><A HREF="../../../com/sleepycat/db/CacheStats.html#getMultiversionThawed()">getMultiversionThawed</A></B>()</CODE> |
| 350 |
|
| 351 |
<BR> |
| 352 |
Number of buffers thawed.</TD> |
| 353 |
</TR> |
| 354 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 355 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 356 |
<CODE> int</CODE></FONT></TD> |
| 357 |
<TD><CODE><B><A HREF="../../../com/sleepycat/db/CacheStats.html#getNumCache()">getNumCache</A></B>()</CODE> |
| 358 |
|
| 359 |
<BR> |
| 360 |
Number of caches.</TD> |
| 361 |
</TR> |
| 362 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 363 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 364 |
<CODE> int</CODE></FONT></TD> |
| 365 |
<TD><CODE><B><A HREF="../../../com/sleepycat/db/CacheStats.html#getPageClean()">getPageClean</A></B>()</CODE> |
| 366 |
|
| 367 |
<BR> |
| 368 |
Clean pages currently in the cache.</TD> |
| 369 |
</TR> |
| 370 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 371 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 372 |
<CODE> long</CODE></FONT></TD> |
| 373 |
<TD><CODE><B><A HREF="../../../com/sleepycat/db/CacheStats.html#getPageCreate()">getPageCreate</A></B>()</CODE> |
| 374 |
|
| 375 |
<BR> |
| 376 |
Pages created in the cache.</TD> |
| 377 |
</TR> |
| 378 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 379 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 380 |
<CODE> int</CODE></FONT></TD> |
| 381 |
<TD><CODE><B><A HREF="../../../com/sleepycat/db/CacheStats.html#getPageDirty()">getPageDirty</A></B>()</CODE> |
| 382 |
|
| 383 |
<BR> |
| 384 |
Dirty pages currently in the cache.</TD> |
| 385 |
</TR> |
| 386 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 387 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 388 |
<CODE> long</CODE></FONT></TD> |
| 389 |
<TD><CODE><B><A HREF="../../../com/sleepycat/db/CacheStats.html#getPageIn()">getPageIn</A></B>()</CODE> |
| 390 |
|
| 391 |
<BR> |
| 392 |
Pages read into the cache.</TD> |
| 393 |
</TR> |
| 394 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 395 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 396 |
<CODE> long</CODE></FONT></TD> |
| 397 |
<TD><CODE><B><A HREF="../../../com/sleepycat/db/CacheStats.html#getPageOut()">getPageOut</A></B>()</CODE> |
| 398 |
|
| 399 |
<BR> |
| 400 |
Pages written from the cache to the backing file.</TD> |
| 401 |
</TR> |
| 402 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 403 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 404 |
<CODE> int</CODE></FONT></TD> |
| 405 |
<TD><CODE><B><A HREF="../../../com/sleepycat/db/CacheStats.html#getPages()">getPages</A></B>()</CODE> |
| 406 |
|
| 407 |
<BR> |
| 408 |
Pages in the cache.</TD> |
| 409 |
</TR> |
| 410 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 411 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 412 |
<CODE> int</CODE></FONT></TD> |
| 413 |
<TD><CODE><B><A HREF="../../../com/sleepycat/db/CacheStats.html#getPageSize()">getPageSize</A></B>()</CODE> |
| 414 |
|
| 415 |
<BR> |
| 416 |
Page size in bytes.</TD> |
| 417 |
</TR> |
| 418 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 419 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 420 |
<CODE> long</CODE></FONT></TD> |
| 421 |
<TD><CODE><B><A HREF="../../../com/sleepycat/db/CacheStats.html#getPageTrickle()">getPageTrickle</A></B>()</CODE> |
| 422 |
|
| 423 |
<BR> |
| 424 |
Dirty pages written using <A HREF="../../../com/sleepycat/db/Environment.html#trickleCacheWrite(int)"><CODE>Environment.trickleCacheWrite</CODE></A>.</TD> |
| 425 |
</TR> |
| 426 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 427 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 428 |
<CODE> long</CODE></FONT></TD> |
| 429 |
<TD><CODE><B><A HREF="../../../com/sleepycat/db/CacheStats.html#getRegionNowait()">getRegionNowait</A></B>()</CODE> |
| 430 |
|
| 431 |
<BR> |
| 432 |
The number of times that a thread of control was able to obtain a |
| 433 |
region lock without waiting.</TD> |
| 434 |
</TR> |
| 435 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 436 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 437 |
<CODE> long</CODE></FONT></TD> |
| 438 |
<TD><CODE><B><A HREF="../../../com/sleepycat/db/CacheStats.html#getRegionWait()">getRegionWait</A></B>()</CODE> |
| 439 |
|
| 440 |
<BR> |
| 441 |
The number of times that a thread of control was forced to wait |
| 442 |
before obtaining a region lock.</TD> |
| 443 |
</TR> |
| 444 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 445 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 446 |
<CODE> long</CODE></FONT></TD> |
| 447 |
<TD><CODE><B><A HREF="../../../com/sleepycat/db/CacheStats.html#getRegmax()">getRegmax</A></B>()</CODE> |
| 448 |
|
| 449 |
<BR> |
| 450 |
The max size of the mutex region size.</TD> |
| 451 |
</TR> |
| 452 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 453 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 454 |
<CODE> long</CODE></FONT></TD> |
| 455 |
<TD><CODE><B><A HREF="../../../com/sleepycat/db/CacheStats.html#getRegSize()">getRegSize</A></B>()</CODE> |
| 456 |
|
| 457 |
<BR> |
| 458 |
Individual cache size.</TD> |
| 459 |
</TR> |
| 460 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 461 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 462 |
<CODE> long</CODE></FONT></TD> |
| 463 |
<TD><CODE><B><A HREF="../../../com/sleepycat/db/CacheStats.html#getRoEvict()">getRoEvict</A></B>()</CODE> |
| 464 |
|
| 465 |
<BR> |
| 466 |
Clean pages forced from the cache.</TD> |
| 467 |
</TR> |
| 468 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 469 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 470 |
<CODE> long</CODE></FONT></TD> |
| 471 |
<TD><CODE><B><A HREF="../../../com/sleepycat/db/CacheStats.html#getRwEvict()">getRwEvict</A></B>()</CODE> |
| 472 |
|
| 473 |
<BR> |
| 474 |
Dirty pages forced from the cache.</TD> |
| 475 |
</TR> |
| 476 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 477 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 478 |
<CODE> long</CODE></FONT></TD> |
| 479 |
<TD><CODE><B><A HREF="../../../com/sleepycat/db/CacheStats.html#getSyncInterrupted()">getSyncInterrupted</A></B>()</CODE> |
| 480 |
|
| 481 |
<BR> |
| 482 |
Number of mpool sync operations interrupted.</TD> |
| 483 |
</TR> |
| 484 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 485 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| 486 |
<CODE> <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
| 487 |
<TD><CODE><B><A HREF="../../../com/sleepycat/db/CacheStats.html#toString()">toString</A></B>()</CODE> |
| 488 |
|
| 489 |
<BR> |
| 490 |
For convenience, the CacheStats class has a toString method that |
| 491 |
lists all the data fields.</TD> |
| 492 |
</TR> |
| 493 |
</TABLE> |
| 494 |
<A NAME="methods_inherited_from_class_java.lang.Object"></A> |
| 495 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 496 |
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
| 497 |
<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> |
| 498 |
</TR> |
| 499 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
| 500 |
<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> |
| 501 |
</TR> |
| 502 |
</TABLE> |
| 503 |
|
| 504 |
<P> |
| 505 |
|
| 506 |
|
| 507 |
|
| 508 |
<A NAME="method_detail"></A> |
| 509 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
| 510 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| 511 |
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
| 512 |
<B>Method Detail</B></FONT></TH> |
| 513 |
</TR> |
| 514 |
</TABLE> |
| 515 |
|
| 516 |
<A NAME="getGbytes()"></A><H3> |
| 517 |
getGbytes</H3> |
| 518 |
<PRE> |
| 519 |
public int <B>getGbytes</B>()</PRE> |
| 520 |
<DL> |
| 521 |
<DD>Gigabytes of cache (total cache size is st_gbytes + st_bytes). |
| 522 |
<P> |
| 523 |
<DD><DL> |
| 524 |
</DL> |
| 525 |
</DD> |
| 526 |
</DL> |
| 527 |
<HR> |
| 528 |
|
| 529 |
<A NAME="getBytes()"></A><H3> |
| 530 |
getBytes</H3> |
| 531 |
<PRE> |
| 532 |
public int <B>getBytes</B>()</PRE> |
| 533 |
<DL> |
| 534 |
<DD>Bytes of cache (total cache size is st_gbytes + st_bytes). |
| 535 |
<P> |
| 536 |
<DD><DL> |
| 537 |
</DL> |
| 538 |
</DD> |
| 539 |
</DL> |
| 540 |
<HR> |
| 541 |
|
| 542 |
<A NAME="getNumCache()"></A><H3> |
| 543 |
getNumCache</H3> |
| 544 |
<PRE> |
| 545 |
public int <B>getNumCache</B>()</PRE> |
| 546 |
<DL> |
| 547 |
<DD>Number of caches. |
| 548 |
<P> |
| 549 |
<DD><DL> |
| 550 |
</DL> |
| 551 |
</DD> |
| 552 |
</DL> |
| 553 |
<HR> |
| 554 |
|
| 555 |
<A NAME="getMaxNumCache()"></A><H3> |
| 556 |
getMaxNumCache</H3> |
| 557 |
<PRE> |
| 558 |
public int <B>getMaxNumCache</B>()</PRE> |
| 559 |
<DL> |
| 560 |
<DD>Maximum number of caches, as configured with |
| 561 |
<A HREF="../../../com/sleepycat/db/EnvironmentConfig.html#setCacheMax(long)"><CODE>EnvironmentConfig.setCacheMax(long)</CODE></A>. |
| 562 |
<P> |
| 563 |
<DD><DL> |
| 564 |
</DL> |
| 565 |
</DD> |
| 566 |
</DL> |
| 567 |
<HR> |
| 568 |
|
| 569 |
<A NAME="getMmapSize()"></A><H3> |
| 570 |
getMmapSize</H3> |
| 571 |
<PRE> |
| 572 |
public long <B>getMmapSize</B>()</PRE> |
| 573 |
<DL> |
| 574 |
<DD>Maximum file size for mmap. |
| 575 |
<P> |
| 576 |
<DD><DL> |
| 577 |
</DL> |
| 578 |
</DD> |
| 579 |
</DL> |
| 580 |
<HR> |
| 581 |
|
| 582 |
<A NAME="getMaxOpenfd()"></A><H3> |
| 583 |
getMaxOpenfd</H3> |
| 584 |
<PRE> |
| 585 |
public int <B>getMaxOpenfd</B>()</PRE> |
| 586 |
<DL> |
| 587 |
<DD>Maximum number of open file descriptors. |
| 588 |
<P> |
| 589 |
<DD><DL> |
| 590 |
</DL> |
| 591 |
</DD> |
| 592 |
</DL> |
| 593 |
<HR> |
| 594 |
|
| 595 |
<A NAME="getMaxWrite()"></A><H3> |
| 596 |
getMaxWrite</H3> |
| 597 |
<PRE> |
| 598 |
public int <B>getMaxWrite</B>()</PRE> |
| 599 |
<DL> |
| 600 |
<DD>The maximum number of sequential write operations scheduled by the library |
| 601 |
when flushing dirty pages from the cache. |
| 602 |
<P> |
| 603 |
<DD><DL> |
| 604 |
</DL> |
| 605 |
</DD> |
| 606 |
</DL> |
| 607 |
<HR> |
| 608 |
|
| 609 |
<A NAME="getMaxWriteSleep()"></A><H3> |
| 610 |
getMaxWriteSleep</H3> |
| 611 |
<PRE> |
| 612 |
public int <B>getMaxWriteSleep</B>()</PRE> |
| 613 |
<DL> |
| 614 |
<DD>The number of microseconds the thread of control should pause before |
| 615 |
scheduling further write operations. |
| 616 |
<P> |
| 617 |
<DD><DL> |
| 618 |
</DL> |
| 619 |
</DD> |
| 620 |
</DL> |
| 621 |
<HR> |
| 622 |
|
| 623 |
<A NAME="getPages()"></A><H3> |
| 624 |
getPages</H3> |
| 625 |
<PRE> |
| 626 |
public int <B>getPages</B>()</PRE> |
| 627 |
<DL> |
| 628 |
<DD>Pages in the cache. |
| 629 |
<P> |
| 630 |
<DD><DL> |
| 631 |
</DL> |
| 632 |
</DD> |
| 633 |
</DL> |
| 634 |
<HR> |
| 635 |
|
| 636 |
<A NAME="getMap()"></A><H3> |
| 637 |
getMap</H3> |
| 638 |
<PRE> |
| 639 |
public int <B>getMap</B>()</PRE> |
| 640 |
<DL> |
| 641 |
<DD>Requested pages mapped into the process' address space (there is no |
| 642 |
available information about whether or not this request caused disk I/O, |
| 643 |
although examining the application page fault rate may be helpful). |
| 644 |
<P> |
| 645 |
<DD><DL> |
| 646 |
</DL> |
| 647 |
</DD> |
| 648 |
</DL> |
| 649 |
<HR> |
| 650 |
|
| 651 |
<A NAME="getCacheHit()"></A><H3> |
| 652 |
getCacheHit</H3> |
| 653 |
<PRE> |
| 654 |
public long <B>getCacheHit</B>()</PRE> |
| 655 |
<DL> |
| 656 |
<DD>Requested pages found in the cache. |
| 657 |
<P> |
| 658 |
<DD><DL> |
| 659 |
</DL> |
| 660 |
</DD> |
| 661 |
</DL> |
| 662 |
<HR> |
| 663 |
|
| 664 |
<A NAME="getCacheMiss()"></A><H3> |
| 665 |
getCacheMiss</H3> |
| 666 |
<PRE> |
| 667 |
public long <B>getCacheMiss</B>()</PRE> |
| 668 |
<DL> |
| 669 |
<DD>Requested pages not found in the cache. |
| 670 |
<P> |
| 671 |
<DD><DL> |
| 672 |
</DL> |
| 673 |
</DD> |
| 674 |
</DL> |
| 675 |
<HR> |
| 676 |
|
| 677 |
<A NAME="getPageCreate()"></A><H3> |
| 678 |
getPageCreate</H3> |
| 679 |
<PRE> |
| 680 |
public long <B>getPageCreate</B>()</PRE> |
| 681 |
<DL> |
| 682 |
<DD>Pages created in the cache. |
| 683 |
<P> |
| 684 |
<DD><DL> |
| 685 |
</DL> |
| 686 |
</DD> |
| 687 |
</DL> |
| 688 |
<HR> |
| 689 |
|
| 690 |
<A NAME="getPageIn()"></A><H3> |
| 691 |
getPageIn</H3> |
| 692 |
<PRE> |
| 693 |
public long <B>getPageIn</B>()</PRE> |
| 694 |
<DL> |
| 695 |
<DD>Pages read into the cache. |
| 696 |
<P> |
| 697 |
<DD><DL> |
| 698 |
</DL> |
| 699 |
</DD> |
| 700 |
</DL> |
| 701 |
<HR> |
| 702 |
|
| 703 |
<A NAME="getPageOut()"></A><H3> |
| 704 |
getPageOut</H3> |
| 705 |
<PRE> |
| 706 |
public long <B>getPageOut</B>()</PRE> |
| 707 |
<DL> |
| 708 |
<DD>Pages written from the cache to the backing file. |
| 709 |
<P> |
| 710 |
<DD><DL> |
| 711 |
</DL> |
| 712 |
</DD> |
| 713 |
</DL> |
| 714 |
<HR> |
| 715 |
|
| 716 |
<A NAME="getRoEvict()"></A><H3> |
| 717 |
getRoEvict</H3> |
| 718 |
<PRE> |
| 719 |
public long <B>getRoEvict</B>()</PRE> |
| 720 |
<DL> |
| 721 |
<DD>Clean pages forced from the cache. |
| 722 |
<P> |
| 723 |
<DD><DL> |
| 724 |
</DL> |
| 725 |
</DD> |
| 726 |
</DL> |
| 727 |
<HR> |
| 728 |
|
| 729 |
<A NAME="getRwEvict()"></A><H3> |
| 730 |
getRwEvict</H3> |
| 731 |
<PRE> |
| 732 |
public long <B>getRwEvict</B>()</PRE> |
| 733 |
<DL> |
| 734 |
<DD>Dirty pages forced from the cache. |
| 735 |
<P> |
| 736 |
<DD><DL> |
| 737 |
</DL> |
| 738 |
</DD> |
| 739 |
</DL> |
| 740 |
<HR> |
| 741 |
|
| 742 |
<A NAME="getPageTrickle()"></A><H3> |
| 743 |
getPageTrickle</H3> |
| 744 |
<PRE> |
| 745 |
public long <B>getPageTrickle</B>()</PRE> |
| 746 |
<DL> |
| 747 |
<DD>Dirty pages written using <A HREF="../../../com/sleepycat/db/Environment.html#trickleCacheWrite(int)"><CODE>Environment.trickleCacheWrite</CODE></A>. |
| 748 |
<P> |
| 749 |
<DD><DL> |
| 750 |
</DL> |
| 751 |
</DD> |
| 752 |
</DL> |
| 753 |
<HR> |
| 754 |
|
| 755 |
<A NAME="getPageClean()"></A><H3> |
| 756 |
getPageClean</H3> |
| 757 |
<PRE> |
| 758 |
public int <B>getPageClean</B>()</PRE> |
| 759 |
<DL> |
| 760 |
<DD>Clean pages currently in the cache. |
| 761 |
<P> |
| 762 |
<DD><DL> |
| 763 |
</DL> |
| 764 |
</DD> |
| 765 |
</DL> |
| 766 |
<HR> |
| 767 |
|
| 768 |
<A NAME="getPageDirty()"></A><H3> |
| 769 |
getPageDirty</H3> |
| 770 |
<PRE> |
| 771 |
public int <B>getPageDirty</B>()</PRE> |
| 772 |
<DL> |
| 773 |
<DD>Dirty pages currently in the cache. |
| 774 |
<P> |
| 775 |
<DD><DL> |
| 776 |
</DL> |
| 777 |
</DD> |
| 778 |
</DL> |
| 779 |
<HR> |
| 780 |
|
| 781 |
<A NAME="getHashBuckets()"></A><H3> |
| 782 |
getHashBuckets</H3> |
| 783 |
<PRE> |
| 784 |
public int <B>getHashBuckets</B>()</PRE> |
| 785 |
<DL> |
| 786 |
<DD>Number of hash buckets in the buffer hash table. |
| 787 |
<P> |
| 788 |
<DD><DL> |
| 789 |
</DL> |
| 790 |
</DD> |
| 791 |
</DL> |
| 792 |
<HR> |
| 793 |
|
| 794 |
<A NAME="getHashMutexes()"></A><H3> |
| 795 |
getHashMutexes</H3> |
| 796 |
<PRE> |
| 797 |
public int <B>getHashMutexes</B>()</PRE> |
| 798 |
<DL> |
| 799 |
<DD>The number of hash bucket mutexes in the buffer hash table. |
| 800 |
<P> |
| 801 |
<DD><DL> |
| 802 |
</DL> |
| 803 |
</DD> |
| 804 |
</DL> |
| 805 |
<HR> |
| 806 |
|
| 807 |
<A NAME="getPageSize()"></A><H3> |
| 808 |
getPageSize</H3> |
| 809 |
<PRE> |
| 810 |
public int <B>getPageSize</B>()</PRE> |
| 811 |
<DL> |
| 812 |
<DD>Page size in bytes. |
| 813 |
<P> |
| 814 |
<DD><DL> |
| 815 |
</DL> |
| 816 |
</DD> |
| 817 |
</DL> |
| 818 |
<HR> |
| 819 |
|
| 820 |
<A NAME="getHashSearches()"></A><H3> |
| 821 |
getHashSearches</H3> |
| 822 |
<PRE> |
| 823 |
public int <B>getHashSearches</B>()</PRE> |
| 824 |
<DL> |
| 825 |
<DD>Total number of buffer hash table lookups. |
| 826 |
<P> |
| 827 |
<DD><DL> |
| 828 |
</DL> |
| 829 |
</DD> |
| 830 |
</DL> |
| 831 |
<HR> |
| 832 |
|
| 833 |
<A NAME="getHashLongest()"></A><H3> |
| 834 |
getHashLongest</H3> |
| 835 |
<PRE> |
| 836 |
public int <B>getHashLongest</B>()</PRE> |
| 837 |
<DL> |
| 838 |
<DD>The longest chain ever encountered in buffer hash table lookups. |
| 839 |
<P> |
| 840 |
<DD><DL> |
| 841 |
</DL> |
| 842 |
</DD> |
| 843 |
</DL> |
| 844 |
<HR> |
| 845 |
|
| 846 |
<A NAME="getHashExamined()"></A><H3> |
| 847 |
getHashExamined</H3> |
| 848 |
<PRE> |
| 849 |
public long <B>getHashExamined</B>()</PRE> |
| 850 |
<DL> |
| 851 |
<DD>Total number of hash elements traversed during hash table lookups. |
| 852 |
<P> |
| 853 |
<DD><DL> |
| 854 |
</DL> |
| 855 |
</DD> |
| 856 |
</DL> |
| 857 |
<HR> |
| 858 |
|
| 859 |
<A NAME="getHashNowait()"></A><H3> |
| 860 |
getHashNowait</H3> |
| 861 |
<PRE> |
| 862 |
public long <B>getHashNowait</B>()</PRE> |
| 863 |
<DL> |
| 864 |
<DD>The number of times that a thread of control was able to obtain a |
| 865 |
hash bucket lock without waiting. |
| 866 |
<P> |
| 867 |
<DD><DL> |
| 868 |
</DL> |
| 869 |
</DD> |
| 870 |
</DL> |
| 871 |
<HR> |
| 872 |
|
| 873 |
<A NAME="getHashWait()"></A><H3> |
| 874 |
getHashWait</H3> |
| 875 |
<PRE> |
| 876 |
public long <B>getHashWait</B>()</PRE> |
| 877 |
<DL> |
| 878 |
<DD>The number of times that a thread of control was forced to wait |
| 879 |
before obtaining a hash bucket lock. |
| 880 |
<P> |
| 881 |
<DD><DL> |
| 882 |
</DL> |
| 883 |
</DD> |
| 884 |
</DL> |
| 885 |
<HR> |
| 886 |
|
| 887 |
<A NAME="getHashMaxNowait()"></A><H3> |
| 888 |
getHashMaxNowait</H3> |
| 889 |
<PRE> |
| 890 |
public long <B>getHashMaxNowait</B>()</PRE> |
| 891 |
<DL> |
| 892 |
<DD>The number of times a thread of control was able to obtain the |
| 893 |
hash bucket lock without waiting on the bucket which had the |
| 894 |
maximum number of times that a thread of control needed to wait. |
| 895 |
<P> |
| 896 |
<DD><DL> |
| 897 |
</DL> |
| 898 |
</DD> |
| 899 |
</DL> |
| 900 |
<HR> |
| 901 |
|
| 902 |
<A NAME="getHashMaxWait()"></A><H3> |
| 903 |
getHashMaxWait</H3> |
| 904 |
<PRE> |
| 905 |
public long <B>getHashMaxWait</B>()</PRE> |
| 906 |
<DL> |
| 907 |
<DD>The maximum number of times any hash bucket lock was waited for by |
| 908 |
a thread of control. |
| 909 |
<P> |
| 910 |
<DD><DL> |
| 911 |
</DL> |
| 912 |
</DD> |
| 913 |
</DL> |
| 914 |
<HR> |
| 915 |
|
| 916 |
<A NAME="getRegionNowait()"></A><H3> |
| 917 |
getRegionNowait</H3> |
| 918 |
<PRE> |
| 919 |
public long <B>getRegionNowait</B>()</PRE> |
| 920 |
<DL> |
| 921 |
<DD>The number of times that a thread of control was able to obtain a |
| 922 |
region lock without waiting. |
| 923 |
<P> |
| 924 |
<DD><DL> |
| 925 |
</DL> |
| 926 |
</DD> |
| 927 |
</DL> |
| 928 |
<HR> |
| 929 |
|
| 930 |
<A NAME="getRegionWait()"></A><H3> |
| 931 |
getRegionWait</H3> |
| 932 |
<PRE> |
| 933 |
public long <B>getRegionWait</B>()</PRE> |
| 934 |
<DL> |
| 935 |
<DD>The number of times that a thread of control was forced to wait |
| 936 |
before obtaining a region lock. |
| 937 |
<P> |
| 938 |
<DD><DL> |
| 939 |
</DL> |
| 940 |
</DD> |
| 941 |
</DL> |
| 942 |
<HR> |
| 943 |
|
| 944 |
<A NAME="getMultiversionFrozen()"></A><H3> |
| 945 |
getMultiversionFrozen</H3> |
| 946 |
<PRE> |
| 947 |
public long <B>getMultiversionFrozen</B>()</PRE> |
| 948 |
<DL> |
| 949 |
<DD>Number of buffers frozen. |
| 950 |
<P> |
| 951 |
<DD><DL> |
| 952 |
</DL> |
| 953 |
</DD> |
| 954 |
</DL> |
| 955 |
<HR> |
| 956 |
|
| 957 |
<A NAME="getMultiversionThawed()"></A><H3> |
| 958 |
getMultiversionThawed</H3> |
| 959 |
<PRE> |
| 960 |
public long <B>getMultiversionThawed</B>()</PRE> |
| 961 |
<DL> |
| 962 |
<DD>Number of buffers thawed. |
| 963 |
<P> |
| 964 |
<DD><DL> |
| 965 |
</DL> |
| 966 |
</DD> |
| 967 |
</DL> |
| 968 |
<HR> |
| 969 |
|
| 970 |
<A NAME="getMultiversionFreed()"></A><H3> |
| 971 |
getMultiversionFreed</H3> |
| 972 |
<PRE> |
| 973 |
public long <B>getMultiversionFreed</B>()</PRE> |
| 974 |
<DL> |
| 975 |
<DD>Number of frozen buffers freed. |
| 976 |
<P> |
| 977 |
<DD><DL> |
| 978 |
</DL> |
| 979 |
</DD> |
| 980 |
</DL> |
| 981 |
<HR> |
| 982 |
|
| 983 |
<A NAME="getAlloc()"></A><H3> |
| 984 |
getAlloc</H3> |
| 985 |
<PRE> |
| 986 |
public long <B>getAlloc</B>()</PRE> |
| 987 |
<DL> |
| 988 |
<DD>Number of page allocations. |
| 989 |
<P> |
| 990 |
<DD><DL> |
| 991 |
</DL> |
| 992 |
</DD> |
| 993 |
</DL> |
| 994 |
<HR> |
| 995 |
|
| 996 |
<A NAME="getAllocBuckets()"></A><H3> |
| 997 |
getAllocBuckets</H3> |
| 998 |
<PRE> |
| 999 |
public long <B>getAllocBuckets</B>()</PRE> |
| 1000 |
<DL> |
| 1001 |
<DD>Number of hash buckets checked during allocation. |
| 1002 |
<P> |
| 1003 |
<DD><DL> |
| 1004 |
</DL> |
| 1005 |
</DD> |
| 1006 |
</DL> |
| 1007 |
<HR> |
| 1008 |
|
| 1009 |
<A NAME="getAllocMaxBuckets()"></A><H3> |
| 1010 |
getAllocMaxBuckets</H3> |
| 1011 |
<PRE> |
| 1012 |
public long <B>getAllocMaxBuckets</B>()</PRE> |
| 1013 |
<DL> |
| 1014 |
<DD>Maximum number of hash buckets checked during an allocation. |
| 1015 |
<P> |
| 1016 |
<DD><DL> |
| 1017 |
</DL> |
| 1018 |
</DD> |
| 1019 |
</DL> |
| 1020 |
<HR> |
| 1021 |
|
| 1022 |
<A NAME="getAllocPages()"></A><H3> |
| 1023 |
getAllocPages</H3> |
| 1024 |
<PRE> |
| 1025 |
public long <B>getAllocPages</B>()</PRE> |
| 1026 |
<DL> |
| 1027 |
<DD>Number of pages checked during allocation. |
| 1028 |
<P> |
| 1029 |
<DD><DL> |
| 1030 |
</DL> |
| 1031 |
</DD> |
| 1032 |
</DL> |
| 1033 |
<HR> |
| 1034 |
|
| 1035 |
<A NAME="getAllocMaxPages()"></A><H3> |
| 1036 |
getAllocMaxPages</H3> |
| 1037 |
<PRE> |
| 1038 |
public long <B>getAllocMaxPages</B>()</PRE> |
| 1039 |
<DL> |
| 1040 |
<DD>Maximum number of pages checked during an allocation. |
| 1041 |
<P> |
| 1042 |
<DD><DL> |
| 1043 |
</DL> |
| 1044 |
</DD> |
| 1045 |
</DL> |
| 1046 |
<HR> |
| 1047 |
|
| 1048 |
<A NAME="getIoWait()"></A><H3> |
| 1049 |
getIoWait</H3> |
| 1050 |
<PRE> |
| 1051 |
public long <B>getIoWait</B>()</PRE> |
| 1052 |
<DL> |
| 1053 |
<DD>Number of operations blocked waiting for I/O to complete. |
| 1054 |
<P> |
| 1055 |
<DD><DL> |
| 1056 |
</DL> |
| 1057 |
</DD> |
| 1058 |
</DL> |
| 1059 |
<HR> |
| 1060 |
|
| 1061 |
<A NAME="getSyncInterrupted()"></A><H3> |
| 1062 |
getSyncInterrupted</H3> |
| 1063 |
<PRE> |
| 1064 |
public long <B>getSyncInterrupted</B>()</PRE> |
| 1065 |
<DL> |
| 1066 |
<DD>Number of mpool sync operations interrupted. |
| 1067 |
<P> |
| 1068 |
<DD><DL> |
| 1069 |
</DL> |
| 1070 |
</DD> |
| 1071 |
</DL> |
| 1072 |
<HR> |
| 1073 |
|
| 1074 |
<A NAME="getRegSize()"></A><H3> |
| 1075 |
getRegSize</H3> |
| 1076 |
<PRE> |
| 1077 |
public long <B>getRegSize</B>()</PRE> |
| 1078 |
<DL> |
| 1079 |
<DD>Individual cache size. |
| 1080 |
<P> |
| 1081 |
<DD><DL> |
| 1082 |
</DL> |
| 1083 |
</DD> |
| 1084 |
</DL> |
| 1085 |
<HR> |
| 1086 |
|
| 1087 |
<A NAME="getRegmax()"></A><H3> |
| 1088 |
getRegmax</H3> |
| 1089 |
<PRE> |
| 1090 |
public long <B>getRegmax</B>()</PRE> |
| 1091 |
<DL> |
| 1092 |
<DD>The max size of the mutex region size. |
| 1093 |
<P> |
| 1094 |
<DD><DL> |
| 1095 |
</DL> |
| 1096 |
</DD> |
| 1097 |
</DL> |
| 1098 |
<HR> |
| 1099 |
|
| 1100 |
<A NAME="toString()"></A><H3> |
| 1101 |
toString</H3> |
| 1102 |
<PRE> |
| 1103 |
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> |
| 1104 |
<DL> |
| 1105 |
<DD>For convenience, the CacheStats class has a toString method that |
| 1106 |
lists all the data fields. |
| 1107 |
<P> |
| 1108 |
<DD><DL> |
| 1109 |
<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> |
| 1110 |
</DD> |
| 1111 |
<DD><DL> |
| 1112 |
</DL> |
| 1113 |
</DD> |
| 1114 |
</DL> |
| 1115 |
|
| 1116 |
<HR> |
| 1117 |
|
| 1118 |
|
| 1119 |
|
| 1120 |
<A NAME="navbar_bottom"></A> |
| 1121 |
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
| 1122 |
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
| 1123 |
<TR> |
| 1124 |
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
| 1125 |
<A NAME="navbar_bottom_firstrow"></A> |
| 1126 |
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
| 1127 |
<TR ALIGN="center" VALIGN="top"> |
| 1128 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
| 1129 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
| 1130 |
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
| 1131 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/CacheStats.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
| 1132 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
| 1133 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
| 1134 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
| 1135 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
| 1136 |
</TR> |
| 1137 |
</TABLE> |
| 1138 |
</TD> |
| 1139 |
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
| 1140 |
<b>Berkeley DB</b><br><font size="-1"> version 5.3.28</font></EM> |
| 1141 |
</TD> |
| 1142 |
</TR> |
| 1143 |
|
| 1144 |
<TR> |
| 1145 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| 1146 |
<A HREF="../../../com/sleepycat/db/CacheFileStats.html" title="class in com.sleepycat.db"><B>PREV CLASS</B></A> |
| 1147 |
<A HREF="../../../com/sleepycat/db/CheckpointConfig.html" title="class in com.sleepycat.db"><B>NEXT CLASS</B></A></FONT></TD> |
| 1148 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| 1149 |
<A HREF="../../../index.html?com/sleepycat/db/CacheStats.html" target="_top"><B>FRAMES</B></A> |
| 1150 |
<A HREF="CacheStats.html" target="_top"><B>NO FRAMES</B></A> |
| 1151 |
<SCRIPT type="text/javascript"> |
| 1152 |
<!-- |
| 1153 |
if(window==top) { |
| 1154 |
document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
| 1155 |
} |
| 1156 |
//--> |
| 1157 |
</SCRIPT> |
| 1158 |
<NOSCRIPT> |
| 1159 |
<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> |
| 1160 |
</NOSCRIPT> |
| 1161 |
|
| 1162 |
|
| 1163 |
</FONT></TD> |
| 1164 |
</TR> |
| 1165 |
<TR> |
| 1166 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| 1167 |
SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| 1168 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| 1169 |
DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> |
| 1170 |
</TR> |
| 1171 |
</TABLE> |
| 1172 |
<A NAME="skip-navbar_bottom"></A> |
| 1173 |
|
| 1174 |
|
| 1175 |
<HR> |
| 1176 |
<font size=1>Copyright (c) 1996, 2013 Oracle and/or its affiliates. All rights reserved.</font> |
| 1177 |
</BODY> |
| 1178 |
</HTML> |