public class HsqldbRepoProviderDaemon
extends java.lang.Object
Constructor and Description |
---|
HsqldbRepoProviderDaemon(int port) |
HsqldbRepoProviderDaemon(int port, java.lang.String outputpath) |
Modifier and Type | Method and Description |
---|---|
protected void |
cleanExpireDBDataDir()
Clears the expired database file corresponding to the directory
|
protected java.lang.String |
dateString(java.util.Date date) |
protected java.lang.String |
dbPathOfToday() |
protected java.lang.String |
dbPathOfYesterday() |
protected long |
initialDelay()
The time interval for restarting the server for the first time, in seconds
|
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)