abstract class NonSharedAsyncConnectionImpl extends AsyncConnectionCommonImpl with NonSharedAsyncConnection
Non-shared Asynchronous Connection
- Alphabetic
- By Inheritance
- NonSharedAsyncConnectionImpl
- NonSharedAsyncConnection
- AsyncConnectionCommonImpl
- AsyncConnection
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new NonSharedAsyncConnectionImpl(underlying: Connection, pool: Option[com.github.jasync.sql.db.pool.ConnectionPool[ConcreteConnection]] = None)
- underlying
jasync connection
- pool
jasync connection pool
Abstract Value Members
- abstract def extractGeneratedKey(queryResult: QueryResult)(implicit cxt: ShortenedNames.EC = ECGlobal): Future[Option[Long]]
Extracts generated key.
Extracts generated key.
- queryResult
query result
- cxt
execution context
- returns
optional generated key
- Attributes
- protected
- Definition Classes
- AsyncConnectionCommonImpl
Concrete 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()
- def close(): Unit
Close or release this connection.
Close or release this connection.
- Definition Classes
- AsyncConnectionCommonImpl → AsyncConnection
- def ensureNonShared(): Unit
- Attributes
- protected
- Definition Classes
- AsyncConnectionCommonImpl
- 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()
- def isActive: Boolean
Returns this connection is active.
Returns this connection is active.
- returns
active
- Definition Classes
- AsyncConnectionCommonImpl → AsyncConnection
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isShared: Boolean
Returns this connection is shared.
Returns this connection is shared.
- returns
shared
- Definition Classes
- NonSharedAsyncConnection → AsyncConnection
- 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 pool: Option[com.github.jasync.sql.db.pool.ConnectionPool[ConcreteConnection]]
- def release(): Unit
Gives back this connection to the pool, and the connection will be shared again.
Gives back this connection to the pool, and the connection will be shared again.
- Definition Classes
- NonSharedAsyncConnectionImpl → NonSharedAsyncConnection
- def sendPreparedStatement(statement: String, parameters: Any*)(implicit cxt: ShortenedNames.EC = ECGlobal): Future[AsyncQueryResult]
Send a prepared statement.
Send a prepared statement.
- statement
statement
- parameters
parameters
- cxt
execution context
- returns
future
- Definition Classes
- AsyncConnectionCommonImpl → AsyncConnection
- def sendQuery(statement: String)(implicit cxt: ShortenedNames.EC = ECGlobal): Future[AsyncQueryResult]
Send a query.
Send a query.
- statement
statement
- cxt
execution context
- returns
future
- Definition Classes
- AsyncConnectionCommonImpl → AsyncConnection
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toNonSharedConnection()(implicit cxt: ShortenedNames.EC = ECGlobal): Future[NonSharedAsyncConnection]
Returns non-shared connection.
Returns non-shared connection.
- cxt
execution context
- returns
connection
- Definition Classes
- NonSharedAsyncConnectionImpl → AsyncConnection
- def toString(): String
- Definition Classes
- AnyRef → Any
- val underlying: Connection
- Definition Classes
- NonSharedAsyncConnectionImpl → AsyncConnectionCommonImpl
- 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()