final case class ConnectionPoolConfig(url: String, properties: Properties, poolSize: Int = 10, queueCapacity: Int = 1000, autoCommit: Boolean = true, retryPolicy: Schedule[Any, Exception, Any] = ...) extends Product with Serializable
Configuration information for the connection pool.
- url
The JDBC connection string.
- properties
JDBC connection properties (username / password could go here).
- poolSize
The size of the pool.
- queueCapacity
The capacity of the queue for connections. When this size is reached, back pressure will block attempts to add more.
- retryPolicy
The retry policy to use when acquiring connections.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ConnectionPoolConfig
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
-
new
ConnectionPoolConfig(url: String, properties: Properties, poolSize: Int = 10, queueCapacity: Int = 1000, autoCommit: Boolean = true, retryPolicy: Schedule[Any, Exception, Any] = ...)
- url
The JDBC connection string.
- properties
JDBC connection properties (username / password could go here).
- poolSize
The size of the pool.
- queueCapacity
The capacity of the queue for connections. When this size is reached, back pressure will block attempts to add more.
- retryPolicy
The retry policy to use when acquiring connections.
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
- val autoCommit: Boolean
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
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()
- val poolSize: Int
- val properties: Properties
- val queueCapacity: Int
- val retryPolicy: Schedule[Any, Exception, Any]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val url: String
-
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
- @throws( ... ) @native()