Packages

class Pool extends SqlClient

A pool of SQL connections.

Linear Supertypes
SqlClient, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Pool
  2. SqlClient
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Pool(_asJava: AnyRef)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def asJava: AnyRef
    Definition Classes
    SqlClient
  6. def begin(handler: Handler[AsyncResult[Transaction]]): Unit

    Borrow a connection from the pool and begin a transaction, the underlying connection will be returned to the pool when the transaction ends.

  7. def beginFuture(): Future[Transaction]

    Like begin but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  8. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  9. def close(): Unit

    Close the pool and release the associated resources.

    Close the pool and release the associated resources.

    Definition Classes
    PoolSqlClient
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def getConnection(handler: Handler[AsyncResult[SqlConnection]]): Unit

    Get a connection from the pool.

    Get a connection from the pool. * @param handler the handler that will get the connection result

  15. def getConnectionFuture(): Future[SqlConnection]

    Like getConnection but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  16. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. def preparedQuery(sql: String): PreparedQuery[RowSet[Row]]

    A connection is borrowed from the connection pool when the query is executed and then immediately returned to the pool after it completes.

    A connection is borrowed from the connection pool when the query is executed and then immediately returned to the pool after it completes.

    Definition Classes
    PoolSqlClient
  22. def query(sql: String): Query[RowSet[Row]]

    A connection is borrowed from the connection pool when the query is executed and then immediately returned to the pool after it completes.

    A connection is borrowed from the connection pool when the query is executed and then immediately returned to the pool after it completes.

    Definition Classes
    PoolSqlClient
  23. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  24. def toString(): String
    Definition Classes
    AnyRef → Any
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from SqlClient

Inherited from AnyRef

Inherited from Any

Ungrouped