Berkeley DB
version 4.2.52

com.sleepycat.db
Interface DbFeedbackHandler


public interface DbFeedbackHandler

The DbFeedbackHandler interface is used by the Db.setFeedback method. This interface defines the application-specific function to be called to to report Berkeley DB operation progress.


Method Summary
 void feedback(Db db, int opcode, int percent)
          The DbFeedbackHandler interface is used by the Db.setFeedback method.
 

Method Detail

feedback

public void feedback(Db db,
                     int opcode,
                     int percent)
The DbFeedbackHandler interface is used by the Db.setFeedback method. This interface defines the application-specific function to be called to to report Berkeley DB operation progress.

Parameters:
db - a reference to the enclosing database.
opcode - an operation code. The opcode parameter may take on any of the following values:
percent - the percent of the operation that has been completed, specified as an integer value between 0 and 100.

Berkeley DB
version 4.2.52

Copyright (c) 1996-2003 Sleepycat Software, Inc. - All rights reserved.