パッケージ org.nkjmlab.util.h2

クラス H2Server

java.lang.Object
org.nkjmlab.util.h2.H2Server

public class H2Server extends Object
  • コンストラクタの詳細

    • H2Server

      public H2Server()
  • メソッドの詳細

    • openBrowser

      public static void openBrowser(Connection conn, boolean keepAlive)
    • openBrowser

      public static void openBrowser(DataSource dataSource, boolean keepAlive)
    • shutdownTcpServer

      public static void shutdownTcpServer()
    • shutdownTcpServer

      public static void shutdownTcpServer(int tcpPort, String tcpPassword, long wait, TimeUnit unit)
      パラメータ:
      tcpPassword - is a password of tcpPassword Of H2 Server. It is not password of DB admin.
    • startServerProcessAndWait

      public static void startServerProcessAndWait()
    • startServerProcessAndWaitFor

      public static void startServerProcessAndWaitFor(int tcpPort, String tcpPassword, int webPort, String webAdminPassword, String... options)
    • startServerProcessAndWaitFor

      public static void startServerProcessAndWaitFor(long waitTime, TimeUnit unit)
    • startServerProcessAndWaitFor

      public static void startServerProcessAndWaitFor(String h2ClassPath, int tcpPort, String tcpPassword, int webPort, String webAdminPassword, long timeout, TimeUnit unit, String... options)