public abstract class TaskFactory<I,O> extends Object
| Constructor and Description |
|---|
TaskFactory() |
| Modifier and Type | Method and Description |
|---|---|
Callable<O> |
create(I input)
Generates a Callable task for an ExecutorService to process @param input.
|
O |
process(I input)
The actual processing on the given @param input;
override to define a task to be performed over @param input.
|
Copyright © 2015–2021 Fiji. All rights reserved.