T
- Type of Node/Task IDR
- Type of Node/Task resultpublic class DependentTasksExecutorConfig<T extends Comparable<T>,R> extends Object
Configuration Object for Dexecutor framework. At a minimum it needs ExecutorService
and TaskProvider
, rest are optional and takes default values
This provides way to hook in your own Validator
and Traversar
Constructor and Description |
---|
DependentTasksExecutorConfig(ExecutorService executorService,
TaskProvider<T,R> taskProvider)
Construct the object with mandatory params, rest are optional
|
Modifier and Type | Method and Description |
---|---|
void |
setTraversar(Traversar<T,R> traversar)
Change the traversar to that of specified
|
void |
setValidator(Validator<T,R> validator)
change the validator to that of specified
|
public DependentTasksExecutorConfig(ExecutorService executorService, TaskProvider<T,R> taskProvider)
executorService
- taskProvider
- Copyright © 2016 Dexecutor. All rights reserved.