com.supermap.services.rest.repository
类 HsqldbRepoProviderDaemon
- java.lang.Object
-
- com.supermap.services.rest.repository.HsqldbRepoProviderDaemon
-
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()
-
-
-
构造器详细资料
-
HsqldbRepoProviderDaemon
public HsqldbRepoProviderDaemon(int port)
-
HsqldbRepoProviderDaemon
public HsqldbRepoProviderDaemon(int port, java.lang.String outputpath)
-
-
方法详细资料
-
start
public boolean start()
-
stop
public void stop()
-
isRunning
public boolean isRunning()
-
setExecutorFactory
protected void setExecutorFactory(com.supermap.services.rest.repository.HsqldbRepoProviderDaemon.ExecutorFactory executorFactory)
-
startDaemon
protected void startDaemon()
-
stopDaemon
protected void stopDaemon()
-
cleanExpireDBDataDir
protected void cleanExpireDBDataDir()
清除过期的数据库文件对应的目录
-
restartServer
protected void restartServer()
-
initialDelay
protected long initialDelay()
第一次运行重启Server的时间间隔,单位秒- 返回:
-
startServer
protected boolean startServer()
-
dbPathOfToday
protected java.lang.String dbPathOfToday()
-
dbPathOfYesterday
protected java.lang.String dbPathOfYesterday()
-
yesterday
protected java.util.Date yesterday()
-
tmpResourcesDir
protected java.lang.String tmpResourcesDir()
-
dateString
protected java.lang.String dateString(java.util.Date date)
-
-