abstract
class
ConnectionPool[Resource, Key] extends AnyRef
Instance Constructors
-
new
ConnectionPool()
Abstract Value Members
-
abstract
def
check(resource: Resource): Boolean
-
abstract
def
dispose(resource: Resource): Unit
-
abstract
def
make(key: Key): Resource
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: Any): Boolean
-
def
acquire(key: Key): Resource
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
-
-
def
finalize(): Unit
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
-
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
def
release(key: Key, resource: Resource): Unit
-
def
spare: Int
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
timeout: Long
-
def
toString(): String
-
def
using[Res](key: Key)(fn: (Resource) ⇒ Res): Res
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit