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, trampoline
private 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.Closure
public java.lang.Class[] getParameterTypes()
getParameterTypes
in class groovy.lang.Closure
public final java.lang.Object call()
call
in interface java.util.concurrent.Callable
call
in class groovy.lang.Closure
public final java.lang.Object call(java.lang.Object... args)
call
in class groovy.lang.Closure
protected abstract void doRun(java.lang.Object... arguments)
arguments
- The parameters passed from the caller to the closure