@FunctionalInterface public interface BatchExecutor
Modifier and Type | Method and Description |
---|---|
default void |
execute(ExecutionContext context,
BatchInfo batch)
Executes the given batch without any batch arguments.
|
void |
execute(ExecutionContext context,
BatchInfo batch,
Map<String,String> arguments)
Executes the given batch.
|
void execute(ExecutionContext context, BatchInfo batch, Map<String,String> arguments) throws IOException, InterruptedException
context
- the current contextbatch
- the target batcharguments
- the batch argumentsIOException
- if failed to create job processesInterruptedException
- if interrupted while running tasksdefault void execute(ExecutionContext context, BatchInfo batch) throws IOException, InterruptedException
context
- the current contextbatch
- the target batchIOException
- if failed to create job processesInterruptedException
- if interrupted while running tasksexecute(ExecutionContext, BatchInfo, Map)
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.