Removed atomic0 - no longer used
This commit is contained in:
parent
a0d4d7c833
commit
2eeffb6a06
1 changed files with 0 additions and 10 deletions
|
|
@ -49,16 +49,6 @@ trait AtomicTemplate[T] {
|
|||
object Transaction {
|
||||
val idFactory = new AtomicLong(-1L)
|
||||
|
||||
/**
|
||||
* Creates a STM atomic transaction and by-passes all transactions hooks
|
||||
* such as persistence etc.
|
||||
*
|
||||
* Only for internal usage.
|
||||
*/
|
||||
private[akka] def atomic0[T](body: => T): T = new TransactionTemplate[T]() {
|
||||
def execute(mtx: MultiverseTransaction): T = body
|
||||
}.execute()
|
||||
|
||||
/**
|
||||
* Module for "local" transaction management, local in the context of threads.
|
||||
* You should only use these if you do <b>not</b> need to have one transaction span
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue