Class TDBRunner


  • public class TDBRunner
    extends java.lang.Object
    • Field Detail

      • remote

        protected final boolean remote
      • embeddedTopics

        protected final boolean embeddedTopics
      • user

        public java.lang.String user
      • pass

        public java.lang.String pass
      • useSSL

        public boolean useSSL
    • Constructor Detail

      • TDBRunner

        public TDBRunner​(boolean isRemote)
      • TDBRunner

        public TDBRunner​(boolean isRemote,
                         boolean doFormat)
      • TDBRunner

        public TDBRunner​(boolean isRemote,
                         boolean doFormat,
                         java.lang.String location)
      • TDBRunner

        public TDBRunner​(boolean isRemote,
                         boolean doFormat,
                         EmbeddedServer server)
      • TDBRunner

        public TDBRunner​(boolean isRemote,
                         boolean doFormat,
                         java.lang.String location,
                         EmbeddedServer server)
      • TDBRunner

        public TDBRunner​(boolean isRemote,
                         boolean doFormat,
                         java.lang.String location,
                         EmbeddedServer server,
                         boolean enableLocalTopics)
    • Method Detail

      • getTemporaryLocation

        public static java.lang.String getTemporaryLocation()
      • getTemporaryLocation

        public static java.lang.String getTemporaryLocation​(java.lang.String subpath)
      • startup

        public void startup()
                     throws java.lang.Exception
        Throws:
        java.lang.Exception
      • createClient

        public DXTickDB createClient()
      • shutdown

        public void shutdown()
                      throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getTickDb

        public DXTickDB getTickDb()
      • getServerDb

        public DXTickDB getServerDb()
      • open

        protected void open​(boolean ro)
      • close

        protected void close()
      • setDoFormat

        public void setDoFormat​(boolean doFormat)
      • setPort

        public void setPort​(int port)
      • getPort

        public int getPort()
      • getLocation

        public java.lang.String getLocation()
      • setCleanup

        public void setCleanup​(boolean cleanup)
        Enables cleanup on shutdown (all local data gets deleted).