groovyx.gpars.stm
Class GParsAtomicDoubleBlock

java.lang.Object
  extended by groovyx.gpars.stm.GParsAtomicDoubleBlock
All Implemented Interfaces:
org.multiverse.api.closures.AtomicDoubleClosure

final class GParsAtomicDoubleBlock
extends java.lang.Object
implements org.multiverse.api.closures.AtomicDoubleClosure

A default implementation of org.multiverse.api.closures.AtomicDoubleClosure properly handling exception propagation

Author:
Vaclav Pech

Field Summary
private  groovy.lang.Closure code
           
 
Constructor Summary
GParsAtomicDoubleBlock(groovy.lang.Closure code)
           
 
Method Summary
 double execute(org.multiverse.api.Transaction transaction)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

code

private final groovy.lang.Closure code
Constructor Detail

GParsAtomicDoubleBlock

GParsAtomicDoubleBlock(groovy.lang.Closure code)
Method Detail

execute

public double execute(org.multiverse.api.Transaction transaction)
Specified by:
execute in interface org.multiverse.api.closures.AtomicDoubleClosure

Copyright © 2008–2012 Václav Pech. All Rights Reserved.