abstract class AbstractDataManager[T <: DataManager[T]] extends DataManager[T]
Base class for working with data.
- Alphabetic
- By Inheritance
- AbstractDataManager
- DataManager
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new AbstractDataManager(dataManager: T)(implicit ec: ExecutionContext)
- new AbstractDataManager()(implicit ec: ExecutionContext)
Abstract Value Members
-
abstract
def
beginTxCore(): Unit
- returns
true if transaction opened
- Attributes
- protected
-
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
-
abstract
def
commitTxCore(): Unit
- returns
true if transaction commited
- Attributes
- protected
-
abstract
def
isInTransactionCore: Boolean
- returns
true if transaction is active.
- Attributes
- protected
-
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
-
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
-
abstract
def
rollbackTxCore(): Unit
- returns
true if transaction rollbacked
- Attributes
- protected
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
-
final
def
beginTx(): Future[_]
Begins transaction.
Begins transaction.
- Definition Classes
- AbstractDataManager → DataManager
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
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
- AbstractDataManager → DataManager
-
final
def
commitTx(): Future[_]
Commits transaction.
Commits transaction.
- Definition Classes
- AbstractDataManager → DataManager
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
var
externalDataManager: T
External manager, a session that you want to use.
External manager, a session that you want to use.
- Attributes
- protected
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInTransaction: Boolean
Opened whether transaction?
Opened whether transaction?
- returns
Return true if manager in trasaction, else false.
- Definition Classes
- AbstractDataManager → DataManager
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
isOpen: Boolean
Opened whether session?
Opened whether session?
- returns
Return true if session is opened, else false.
- Definition Classes
- AbstractDataManager → DataManager
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
final
def
open(): Future[_]
Begin session work.
Begin session work.
- Definition Classes
- AbstractDataManager → DataManager
-
final
def
rollbackTx(): Future[_]
Rollback transaction.
Rollback transaction.
- Definition Classes
- AbstractDataManager → DataManager
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
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
- AbstractDataManager → DataManager
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )