Interface ConnectionPoolState


public interface ConnectionPoolState
This holds information about the state of the connection pool at the time a connection was borrowed from the connection pool
  • Method Details

    • getTimeToBorrowNanos

      long getTimeToBorrowNanos()
      Returns:
      the time it took to borrow this connection from the pool in nano seconds
    • getTimeToBorrow

      long getTimeToBorrow()
      Returns:
      the time it took to borrow this connection from the pool in mill seconds
    • getBorrowedCount

      int getBorrowedCount()
      Returns:
      the number of objects that have been borrowed from the pool
    • getConnectionPoolInfo

      ConnectionPoolInfo getConnectionPoolInfo()
      Returns:
      the static pool infomation, known when the pool was created.