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_03) on Mon Apr 12 16:25:45 EDT 2010 --> 6<TITLE> 7CacheFileStats (Oracle - Berkeley DB Java API) 8</TITLE> 9 10<META NAME="date" CONTENT="2010-04-12"> 11 12<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../style.css" TITLE="Style"> 13 14<SCRIPT type="text/javascript"> 15function windowTitle() 16{ 17 if (location.href.indexOf('is-external=true') == -1) { 18 parent.document.title="CacheFileStats (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> </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/CacheFileStats.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 4.8.30</font></EM> 53</TD> 54</TR> 55 56<TR> 57<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 58 <A HREF="../../../com/sleepycat/db/CacheFilePriority.html" title="class in com.sleepycat.db"><B>PREV CLASS</B></A> 59 <A HREF="../../../com/sleepycat/db/CacheStats.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/CacheFileStats.html" target="_top"><B>FRAMES</B></A> 62 <A HREF="CacheFileStats.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"> 81DETAIL: FIELD | CONSTR | <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"> 91com.sleepycat.db</FONT> 92<BR> 93Class CacheFileStats</H2> 94<PRE> 95<A HREF="http://java.sun.com/j2se/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.CacheFileStats</B> 97</PRE> 98<HR> 99<DL> 100<DT><PRE>public class <B>CacheFileStats</B><DT>extends <A HREF="http://java.sun.com/j2se/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> 104Statistics for a file in the cache. 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> long</CODE></FONT></TD> 123<TD><CODE><B><A HREF="../../../com/sleepycat/db/CacheFileStats.html#getCacheHit()">getCacheHit</A></B>()</CODE> 124 125<BR> 126 TODO</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/CacheFileStats.html#getCacheMiss()">getCacheMiss</A></B>()</CODE> 132 133<BR> 134 TODO</TD> 135</TR> 136<TR BGCOLOR="white" CLASS="TableRowColor"> 137<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 138<CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> 139<TD><CODE><B><A HREF="../../../com/sleepycat/db/CacheFileStats.html#getFileName()">getFileName</A></B>()</CODE> 140 141<BR> 142 TODO</TD> 143</TR> 144<TR BGCOLOR="white" CLASS="TableRowColor"> 145<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 146<CODE> int</CODE></FONT></TD> 147<TD><CODE><B><A HREF="../../../com/sleepycat/db/CacheFileStats.html#getMap()">getMap</A></B>()</CODE> 148 149<BR> 150 TODO</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/CacheFileStats.html#getPageCreate()">getPageCreate</A></B>()</CODE> 156 157<BR> 158 TODO</TD> 159</TR> 160<TR BGCOLOR="white" CLASS="TableRowColor"> 161<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 162<CODE> long</CODE></FONT></TD> 163<TD><CODE><B><A HREF="../../../com/sleepycat/db/CacheFileStats.html#getPageIn()">getPageIn</A></B>()</CODE> 164 165<BR> 166 TODO</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/CacheFileStats.html#getPageOut()">getPageOut</A></B>()</CODE> 172 173<BR> 174 TODO</TD> 175</TR> 176<TR BGCOLOR="white" CLASS="TableRowColor"> 177<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 178<CODE> int</CODE></FONT></TD> 179<TD><CODE><B><A HREF="../../../com/sleepycat/db/CacheFileStats.html#getPageSize()">getPageSize</A></B>()</CODE> 180 181<BR> 182 TODO</TD> 183</TR> 184<TR BGCOLOR="white" CLASS="TableRowColor"> 185<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 186<CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> 187<TD><CODE><B><A HREF="../../../com/sleepycat/db/CacheFileStats.html#toString()">toString</A></B>()</CODE> 188 189<BR> 190 For convenience, the CacheFileStats class has a toString method 191 that lists all the data fields.</TD> 192</TR> 193</TABLE> 194 <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> 195<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 196<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> 197<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH> 198</TR> 199<TR BGCOLOR="white" CLASS="TableRowColor"> 200<TD><CODE><A HREF="http://java.sun.com/j2se/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://java.sun.com/j2se/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://java.sun.com/j2se/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://java.sun.com/j2se/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://java.sun.com/j2se/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://java.sun.com/j2se/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://java.sun.com/j2se/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://java.sun.com/j2se/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://java.sun.com/j2se/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://java.sun.com/j2se/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> 201</TR> 202</TABLE> 203 204<P> 205 206<!-- ============ METHOD DETAIL ========== --> 207 208<A NAME="method_detail"><!-- --></A> 209<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 210<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 211<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> 212<B>Method Detail</B></FONT></TH> 213</TR> 214</TABLE> 215 216<A NAME="getFileName()"><!-- --></A><H3> 217getFileName</H3> 218<PRE> 219public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getFileName</B>()</PRE> 220<DL> 221<DD>TODO 222<P> 223<DD><DL> 224</DL> 225</DD> 226</DL> 227<HR> 228 229<A NAME="getPageSize()"><!-- --></A><H3> 230getPageSize</H3> 231<PRE> 232public int <B>getPageSize</B>()</PRE> 233<DL> 234<DD>TODO 235<P> 236<DD><DL> 237</DL> 238</DD> 239</DL> 240<HR> 241 242<A NAME="getMap()"><!-- --></A><H3> 243getMap</H3> 244<PRE> 245public int <B>getMap</B>()</PRE> 246<DL> 247<DD>TODO 248<P> 249<DD><DL> 250</DL> 251</DD> 252</DL> 253<HR> 254 255<A NAME="getCacheHit()"><!-- --></A><H3> 256getCacheHit</H3> 257<PRE> 258public long <B>getCacheHit</B>()</PRE> 259<DL> 260<DD>TODO 261<P> 262<DD><DL> 263</DL> 264</DD> 265</DL> 266<HR> 267 268<A NAME="getCacheMiss()"><!-- --></A><H3> 269getCacheMiss</H3> 270<PRE> 271public long <B>getCacheMiss</B>()</PRE> 272<DL> 273<DD>TODO 274<P> 275<DD><DL> 276</DL> 277</DD> 278</DL> 279<HR> 280 281<A NAME="getPageCreate()"><!-- --></A><H3> 282getPageCreate</H3> 283<PRE> 284public long <B>getPageCreate</B>()</PRE> 285<DL> 286<DD>TODO 287<P> 288<DD><DL> 289</DL> 290</DD> 291</DL> 292<HR> 293 294<A NAME="getPageIn()"><!-- --></A><H3> 295getPageIn</H3> 296<PRE> 297public long <B>getPageIn</B>()</PRE> 298<DL> 299<DD>TODO 300<P> 301<DD><DL> 302</DL> 303</DD> 304</DL> 305<HR> 306 307<A NAME="getPageOut()"><!-- --></A><H3> 308getPageOut</H3> 309<PRE> 310public long <B>getPageOut</B>()</PRE> 311<DL> 312<DD>TODO 313<P> 314<DD><DL> 315</DL> 316</DD> 317</DL> 318<HR> 319 320<A NAME="toString()"><!-- --></A><H3> 321toString</H3> 322<PRE> 323public <A HREF="http://java.sun.com/j2se/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> 324<DL> 325<DD>For convenience, the CacheFileStats class has a toString method 326 that lists all the data fields. 327<P> 328<DD><DL> 329<DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/j2se/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://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></DL> 330</DD> 331<DD><DL> 332</DL> 333</DD> 334</DL> 335<!-- ========= END OF CLASS DATA ========= --> 336<HR> 337 338 339<!-- ======= START OF BOTTOM NAVBAR ====== --> 340<A NAME="navbar_bottom"><!-- --></A> 341<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> 342<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> 343<TR> 344<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> 345<A NAME="navbar_bottom_firstrow"><!-- --></A> 346<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> 347 <TR ALIGN="center" VALIGN="top"> 348 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> 349 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> 350 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> 351 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/CacheFileStats.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> 352 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> 353 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> 354 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> 355 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> 356 </TR> 357</TABLE> 358</TD> 359<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> 360<b>Berkeley DB</b><br><font size="-1"> version 4.8.30</font></EM> 361</TD> 362</TR> 363 364<TR> 365<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 366 <A HREF="../../../com/sleepycat/db/CacheFilePriority.html" title="class in com.sleepycat.db"><B>PREV CLASS</B></A> 367 <A HREF="../../../com/sleepycat/db/CacheStats.html" title="class in com.sleepycat.db"><B>NEXT CLASS</B></A></FONT></TD> 368<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 369 <A HREF="../../../index.html?com/sleepycat/db/CacheFileStats.html" target="_top"><B>FRAMES</B></A> 370 <A HREF="CacheFileStats.html" target="_top"><B>NO FRAMES</B></A> 371 <SCRIPT type="text/javascript"> 372 <!-- 373 if(window==top) { 374 document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); 375 } 376 //--> 377</SCRIPT> 378<NOSCRIPT> 379 <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> 380</NOSCRIPT> 381 382 383</FONT></TD> 384</TR> 385<TR> 386<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 387 SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> 388<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 389DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> 390</TR> 391</TABLE> 392<A NAME="skip-navbar_bottom"></A> 393<!-- ======== END OF BOTTOM NAVBAR ======= --> 394 395<HR> 396<font size=1>Copyright (c) 1996-2009 Oracle. All rights reserved.</font> 397</BODY> 398</HTML> 399