|
Qizx/db 2.1 API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Monitors the progress of diverse operations on a Library.
Caution: implementations of these methods should never throw RuntimeExceptions.
| Method Summary | |
void |
backupProgress(double fraction)
Monitors the progress of a backup operation. |
void |
commitProgress(double fraction)
Monitors the progress of a commit operation. |
void |
importProgress(double size)
Monitors the progress of an importDocument operation. |
void |
optimizationProgress(double fraction)
Monitors the progress of an "optimize" operation ( Library.optimize()). |
void |
reindexingProgress(double fraction)
Monitors the progress of a "re-index" operation ( Library.reIndex()). |
| Method Detail |
public void importProgress(double size)
size - estimated size in characters of XML contents stored so far.public void commitProgress(double fraction)
fraction - estimated completed fraction, from 0 to 1.public void backupProgress(double fraction)
fraction - estimated completed fraction, from 0 to 1.public void optimizationProgress(double fraction)
Library.optimize()).
fraction - estimated completed fraction. As long as the
optimization task is not actually started, the value is negative
(-1). The task can be delayed by operations on other Library
sessions (e.g commits). As the optimization task runs, the
fraction value goes from 0 to 1.public void reindexingProgress(double fraction)
Library.reIndex()).
fraction - estimated completed fraction. As long as the
reindexing task is not actually started, the value is negative
(-1). The task can be delayed by operations on other Library
sessions (e.g commits). As the reindexing task runs, the
fraction value goes from 0 to 1.
|
© 2008 Axyana Software | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||