c
com.github.mauricio.async.db.postgresql.pool
PostgreSQLConnectionFactory
Companion object PostgreSQLConnectionFactory
class PostgreSQLConnectionFactory extends ObjectFactory[PostgreSQLConnection]
Object responsible for creating new connection instances.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- PostgreSQLConnectionFactory
- ObjectFactory
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new PostgreSQLConnectionFactory(configuration: Configuration, group: EventLoopGroup = NettyUtils.DefaultEventLoopGroup, executionContext: ExecutionContext = ExecutorServiceUtils.CachedExecutionContext)
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 clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- val configuration: Configuration
- def create: PostgreSQLConnection
- Definition Classes
- PostgreSQLConnectionFactory → ObjectFactory
- def destroy(item: PostgreSQLConnection): Unit
- Definition Classes
- PostgreSQLConnectionFactory → ObjectFactory
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- 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()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def test(item: PostgreSQLConnection): Try[PostgreSQLConnection]
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.
- item
an object produced by this pool
- Definition Classes
- PostgreSQLConnectionFactory → ObjectFactory
- def toString(): String
- Definition Classes
- AnyRef → Any
- def validate(item: PostgreSQLConnection): Try[PostgreSQLConnection]
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.
- item
an object produced by this pool
- Definition Classes
- PostgreSQLConnectionFactory → ObjectFactory
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()