Packages

c

scalikejdbc.async.internal

NonSharedAsyncConnectionImpl

abstract class NonSharedAsyncConnectionImpl extends AsyncConnectionCommonImpl with NonSharedAsyncConnection

Non-shared Asynchronous Connection

Linear Supertypes
NonSharedAsyncConnection, AsyncConnectionCommonImpl, AsyncConnection, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. NonSharedAsyncConnectionImpl
  2. NonSharedAsyncConnection
  3. AsyncConnectionCommonImpl
  4. AsyncConnection
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. 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

  1. 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

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. def close(): Unit

    Close or release this connection.

    Close or release this connection.

    Definition Classes
    AsyncConnectionCommonImpl → AsyncConnection
  7. def ensureNonShared(): Unit
    Attributes
    protected
    Definition Classes
    AsyncConnectionCommonImpl
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def isActive: Boolean

    Returns this connection is active.

    Returns this connection is active.

    returns

    active

    Definition Classes
    AsyncConnectionCommonImpl → AsyncConnection
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. def isShared: Boolean

    Returns this connection is shared.

    Returns this connection is shared.

    returns

    shared

    Definition Classes
    NonSharedAsyncConnectionAsyncConnection
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. val pool: Option[com.github.jasync.sql.db.pool.ConnectionPool[ConcreteConnection]]
  20. 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
    NonSharedAsyncConnectionImplNonSharedAsyncConnection
  21. 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
  22. 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
  23. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  24. def toNonSharedConnection()(implicit cxt: ShortenedNames.EC = ECGlobal): Future[NonSharedAsyncConnection]

    Returns non-shared connection.

    Returns non-shared connection.

    cxt

    execution context

    returns

    connection

    Definition Classes
    NonSharedAsyncConnectionImplAsyncConnection
  25. def toString(): String
    Definition Classes
    AnyRef → Any
  26. val underlying: Connection
    Definition Classes
    NonSharedAsyncConnectionImpl → AsyncConnectionCommonImpl
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  28. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  29. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from AsyncConnectionCommonImpl

Inherited from AsyncConnection

Inherited from AnyRef

Inherited from Any

Ungrouped