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> 7CacheFilePriority (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="CacheFilePriority (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/CacheFilePriority.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/CacheFile.html" title="class in com.sleepycat.db"><B>PREV CLASS</B></A> 59 <A HREF="../../../com/sleepycat/db/CacheFileStats.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/CacheFilePriority.html" target="_top"><B>FRAMES</B></A> 62 <A HREF="CacheFilePriority.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 | <A HREF="#field_summary">FIELD</A> | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> 80<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 81DETAIL: <A HREF="#field_detail">FIELD</A> | 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 CacheFilePriority</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.CacheFilePriority</B> 97</PRE> 98<HR> 99<DL> 100<DT><PRE>public final class <B>CacheFilePriority</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> 104Priorities that can be assigned to files in the cache. 105<P> 106 107<P> 108<HR> 109 110<P> 111<!-- =========== FIELD SUMMARY =========== --> 112 113<A NAME="field_summary"><!-- --></A> 114<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 115<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 116<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> 117<B>Field Summary</B></FONT></TH> 118</TR> 119<TR BGCOLOR="white" CLASS="TableRowColor"> 120<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 121<CODE>static <A HREF="../../../com/sleepycat/db/CacheFilePriority.html" title="class in com.sleepycat.db">CacheFilePriority</A></CODE></FONT></TD> 122<TD><CODE><B><A HREF="../../../com/sleepycat/db/CacheFilePriority.html#DEFAULT">DEFAULT</A></B></CODE> 123 124<BR> 125 The default priority.</TD> 126</TR> 127<TR BGCOLOR="white" CLASS="TableRowColor"> 128<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 129<CODE>static <A HREF="../../../com/sleepycat/db/CacheFilePriority.html" title="class in com.sleepycat.db">CacheFilePriority</A></CODE></FONT></TD> 130<TD><CODE><B><A HREF="../../../com/sleepycat/db/CacheFilePriority.html#HIGH">HIGH</A></B></CODE> 131 132<BR> 133 The second highest priority.</TD> 134</TR> 135<TR BGCOLOR="white" CLASS="TableRowColor"> 136<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 137<CODE>static <A HREF="../../../com/sleepycat/db/CacheFilePriority.html" title="class in com.sleepycat.db">CacheFilePriority</A></CODE></FONT></TD> 138<TD><CODE><B><A HREF="../../../com/sleepycat/db/CacheFilePriority.html#LOW">LOW</A></B></CODE> 139 140<BR> 141 The second lowest priority.</TD> 142</TR> 143<TR BGCOLOR="white" CLASS="TableRowColor"> 144<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 145<CODE>static <A HREF="../../../com/sleepycat/db/CacheFilePriority.html" title="class in com.sleepycat.db">CacheFilePriority</A></CODE></FONT></TD> 146<TD><CODE><B><A HREF="../../../com/sleepycat/db/CacheFilePriority.html#VERY_HIGH">VERY_HIGH</A></B></CODE> 147 148<BR> 149 The highest priority: pages are the least likely to be discarded.</TD> 150</TR> 151<TR BGCOLOR="white" CLASS="TableRowColor"> 152<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 153<CODE>static <A HREF="../../../com/sleepycat/db/CacheFilePriority.html" title="class in com.sleepycat.db">CacheFilePriority</A></CODE></FONT></TD> 154<TD><CODE><B><A HREF="../../../com/sleepycat/db/CacheFilePriority.html#VERY_LOW">VERY_LOW</A></B></CODE> 155 156<BR> 157 The lowest priority: pages are the most likely to be discarded.</TD> 158</TR> 159</TABLE> 160 161<!-- ========== METHOD SUMMARY =========== --> 162 163<A NAME="method_summary"><!-- --></A> 164<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 165<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 166<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> 167<B>Method Summary</B></FONT></TH> 168</TR> 169<TR BGCOLOR="white" CLASS="TableRowColor"> 170<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 171<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> 172<TD><CODE><B><A HREF="../../../com/sleepycat/db/CacheFilePriority.html#toString()">toString</A></B>()</CODE> 173 174<BR> 175 </TD> 176</TR> 177</TABLE> 178 <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> 179<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 180<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> 181<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> 182</TR> 183<TR BGCOLOR="white" CLASS="TableRowColor"> 184<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> 185</TR> 186</TABLE> 187 188<P> 189 190<!-- ============ FIELD DETAIL =========== --> 191 192<A NAME="field_detail"><!-- --></A> 193<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 194<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 195<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> 196<B>Field Detail</B></FONT></TH> 197</TR> 198</TABLE> 199 200<A NAME="DEFAULT"><!-- --></A><H3> 201DEFAULT</H3> 202<PRE> 203public static final <A HREF="../../../com/sleepycat/db/CacheFilePriority.html" title="class in com.sleepycat.db">CacheFilePriority</A> <B>DEFAULT</B></PRE> 204<DL> 205<DD>The default priority. 206<P> 207<DL> 208</DL> 209</DL> 210<HR> 211 212<A NAME="HIGH"><!-- --></A><H3> 213HIGH</H3> 214<PRE> 215public static final <A HREF="../../../com/sleepycat/db/CacheFilePriority.html" title="class in com.sleepycat.db">CacheFilePriority</A> <B>HIGH</B></PRE> 216<DL> 217<DD>The second highest priority. 218<P> 219<DL> 220</DL> 221</DL> 222<HR> 223 224<A NAME="LOW"><!-- --></A><H3> 225LOW</H3> 226<PRE> 227public static final <A HREF="../../../com/sleepycat/db/CacheFilePriority.html" title="class in com.sleepycat.db">CacheFilePriority</A> <B>LOW</B></PRE> 228<DL> 229<DD>The second lowest priority. 230<P> 231<DL> 232</DL> 233</DL> 234<HR> 235 236<A NAME="VERY_HIGH"><!-- --></A><H3> 237VERY_HIGH</H3> 238<PRE> 239public static final <A HREF="../../../com/sleepycat/db/CacheFilePriority.html" title="class in com.sleepycat.db">CacheFilePriority</A> <B>VERY_HIGH</B></PRE> 240<DL> 241<DD>The highest priority: pages are the least likely to be discarded. 242<P> 243<DL> 244</DL> 245</DL> 246<HR> 247 248<A NAME="VERY_LOW"><!-- --></A><H3> 249VERY_LOW</H3> 250<PRE> 251public static final <A HREF="../../../com/sleepycat/db/CacheFilePriority.html" title="class in com.sleepycat.db">CacheFilePriority</A> <B>VERY_LOW</B></PRE> 252<DL> 253<DD>The lowest priority: pages are the most likely to be discarded. 254<P> 255<DL> 256</DL> 257</DL> 258 259<!-- ============ METHOD DETAIL ========== --> 260 261<A NAME="method_detail"><!-- --></A> 262<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 263<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 264<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> 265<B>Method Detail</B></FONT></TH> 266</TR> 267</TABLE> 268 269<A NAME="toString()"><!-- --></A><H3> 270toString</H3> 271<PRE> 272public <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> 273<DL> 274<DD> 275<P> 276<DD><DL> 277<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> 278</DD> 279<DD><DL> 280</DL> 281</DD> 282</DL> 283<!-- ========= END OF CLASS DATA ========= --> 284<HR> 285 286 287<!-- ======= START OF BOTTOM NAVBAR ====== --> 288<A NAME="navbar_bottom"><!-- --></A> 289<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> 290<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> 291<TR> 292<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> 293<A NAME="navbar_bottom_firstrow"><!-- --></A> 294<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> 295 <TR ALIGN="center" VALIGN="top"> 296 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> 297 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> 298 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> 299 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/CacheFilePriority.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> 300 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> 301 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> 302 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> 303 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> 304 </TR> 305</TABLE> 306</TD> 307<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> 308<b>Berkeley DB</b><br><font size="-1"> version 4.8.30</font></EM> 309</TD> 310</TR> 311 312<TR> 313<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 314 <A HREF="../../../com/sleepycat/db/CacheFile.html" title="class in com.sleepycat.db"><B>PREV CLASS</B></A> 315 <A HREF="../../../com/sleepycat/db/CacheFileStats.html" title="class in com.sleepycat.db"><B>NEXT CLASS</B></A></FONT></TD> 316<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 317 <A HREF="../../../index.html?com/sleepycat/db/CacheFilePriority.html" target="_top"><B>FRAMES</B></A> 318 <A HREF="CacheFilePriority.html" target="_top"><B>NO FRAMES</B></A> 319 <SCRIPT type="text/javascript"> 320 <!-- 321 if(window==top) { 322 document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); 323 } 324 //--> 325</SCRIPT> 326<NOSCRIPT> 327 <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> 328</NOSCRIPT> 329 330 331</FONT></TD> 332</TR> 333<TR> 334<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 335 SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> 336<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 337DETAIL: <A HREF="#field_detail">FIELD</A> | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> 338</TR> 339</TABLE> 340<A NAME="skip-navbar_bottom"></A> 341<!-- ======== END OF BOTTOM NAVBAR ======= --> 342 343<HR> 344<font size=1>Copyright (c) 1996-2009 Oracle. All rights reserved.</font> 345</BODY> 346</HTML> 347