com.supermap.services.rest.repository

类 HsqldbRepoProviderDaemon

  • java.lang.Object
    • com.supermap.services.rest.repository.HsqldbRepoProviderDaemon


  • public class HsqldbRepoProviderDaemon
    extends java.lang.Object
    
    • 构造器详细资料

      • 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)