class Commons2ConnectionPool extends ConnectionPool
Commons DBCP Connection Pool
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Commons2ConnectionPool
- ConnectionPool
- AutoCloseable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new Commons2ConnectionPool(url: String, user: String, password: String, settings: ConnectionPoolSettings = ConnectionPoolSettings())
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
borrow(): Connection
Borrows java.sql.Connection from pool.
Borrows java.sql.Connection from pool.
- returns
connection
- Definition Classes
- Commons2ConnectionPool → ConnectionPool
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
close(): Unit
Close this connection pool.
Close this connection pool.
- Definition Classes
- Commons2ConnectionPool → ConnectionPool → AutoCloseable
-
def
connectionAttributes: DBConnectionAttributes
- Definition Classes
- ConnectionPool
-
def
dataSource: DataSource
Returns javax.sql.DataSource object.
Returns javax.sql.DataSource object.
- returns
datasource
- Definition Classes
- Commons2ConnectionPool → ConnectionPool
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
maxActive: Int
Returns max limit of active connections.
Returns max limit of active connections.
- returns
num
- Definition Classes
- Commons2ConnectionPool → ConnectionPool
-
def
maxIdle: Int
Returns max limit of idle connections.
Returns max limit of idle connections.
- returns
num
- Definition Classes
- Commons2ConnectionPool → ConnectionPool
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
numActive: Int
Returns num of active connections.
Returns num of active connections.
- returns
num
- Definition Classes
- Commons2ConnectionPool → ConnectionPool
-
def
numIdle: Int
Returns num of idle connections.
Returns num of idle connections.
- returns
num
- Definition Classes
- Commons2ConnectionPool → ConnectionPool
-
val
settings: ConnectionPoolSettings
- Definition Classes
- Commons2ConnectionPool → ConnectionPool
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
Returns self as a String value.
Returns self as a String value.
- returns
printable String value
- Definition Classes
- ConnectionPool → AnyRef → Any
-
val
url: String
- Definition Classes
- Commons2ConnectionPool → ConnectionPool
-
val
user: String
- Definition Classes
- Commons2ConnectionPool → ConnectionPool
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )