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:47 EDT 2010 --> 6<TITLE> 7FeedbackHandler (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="FeedbackHandler (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/FeedbackHandler.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/EventHandlerAdapter.html" title="class in com.sleepycat.db"><B>PREV CLASS</B></A> 59 <A HREF="../../../com/sleepycat/db/ForeignKeyDeleteAction.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/FeedbackHandler.html" target="_top"><B>FRAMES</B></A> 62 <A HREF="FeedbackHandler.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> 93Interface FeedbackHandler</H2> 94<HR> 95<DL> 96<DT><PRE>public interface <B>FeedbackHandler</B></DL> 97</PRE> 98 99<P> 100An interface specifying a function to be called to provide feedback. 101<P> 102 103<P> 104<HR> 105 106<P> 107 108<!-- ========== METHOD SUMMARY =========== --> 109 110<A NAME="method_summary"><!-- --></A> 111<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 112<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 113<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> 114<B>Method Summary</B></FONT></TH> 115</TR> 116<TR BGCOLOR="white" CLASS="TableRowColor"> 117<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 118<CODE> void</CODE></FONT></TD> 119<TD><CODE><B><A HREF="../../../com/sleepycat/db/FeedbackHandler.html#recoveryFeedback(com.sleepycat.db.Environment, int)">recoveryFeedback</A></B>(<A HREF="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db">Environment</A> environment, 120 int percent)</CODE> 121 122<BR> 123 A function called with progress information when the database environment is being recovered.</TD> 124</TR> 125<TR BGCOLOR="white" CLASS="TableRowColor"> 126<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 127<CODE> void</CODE></FONT></TD> 128<TD><CODE><B><A HREF="../../../com/sleepycat/db/FeedbackHandler.html#upgradeFeedback(com.sleepycat.db.Database, int)">upgradeFeedback</A></B>(<A HREF="../../../com/sleepycat/db/Database.html" title="class in com.sleepycat.db">Database</A> database, 129 int percent)</CODE> 130 131<BR> 132 A function called with progress information when the database is being upgraded.</TD> 133</TR> 134<TR BGCOLOR="white" CLASS="TableRowColor"> 135<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 136<CODE> void</CODE></FONT></TD> 137<TD><CODE><B><A HREF="../../../com/sleepycat/db/FeedbackHandler.html#verifyFeedback(com.sleepycat.db.Database, int)">verifyFeedback</A></B>(<A HREF="../../../com/sleepycat/db/Database.html" title="class in com.sleepycat.db">Database</A> database, 138 int percent)</CODE> 139 140<BR> 141 A function called with progress information when the database is being verified.</TD> 142</TR> 143</TABLE> 144 145<P> 146 147<!-- ============ METHOD DETAIL ========== --> 148 149<A NAME="method_detail"><!-- --></A> 150<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 151<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 152<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> 153<B>Method Detail</B></FONT></TH> 154</TR> 155</TABLE> 156 157<A NAME="recoveryFeedback(com.sleepycat.db.Environment, int)"><!-- --></A><H3> 158recoveryFeedback</H3> 159<PRE> 160void <B>recoveryFeedback</B>(<A HREF="../../../com/sleepycat/db/Environment.html" title="class in com.sleepycat.db">Environment</A> environment, 161 int percent)</PRE> 162<DL> 163<DD>A function called with progress information when the database environment is being recovered. 164 <p> 165 It is up to this function to display this information in an appropriate manner. 166 <p> 167<P> 168<DD><DL> 169<DT><B>Parameters:</B><DD><CODE>environment</CODE> - A reference to the enclosing database environment. 170 <p><DD><CODE>percent</CODE> - The percent of the operation completed, specified as an integer value between 0 and 100.</DL> 171</DD> 172</DL> 173<HR> 174 175<A NAME="upgradeFeedback(com.sleepycat.db.Database, int)"><!-- --></A><H3> 176upgradeFeedback</H3> 177<PRE> 178void <B>upgradeFeedback</B>(<A HREF="../../../com/sleepycat/db/Database.html" title="class in com.sleepycat.db">Database</A> database, 179 int percent)</PRE> 180<DL> 181<DD>A function called with progress information when the database is being upgraded. 182 <p> 183 It is up to this function to display this information in an appropriate manner. 184 <p> 185<P> 186<DD><DL> 187<DT><B>Parameters:</B><DD><CODE>database</CODE> - A reference to the enclosing database. 188 <p><DD><CODE>percent</CODE> - The percent of the operation completed, specified as an integer value between 0 and 100.</DL> 189</DD> 190</DL> 191<HR> 192 193<A NAME="verifyFeedback(com.sleepycat.db.Database, int)"><!-- --></A><H3> 194verifyFeedback</H3> 195<PRE> 196void <B>verifyFeedback</B>(<A HREF="../../../com/sleepycat/db/Database.html" title="class in com.sleepycat.db">Database</A> database, 197 int percent)</PRE> 198<DL> 199<DD>A function called with progress information when the database is being verified. 200 <p> 201 It is up to this function to display this information in an appropriate manner. 202 <p> 203<P> 204<DD><DL> 205<DT><B>Parameters:</B><DD><CODE>database</CODE> - A reference to the enclosing database. 206 <p><DD><CODE>percent</CODE> - The percent of the operation completed, specified as an integer value between 0 and 100.</DL> 207</DD> 208</DL> 209<!-- ========= END OF CLASS DATA ========= --> 210<HR> 211 212 213<!-- ======= START OF BOTTOM NAVBAR ====== --> 214<A NAME="navbar_bottom"><!-- --></A> 215<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> 216<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> 217<TR> 218<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> 219<A NAME="navbar_bottom_firstrow"><!-- --></A> 220<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> 221 <TR ALIGN="center" VALIGN="top"> 222 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> 223 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> 224 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> 225 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/FeedbackHandler.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> 226 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> 227 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> 228 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> 229 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> 230 </TR> 231</TABLE> 232</TD> 233<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> 234<b>Berkeley DB</b><br><font size="-1"> version 4.8.30</font></EM> 235</TD> 236</TR> 237 238<TR> 239<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 240 <A HREF="../../../com/sleepycat/db/EventHandlerAdapter.html" title="class in com.sleepycat.db"><B>PREV CLASS</B></A> 241 <A HREF="../../../com/sleepycat/db/ForeignKeyDeleteAction.html" title="class in com.sleepycat.db"><B>NEXT CLASS</B></A></FONT></TD> 242<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 243 <A HREF="../../../index.html?com/sleepycat/db/FeedbackHandler.html" target="_top"><B>FRAMES</B></A> 244 <A HREF="FeedbackHandler.html" target="_top"><B>NO FRAMES</B></A> 245 <SCRIPT type="text/javascript"> 246 <!-- 247 if(window==top) { 248 document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); 249 } 250 //--> 251</SCRIPT> 252<NOSCRIPT> 253 <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> 254</NOSCRIPT> 255 256 257</FONT></TD> 258</TR> 259<TR> 260<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 261 SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> 262<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 263DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> 264</TR> 265</TABLE> 266<A NAME="skip-navbar_bottom"></A> 267<!-- ======== END OF BOTTOM NAVBAR ======= --> 268 269<HR> 270<font size=1>Copyright (c) 1996-2009 Oracle. All rights reserved.</font> 271</BODY> 272</HTML> 273