trait TxnMixin[T <: D[T], I1 <: InMemoryLike.Txn[I1]] extends DurableLike.Txn[T] with BasicTxnImpl[T, I1]
- Self Type
- TxnMixin[T, I1] with T
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- TxnMixin
- BasicTxnImpl
- Txn
- Txn
- TxnLike
- Exec
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
-
type
I = I1
- Definition Classes
- TxnMixin → BasicTxnImpl → Txn → Txn → Exec
-
final
type
Id = DurableLike.Id[T]
- Definition Classes
- Txn → Exec
Abstract Value Members
-
abstract
def
inMemory: (TxnMixin.this)#I
- Definition Classes
- Exec
-
implicit abstract
def
inMemoryBridge: (T) ⇒ (TxnMixin.this)#I
- Definition Classes
- Exec
-
abstract
def
peer: InTxn
Every transaction has a plain Scala-STM transaction as a peer.
Every transaction has a plain Scala-STM transaction as a peer. This comes handy for setting up custom things like
TxnLocal
,TMap
, or calling into the hooks ofconcurrent.stm.Txn
. It is also needed when re-wrapping the transaction of one system into another.- Definition Classes
- TxnLike
- abstract def system: DurableLike[T] { type I = TxnMixin.this.I }
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
-
def
afterCommit(code: ⇒ Unit): Unit
Registers a thunk to be executed after the transaction successfully committed.
Registers a thunk to be executed after the transaction successfully committed.
- Definition Classes
- BasicTxnImpl → TxnLike
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def attrMap(obj: Obj[T]): AttrMap[T]
- def attrMapOption(obj: Obj[T]): Option[AttrMap[T]]
-
def
beforeCommit(fun: (T) ⇒ Unit): Unit
- Definition Classes
- BasicTxnImpl → Txn
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
implicit
def
inMemoryCursor: Cursor[(TxnMixin.this)#I]
- Definition Classes
- TxnMixin → Exec
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def newCachedIntVar(init: Int): Var[T, Int]
- final def newCachedLongVar(init: Long): Var[T, Long]
- final def newCachedVar[A](init: A)(implicit format: TFormat[T, A]): Var[T, A]
-
final
def
newHandle[A](value: A)(implicit format: TFormat[T, A]): Source[T, A]
- Definition Classes
- TxnMixin → Exec
-
final
def
newId(): (TxnMixin.this)#Id
- Definition Classes
- TxnMixin → Exec
-
final
def
newIdentMap[A]: IdentMap[T, A]
- Definition Classes
- TxnMixin → Exec
-
def
newInMemoryMap[K, V]: RefMap[T, K, V]
- Definition Classes
- BasicTxnImpl → Exec
-
def
newInMemorySet[A]: RefSet[T, A]
- Definition Classes
- BasicTxnImpl → Exec
-
def
newRef[A](init: A): Ref[T, A]
- Definition Classes
- BasicTxnImpl → Exec
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def readCachedIntVar(in: DataInput): Var[T, Int]
- final def readCachedLongVar(in: DataInput): Var[T, Long]
- final def readCachedVar[A](in: DataInput)(implicit format: TFormat[T, A]): Var[T, A]
-
final
def
readId(in: DataInput): (TxnMixin.this)#Id
- Definition Classes
- TxnMixin → Exec
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated