public abstract class ReactorMessagingRunnable<T,V>
extends groovy.lang.Closure
Modifier and Type | Field and Description |
---|---|
private static java.lang.Class<?>[] |
PARAMETER_TYPES |
private static java.lang.String |
REACTOR_MESSAGING_RUNNABLE_NEED_EXACTLY_ONE_ARGUMENT_TO_RUN |
private static long |
serialVersionUID |
Modifier | Constructor and Description |
---|---|
protected |
ReactorMessagingRunnable() |
protected |
ReactorMessagingRunnable(java.lang.Object owner) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
call() |
java.lang.Object |
call(java.lang.Object arguments) |
java.lang.Object |
call(java.lang.Object[] args) |
protected abstract V |
doRun(T argument)
Defines the action performed by the Runnable
|
int |
getMaximumNumberOfParameters() |
java.lang.Class<?>[] |
getParameterTypes() |
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
private static final long serialVersionUID
private static final java.lang.Class<?>[] PARAMETER_TYPES
private static final java.lang.String REACTOR_MESSAGING_RUNNABLE_NEED_EXACTLY_ONE_ARGUMENT_TO_RUN
protected ReactorMessagingRunnable()
protected ReactorMessagingRunnable(java.lang.Object owner)
public final int getMaximumNumberOfParameters()
getMaximumNumberOfParameters
in class groovy.lang.Closure
public final 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
public final java.lang.Object call(java.lang.Object arguments)
call
in class groovy.lang.Closure