groovyx.gpars.stm
[Java] Class GParsAtomicLongBlock
java.lang.Object
groovyx.gpars.stm.GParsAtomicLongBlock
- All Implemented Interfaces:
- org.multiverse.api.closures.AtomicLongClosure
final class GParsAtomicLongBlock
extends java.lang.Object
A default implementation of org.multiverse.api.closures.AtomicLongClosure properly handling exception propagation
- Authors:
- Vaclav Pech
Field Summary |
private groovy.lang.Closure |
code
|
Method Summary |
long
|
execute(org.multiverse.api.Transaction transaction)
|
Methods inherited from class java.lang.Object
|
java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
code
private final groovy.lang.Closure code
-
GParsAtomicLongBlock
GParsAtomicLongBlock(groovy.lang.Closure code)
-
execute
@SuppressWarnings({"unchecked"})
@Override
public long execute(org.multiverse.api.Transaction transaction)
-
Copyright © 2008–2010 Václav Pech. All Rights Reserved.