nxt.db.pool

## Class H2ConnectionPool

- java.lang.Object
- - nxt.db.pool.H2ConnectionPool

- All Implemented Interfaces:
    ConnectionPool

      public class H2ConnectionPool
      extends java.lang.Object
      implements ConnectionPool

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `H2ConnectionPool()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.sql.Connection` | `getConnection()`
    `void` | `initialize(java.lang.String dbUrl, java.lang.String dbUsername, java.lang.String dbPassword, int maxConnections, int loginTimeout)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### H2ConnectionPool

          public H2ConnectionPool()

  - ### Method Detail

    - #### initialize

          public void initialize(java.lang.String dbUrl,
                                 java.lang.String dbUsername,
                                 java.lang.String dbPassword,
                                 int maxConnections,
                                 int loginTimeout)

      Specified by:
        `initialize` in interface `ConnectionPool`

    - #### getConnection

          public java.sql.Connection getConnection()
                                            throws java.sql.SQLException

      Specified by:
        `getConnection` in interface `ConnectionPool`
      Throws:
        `java.sql.SQLException`