PostgreSQLConnectionFactory

class PostgreSQLConnectionFactory(val configuration: Configuration, group: EventLoopGroup, executionContext: ExecutionContext) extends ObjectFactory[PostgreSQLConnection]

Object responsible for creating new connection instances.

Companion
object
trait ObjectFactory[PostgreSQLConnection]
class Object
trait Matchable
class Any

Value members

Concrete methods

def destroy(item: PostgreSQLConnection): Unit

Tests whether we can still send a SELECT 0 statement to the database.

Tests whether we can still send a SELECT 0 statement to the database.

Value Params
item

an object produced by this pool

Definition Classes
ObjectFactory

Validates by checking if the connection is still connected to the database or not.

Validates by checking if the connection is still connected to the database or not.

Value Params
item

an object produced by this pool

Concrete fields

val configuration: Configuration