| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgroovy.lang.GroovyObjectSupport
groovy.lang.Closure
groovyx.gpars.MessagingRunnable<T>
groovyx.gpars.dataflow.impl.ThenMessagingRunnable<T,V>
public class ThenMessagingRunnable<T,V>
| Field Summary | |
|---|---|
private  groovy.lang.Closure<V> | 
closure
 | 
private  groovy.lang.Closure<V> | 
errorHandler
 | 
private  DataflowVariable<V> | 
result
 | 
| Fields inherited from class groovy.lang.Closure | 
|---|
DELEGATE_FIRST, DELEGATE_ONLY, DONE, IDENTITY, maximumNumberOfParameters, OWNER_FIRST, OWNER_ONLY, parameterTypes, SKIP, TO_SELF | 
| Constructor Summary | |
|---|---|
ThenMessagingRunnable(DataflowVariable<V> result,
                      groovy.lang.Closure<V> closure)
 | 
|
ThenMessagingRunnable(DataflowVariable<V> result,
                      groovy.lang.Closure<V> closure,
                      groovy.lang.Closure<V> errorHandler)
 | 
|
| Method Summary | |
|---|---|
protected  void | 
doRun(T argument)
Defines the action performed by the Runnable  | 
private  boolean | 
shallHandle(groovy.lang.Closure<V> errorHandler,
            java.lang.Throwable e)
 | 
| Methods inherited from class groovyx.gpars.MessagingRunnable | 
|---|
call, call, call, getMaximumNumberOfParameters, getParameterTypes | 
| Methods inherited from class groovy.lang.Closure | 
|---|
asWritable, clone, curry, curry, dehydrate, getDelegate, getDirective, getOwner, getProperty, getResolveStrategy, getThisObject, isCase, leftShift, leftShift, memoize, memoizeAtLeast, memoizeAtMost, memoizeBetween, ncurry, ncurry, rcurry, rcurry, rehydrate, rightShift, run, setDelegate, setDirective, setProperty, setResolveStrategy, throwRuntimeException, trampoline, trampoline | 
| Methods inherited from class groovy.lang.GroovyObjectSupport | 
|---|
getMetaClass, invokeMethod, setMetaClass | 
| Methods inherited from class java.lang.Object | 
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
private final DataflowVariable<V> result
private final groovy.lang.Closure<V> closure
private final groovy.lang.Closure<V> errorHandler
| Constructor Detail | 
|---|
public ThenMessagingRunnable(DataflowVariable<V> result,
                             groovy.lang.Closure<V> closure)
public ThenMessagingRunnable(DataflowVariable<V> result,
                             groovy.lang.Closure<V> closure,
                             groovy.lang.Closure<V> errorHandler)
| Method Detail | 
|---|
protected void doRun(T argument)
MessagingRunnable
doRun in class MessagingRunnable<T>argument - The parameter passed from the caller to the closure
private boolean shallHandle(groovy.lang.Closure<V> errorHandler,
                            java.lang.Throwable e)
  | 
Copyright © 2008–2012 Václav Pech. All Rights Reserved. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||