IN - the input data type.OUT - the output data type.public abstract class TemplateRoutineBuilder<IN,OUT> extends TemplateRoutine<IN,OUT> implements RoutineBuilder<IN,OUT>, InvocationConfiguration.Configurable<RoutineBuilder<IN,OUT>>
| Constructor and Description |
|---|
TemplateRoutineBuilder() |
| Modifier and Type | Method and Description |
|---|---|
InvocationChannel<IN,OUT> |
asyncInvoke()
Invokes the execution of this routine in asynchronous mode.
|
InvocationConfiguration.Builder<? extends RoutineBuilder<IN,OUT>> |
invocations()
Gets the invocation configuration builder related to the routine builder instance.
The configuration options not supported by the routine builder implementation might be ignored. |
InvocationChannel<IN,OUT> |
parallelInvoke()
Invokes the execution of this routine in parallel mode.
|
RoutineBuilder<IN,OUT> |
setConfiguration(InvocationConfiguration configuration)
Sets the specified configuration and returns the configurable instance.
|
InvocationChannel<IN,OUT> |
syncInvoke()
Invokes the execution of this routine in synchronous mode.
|
asyncCall, asyncCall, asyncCall, asyncCall, asyncCall, parallelCall, parallelCall, parallelCall, parallelCall, parallelCall, purge, syncCall, syncCall, syncCall, syncCall, syncCallequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbuildRoutineasyncCall, asyncCall, asyncCall, asyncCall, asyncCall, parallelCall, parallelCall, parallelCall, parallelCall, parallelCall, purge, syncCall, syncCall, syncCall, syncCall, syncCall@NotNull public InvocationChannel<IN,OUT> asyncInvoke()
RoutineasyncInvoke in interface Routine<IN,OUT>@NotNull public InvocationChannel<IN,OUT> parallelInvoke()
RoutineparallelInvoke in interface Routine<IN,OUT>@NotNull public InvocationChannel<IN,OUT> syncInvoke()
RoutinesyncInvoke in interface Routine<IN,OUT>@NotNull public InvocationConfiguration.Builder<? extends RoutineBuilder<IN,OUT>> invocations()
ConfigurableBuilderinvocations in interface ConfigurableBuilder<RoutineBuilder<IN,OUT>>@NotNull public RoutineBuilder<IN,OUT> setConfiguration(@NotNull InvocationConfiguration configuration)
InvocationConfiguration.ConfigurablesetConfiguration in interface InvocationConfiguration.Configurable<RoutineBuilder<IN,OUT>>configuration - the configuration.