Packages

c

scalut.data.async

AbstractDataManager

abstract class AbstractDataManager[T <: DataManager[T]] extends DataManager[T]

Base class for working with data.

Linear Supertypes
DataManager[T], AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AbstractDataManager
  2. DataManager
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new AbstractDataManager(dataManager: T)(implicit ec: ExecutionContext)
  2. new AbstractDataManager()(implicit ec: ExecutionContext)

Abstract Value Members

  1. abstract def beginTxCore(): Unit

    returns

    true if transaction opened

    Attributes
    protected
  2. abstract def closeCore(): Unit

    When overriding performs the ending work of the current manager (not external manager).

    When overriding performs the ending work of the current manager (not external manager).

    returns

    true if closed.

    Attributes
    protected
  3. abstract def commitTxCore(): Unit

    returns

    true if transaction commited

    Attributes
    protected
  4. abstract def isInTransactionCore: Boolean

    returns

    true if transaction is active.

    Attributes
    protected
  5. abstract def isOpenCore: Boolean

    When overriding checks the work of the current manager (not external manager).

    When overriding checks the work of the current manager (not external manager).

    returns

    Return true if current manager in session, else false.

    Attributes
    protected
  6. abstract def openCore(): Unit

    When overriding performs the beginning work of the current manager (not external manager).

    When overriding performs the beginning work of the current manager (not external manager).

    Attributes
    protected
  7. abstract def rollbackTxCore(): Unit

    returns

    true if transaction rollbacked

    Attributes
    protected

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. final def beginTx(): Future[_]

    Begins transaction.

    Begins transaction.

    Definition Classes
    AbstractDataManagerDataManager
  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def close(): Future[_]

    Ends session wokr, rollback active transactions, closes connection and clears cashe.If there is external manager, the end session may be that manager in which the method open is called.

    Ends session wokr, rollback active transactions, closes connection and clears cashe.If there is external manager, the end session may be that manager in which the method open is called.

    Definition Classes
    AbstractDataManagerDataManager
  8. final def commitTx(): Future[_]

    Commits transaction.

    Commits transaction.

    Definition Classes
    AbstractDataManagerDataManager
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. var externalDataManager: T

    External manager, a session that you want to use.

    External manager, a session that you want to use.

    Attributes
    protected
  12. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  15. final def isInTransaction: Boolean

    Opened whether transaction?

    Opened whether transaction?

    returns

    Return true if manager in trasaction, else false.

    Definition Classes
    AbstractDataManagerDataManager
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. final def isOpen: Boolean

    Opened whether session?

    Opened whether session?

    returns

    Return true if session is opened, else false.

    Definition Classes
    AbstractDataManagerDataManager
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  21. final def open(): Future[_]

    Begin session work.

    Begin session work.

    Definition Classes
    AbstractDataManagerDataManager
  22. final def rollbackTx(): Future[_]

    Rollback transaction.

    Rollback transaction.

    Definition Classes
    AbstractDataManagerDataManager
  23. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  24. def toString(): String
    Definition Classes
    AnyRef → Any
  25. final def use(dataManager: T): AbstractDataManager.this.type

    Indicates the manager, a session that you want to use.

    Indicates the manager, a session that you want to use.

    Definition Classes
    AbstractDataManagerDataManager
  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from DataManager[T]

Inherited from AnyRef

Inherited from Any

Ungrouped