Package com.sleepycat.db
Interface FeedbackHandler
public interface FeedbackHandler
An interface specifying a function to be called to provide feedback.
-
Method Summary
Modifier and TypeMethodDescriptionvoidrecoveryFeedback(Environment environment, int percent) A function called with progress information when the database environment is being recovered.voidupgradeFeedback(Database database, int percent) A function called with progress information when the database is being upgraded.voidverifyFeedback(Database database, int percent) A function called with progress information when the database is being verified.
-
Method Details
-
recoveryFeedback
A function called with progress information when the database environment is being recovered.It is up to this function to display this information in an appropriate manner.
- Parameters:
environment- A reference to the enclosing database environment.percent- The percent of the operation completed, specified as an integer value between 0 and 100.
-
upgradeFeedback
A function called with progress information when the database is being upgraded.It is up to this function to display this information in an appropriate manner.
- Parameters:
database- A reference to the enclosing database.percent- The percent of the operation completed, specified as an integer value between 0 and 100.
-
verifyFeedback
A function called with progress information when the database is being verified.It is up to this function to display this information in an appropriate manner.
- Parameters:
database- A reference to the enclosing database.percent- The percent of the operation completed, specified as an integer value between 0 and 100.
-