org.codehaus.gpars

groovyx.gpars.stm
[Java] Class GParsAtomicBooleanBlock

java.lang.Object
  groovyx.gpars.stm.GParsAtomicBooleanBlock
All Implemented Interfaces:
TxnBooleanCallable

final class GParsAtomicBooleanBlock

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

Authors:
Vaclav Pech


Field Summary
private groovy.lang.Closure code

 
Constructor Summary
GParsAtomicBooleanBlock(groovy.lang.Closure code)

 
Method Summary
boolean call(Txn transaction)

 
Methods inherited from class java.lang.Object
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), 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

GParsAtomicBooleanBlock

GParsAtomicBooleanBlock(groovy.lang.Closure code)


 
Method Detail

call

@java.lang.SuppressWarnings
@java.lang.Override
public boolean call(Txn transaction)


 

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