/* * - * See the file LICENSE for redistribution information. * * Copyright (c) 1997-2003 * Sleepycat Software. All rights reserved. * * $Id: DbEnvFeedbackHandler.java,v 11.19 2003/11/28 18:35:42 bostic Exp $ */ package com.sleepycat.db; /** * The DbEnvFeedbackHandler interface is used by the * DbEnv.setFeedback method. This interface defines the * application-specific function to be called to to report Berkeley * DB operation progress. */ public interface DbEnvFeedbackHandler { /** * The DbEnvFeedbackHandler interface is used by the * DbEnv.setFeedback method. This interface defines the * application-specific function to be called to to report * Berkeley DB operation progress.

* *

* * @param dbenv a reference to the enclosing database * environment. * @param opcode an operation code. The opcode parameter * may take on any of the following values: * * * @param percent the percent of the operation that has been * completed, specified as an integer value between 0 and * 100. */ public abstract void feedback(DbEnv dbenv, int opcode, int percent); }