Removed atomic0 - no longer used

This commit is contained in:
Peter Vlugter 2010-06-10 13:12:15 +12:00
parent a0d4d7c833
commit 2eeffb6a06

View file

@ -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