Packages

c

scalikejdbc

Commons2ConnectionPool

class Commons2ConnectionPool extends ConnectionPool

Commons DBCP Connection Pool

Source
Commons2ConnectionPool.scala
See also

http://commons.apache.org/proper/commons-dbcp/

Linear Supertypes
ConnectionPool, AutoCloseable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Commons2ConnectionPool
  2. ConnectionPool
  3. AutoCloseable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Commons2ConnectionPool(url: String, user: String, password: String, settings: ConnectionPoolSettings = ConnectionPoolSettings())

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 borrow(): Connection

    Borrows java.sql.Connection from pool.

    Borrows java.sql.Connection from pool.

    returns

    connection

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

    Close this connection pool.

    Close this connection pool.

    Definition Classes
    Commons2ConnectionPoolConnectionPool → AutoCloseable
  8. def connectionAttributes: DBConnectionAttributes
    Definition Classes
    ConnectionPool
  9. def dataSource: DataSource

    Returns javax.sql.DataSource object.

    Returns javax.sql.DataSource object.

    returns

    datasource

    Definition Classes
    Commons2ConnectionPoolConnectionPool
  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 hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. def maxActive: Int

    Returns max limit of active connections.

    Returns max limit of active connections.

    returns

    num

    Definition Classes
    Commons2ConnectionPoolConnectionPool
  17. def maxIdle: Int

    Returns max limit of idle connections.

    Returns max limit of idle connections.

    returns

    num

    Definition Classes
    Commons2ConnectionPoolConnectionPool
  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 numActive: Int

    Returns num of active connections.

    Returns num of active connections.

    returns

    num

    Definition Classes
    Commons2ConnectionPoolConnectionPool
  22. def numIdle: Int

    Returns num of idle connections.

    Returns num of idle connections.

    returns

    num

    Definition Classes
    Commons2ConnectionPoolConnectionPool
  23. val settings: ConnectionPoolSettings
    Definition Classes
    Commons2ConnectionPoolConnectionPool
  24. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  25. def toString(): String

    Returns self as a String value.

    Returns self as a String value.

    returns

    printable String value

    Definition Classes
    ConnectionPool → AnyRef → Any
  26. val url: String
    Definition Classes
    Commons2ConnectionPoolConnectionPool
  27. val user: String
    Definition Classes
    Commons2ConnectionPoolConnectionPool
  28. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from ConnectionPool

Inherited from AutoCloseable

Inherited from AnyRef

Inherited from Any

Ungrouped