implicit final class PoolExtensions extends AnyVal
Pool Extensions
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- PoolExtensions
- AnyVal
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
##(): Int
- Definition Classes
- Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
-
def
getConnectionFuture: Promise[Connection]
- Annotations
- @inline()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
onConnection(callback: Function1[Connection, Any]): pool.type
The pool will emit a connection event when a new connection is made within the pool.
The pool will emit a connection event when a new connection is made within the pool. If you need to set session variables on the connection before it gets used, you can listen to the connection event.
- Annotations
- @inline()
-
def
onEnqueue(callback: Function): pool.type
The pool will emit an enqueue event when a callback has been queued to wait for an available connection.
The pool will emit an enqueue event when a callback has been queued to wait for an available connection.
- Annotations
- @inline()
- val pool: Pool
-
def
toString(): String
- Definition Classes
- Any