org.codehaus.gpars

groovyx.gpars.stm
[Java] Class GParsAtomicDoubleBlock

java.lang.Object
  groovyx.gpars.stm.GParsAtomicDoubleBlock
All Implemented Interfaces:
AtomicDoubleClosure

final class GParsAtomicDoubleBlock

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

Authors:
Vaclav Pech


Field Summary
private groovy.lang.Closure code

 
Constructor Summary
GParsAtomicDoubleBlock(groovy.lang.Closure code)

 
Method Summary
double execute(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()
 

Field Detail

code

private final groovy.lang.Closure code


 
Constructor Detail

GParsAtomicDoubleBlock

GParsAtomicDoubleBlock(groovy.lang.Closure code)


 
Method Detail

execute

@SuppressWarnings({"unchecked"})
@Override
public double execute(Transaction transaction)


 

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