public class HsqldbRepoProviderDaemon
extends java.lang.Object
构造器和说明 |
---|
HsqldbRepoProviderDaemon(int port) |
HsqldbRepoProviderDaemon(int port, java.lang.String outputpath) |
限定符和类型 | 方法和说明 |
---|---|
protected void |
cleanExpireDBDataDir()
清除过期的数据库文件对应的目录
|
protected java.lang.String |
dateString(java.util.Date date) |
protected java.lang.String |
dbPathOfToday() |
protected java.lang.String |
dbPathOfYesterday() |
protected long |
initialDelay()
第一次运行重启Server的时间间隔,单位秒
|
boolean |
isRunning() |
protected void |
restartServer() |
protected void |
setExecutorFactory(com.supermap.services.rest.repository.HsqldbRepoProviderDaemon.ExecutorFactory executorFactory) |
boolean |
start() |
protected void |
startDaemon() |
protected boolean |
startServer() |
void |
stop() |
protected void |
stopDaemon() |
protected java.lang.String |
tmpResourcesDir() |
protected java.util.Date |
yesterday() |
public HsqldbRepoProviderDaemon(int port)
public HsqldbRepoProviderDaemon(int port, java.lang.String outputpath)
public boolean start()
public void stop()
public boolean isRunning()
protected void setExecutorFactory(com.supermap.services.rest.repository.HsqldbRepoProviderDaemon.ExecutorFactory executorFactory)
protected void startDaemon()
protected void stopDaemon()
protected void cleanExpireDBDataDir()
protected void restartServer()
protected long initialDelay()
protected boolean startServer()
protected java.lang.String dbPathOfToday()
protected java.lang.String dbPathOfYesterday()
protected java.util.Date yesterday()
protected java.lang.String tmpResourcesDir()
protected java.lang.String dateString(java.util.Date date)