public interface LoaderChannelBuilder extends ConfigurableChannelBuilder<LoaderChannelBuilder>, LoaderConfigurableBuilder<LoaderChannelBuilder>
LoaderRoutineBuilder| Modifier and Type | Method and Description |
|---|---|
<OUT> OutputChannel<OUT> |
buildChannel()
Builds and returns an output channel bound to the routine invocation.
|
LoaderConfiguration.Builder<? extends LoaderChannelBuilder> |
loaders()
Note that the clash resolution types will be ignored.
|
void |
purge()
Makes the builder destroy all the cached invocation instances.
|
void |
purge(Iterable<?> inputs)
Makes the builder destroy the cached invocation instances with the specified inputs.
|
void |
purge(Object... inputs)
Makes the builder destroy the cached invocation instances with the specified inputs.
|
void |
purge(Object input)
Makes the builder destroy the cached invocation instances with the specified input.
|
channels@Nonnull <OUT> OutputChannel<OUT> buildChannel()
OUT - the output data type.IllegalArgumentException - if the configured loader ID is equal to AUTO.@Nonnull LoaderConfiguration.Builder<? extends LoaderChannelBuilder> loaders()
loaders in interface LoaderConfigurableBuilder<LoaderChannelBuilder>void purge(@Nullable Iterable<?> inputs)
inputs - the inputs.void purge()
void purge(@Nullable Object input)
input - the input.