com.supermap.services.rest.repository

Class HsqldbRepoProviderDaemon

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


  • public class HsqldbRepoProviderDaemon
    extends java.lang.Object
    
    • Method Summary

      Methods 
      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() 
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • HsqldbRepoProviderDaemon

        public HsqldbRepoProviderDaemon(int port)
        
      • HsqldbRepoProviderDaemon

        public HsqldbRepoProviderDaemon(int port,
                                java.lang.String outputpath)
        
    • Method Detail

      • 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()
        
        Clears the expired database file corresponding to the directory
      • restartServer

        protected void restartServer()
        
      • initialDelay

        protected long initialDelay()
        
        The time interval for restarting the server for the first time, in seconds
        Returns:
      • 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)