- add(ExecutionResult<T, R>) - Method in class com.github.dexecutor.core.task.ExecutionResults
-
adds result
to existing collection of results
- addAsDependencyToAllInitialNodes(T) - Method in class com.github.dexecutor.core.DefaultDependentTasksExecutor
-
- addAsDependencyToAllInitialNodes(T) - Method in interface com.github.dexecutor.core.DependentTasksExecutor
-
Adds the node as dependency to all initial nodes (at the time of adding), meaning this given node would be evaluated first and then all initial nodes would run in parallel
- addAsDependentOnAllLeafNodes(T) - Method in class com.github.dexecutor.core.DefaultDependentTasksExecutor
-
- addAsDependentOnAllLeafNodes(T) - Method in interface com.github.dexecutor.core.DependentTasksExecutor
-
Adds the node as dependent on all leaf nodes (at the time of adding), meaning all leaf nodes would be evaluated first and then the given node
- addDependency(T, T) - Method in class com.github.dexecutor.core.DefaultDependentTasksExecutor
-
- addDependency(T, T) - Method in interface com.github.dexecutor.core.DependentTasksExecutor
-
Add Two dependent nodes into the graph, creating the nodes if not already present
- addDependency(T, T) - Method in interface com.github.dexecutor.core.graph.Dag
-
Should add the two nodes in the datastructure in such a way that evalFirstValue
should be evaluated before evalAfterValue
.
- addDependency(T, T) - Method in class com.github.dexecutor.core.graph.DefaultDag
-
- addInComingNode(Node<T, R>) - Method in class com.github.dexecutor.core.graph.Node
-
Add the given node, to the set of incoming nodes
- addIndependent(T) - Method in class com.github.dexecutor.core.DefaultDependentTasksExecutor
-
- addIndependent(T) - Method in interface com.github.dexecutor.core.DependentTasksExecutor
-
Add a node as independent, it does not require any dependent node
- addIndependent(T) - Method in interface com.github.dexecutor.core.graph.Dag
-
Adds the given node to the datastructure whith out any dependency
Nodes should be created only if it is not already added.
- addIndependent(T) - Method in class com.github.dexecutor.core.graph.DefaultDag
-
- addOutGoingNode(Node<T, R>) - Method in class com.github.dexecutor.core.graph.Node
-
add the given to the set of out going nodes
- allNodes() - Method in interface com.github.dexecutor.core.graph.Dag
-
Returns all nodes in this graph
- allNodes() - Method in class com.github.dexecutor.core.graph.DefaultDag
-
- anyParentSkipped() - Method in class com.github.dexecutor.core.task.ExecutionResults
-
- Dag<T extends Comparable<T>,R> - Interface in com.github.dexecutor.core.graph
-
Dependency would be constructed based on this APIs, Dexecutor uses this data structure to represent the dependencies between tasks
- DefaultDag<T extends Comparable<T>,R> - Class in com.github.dexecutor.core.graph
-
Default implementation of Graph
- DefaultDag() - Constructor for class com.github.dexecutor.core.graph.DefaultDag
-
- DefaultDependentTasksExecutor<T extends Comparable<T>,R> - Class in com.github.dexecutor.core
-
Default implementation of @DependentTasksExecutor
- DefaultDependentTasksExecutor(ExecutionEngine<T, R>, TaskProvider<T, R>) - Constructor for class com.github.dexecutor.core.DefaultDependentTasksExecutor
-
- DefaultDependentTasksExecutor(DependentTasksExecutorConfig<T, R>) - Constructor for class com.github.dexecutor.core.DefaultDependentTasksExecutor
-
Creates the Executor with Config
- DefaultExecutionEngine<T extends Comparable<T>,R> - Class in com.github.dexecutor.core
-
Default Executor, which internally operates on @ExecutorService
- DefaultExecutionEngine(ExecutorService) - Constructor for class com.github.dexecutor.core.DefaultExecutionEngine
-
Creates the default instance given @ExecutorService, internally it uses @CompletionService
- DependentTasksExecutor<T extends Comparable<T>> - Interface in com.github.dexecutor.core
-
Main Interface for Dexecutor framework, It provides api to build the graph and and to kick off the execution.
- DependentTasksExecutor.ExecutionBehavior - Enum in com.github.dexecutor.core
-
Defines the execution behavior of the tasks
TERMINATING
: Whole tasks execution would come to an end after the execution is thrown
NON_TERMINATING
: Tasks execution wont come to halt after an exception is thrown out of task
RETRY_ONCE_TERMINATING
: A retry would be attempted after an exception is thrown, and then if the execption is thrown again, the tasks execution would stop
- DependentTasksExecutorConfig<T extends Comparable<T>,R> - Class in com.github.dexecutor.core
-
Configuration Object for Dexecutor framework.
- DependentTasksExecutorConfig(ExecutorService, TaskProvider<T, R>) - Constructor for class com.github.dexecutor.core.DependentTasksExecutorConfig
-
Construct the object with mandatory params, rest are optional
- DependentTasksExecutorConfig(ExecutionEngine<T, R>, TaskProvider<T, R>) - Constructor for class com.github.dexecutor.core.DependentTasksExecutorConfig
-
Construct the object with mandatory params, rest are optional