Interface ConnectionPool

All Superinterfaces:
AutoCloseable
All Known Implementing Classes:
DatasourceConnectionPool, InternalConnectionPool

public interface ConnectionPool extends AutoCloseable
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    default void
    Executes 'commit' command on a connection without throwing a checked exception.
    get()
     
    boolean
     
    void
     
  • Method Details

    • get

      Connection get()
    • setDbAdaptor

      void setDbAdaptor(DBAdaptor dbAdaptor)
    • close

      void close()
      Specified by:
      close in interface AutoCloseable
    • isClosed

      boolean isClosed()
    • commit

      default void commit(Connection conn)
      Executes 'commit' command on a connection without throwing a checked exception.
      Parameters:
      conn - connection for commit execution.