提交 dc3d51fb authored 作者: Thomas Mueller's avatar Thomas Mueller

Documentation.

上级 bd1bc289
......@@ -71,6 +71,9 @@ public interface DatabaseEventListener extends EventListener {
/**
* This method is called for long running events, such as recovering,
* scanning a file or building an index.
* <p>
* More states might be added in future versions, therefore implementations
* should silently ignore states that they don't understand.
*
* @param state the state
* @param name the object name
......
......@@ -122,6 +122,8 @@ public class ShowProgress implements DatabaseEventListener {
case STATE_RECOVER:
stateName = "Recover";
break;
default:
return;
}
try {
Thread.sleep(1);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论