public abstract class DataflowMessagingRunnable
extends groovy.lang.Closure
| Modifier and Type | Field and Description |
|---|---|
private java.lang.Class[] |
defaultParamTypes |
private int |
numberOfParameters |
private static long |
serialVersionUID |
| Modifier | Constructor and Description |
|---|---|
protected |
DataflowMessagingRunnable(int numberOfParameters) |
protected |
DataflowMessagingRunnable(java.lang.Object owner,
int numberOfParameters) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
call() |
java.lang.Object |
call(java.lang.Object... args) |
protected abstract void |
doRun(java.lang.Object... arguments)
Defines the action performed by the Runnable
|
int |
getMaximumNumberOfParameters() |
DataflowProcessor |
getOwningProcessor()
Retrieves the owning processor (operator or selector) giving the DataflowMessagingRunnable a way to call methods like bindOutput()
|
java.lang.Class[] |
getParameterTypes()
Returns types expected by the Runnable.
|
asWritable, call, 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, trampolineprivate static final long serialVersionUID
private final java.lang.Class[] defaultParamTypes
private final int numberOfParameters
protected DataflowMessagingRunnable(int numberOfParameters)
protected DataflowMessagingRunnable(java.lang.Object owner,
int numberOfParameters)
public DataflowProcessor getOwningProcessor()
public int getMaximumNumberOfParameters()
getMaximumNumberOfParameters in class groovy.lang.Closurepublic java.lang.Class[] getParameterTypes()
getParameterTypes in class groovy.lang.Closurepublic final java.lang.Object call()
call in interface java.util.concurrent.Callablecall in class groovy.lang.Closurepublic final java.lang.Object call(java.lang.Object... args)
call in class groovy.lang.Closureprotected abstract void doRun(java.lang.Object... arguments)
arguments - The parameters passed from the caller to the closure