Kyoto Cabinet
|
Interface to check progress status of long process. More...
#include <kcdb.h>
Public Member Functions | |
virtual | ~ProgressChecker () |
Destructor. | |
virtual bool | check (const char *name, const char *message, int64_t curcnt, int64_t allcnt)=0 |
Check the progress status. |
Interface to check progress status of long process.
virtual kyotocabinet::BasicDB::ProgressChecker::~ProgressChecker | ( | ) | [virtual] |
Destructor.
virtual bool kyotocabinet::BasicDB::ProgressChecker::check | ( | const char * | name, |
const char * | message, | ||
int64_t | curcnt, | ||
int64_t | allcnt | ||
) | [pure virtual] |
Check the progress status.
name | the name of the process. |
message | a supplement message. |
curcnt | the count of the current step of the progress, or -1 if not applicable. |
allcnt | the estimation count of all steps of the progress, or -1 if not applicable. |