- 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.DefaultDexecutor
-
- addAsDependencyToAllInitialNodes(T) - Method in class com.github.dexecutor.core.DefaultDexecutorState
-
- addAsDependencyToAllInitialNodes(T) - Method in interface com.github.dexecutor.core.Dexecutor
-
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
- addAsDependencyToAllInitialNodes(T) - Method in interface com.github.dexecutor.core.DexecutorState
-
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.DefaultDexecutor
-
- addAsDependentOnAllLeafNodes(T) - Method in class com.github.dexecutor.core.DefaultDexecutorState
-
- addAsDependentOnAllLeafNodes(T) - Method in interface com.github.dexecutor.core.Dexecutor
-
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
- addAsDependentOnAllLeafNodes(T) - Method in interface com.github.dexecutor.core.DexecutorState
-
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.DefaultDexecutor
-
- addDependency(T, T) - Method in class com.github.dexecutor.core.DefaultDexecutorState
-
- addDependency(T, T) - Method in interface com.github.dexecutor.core.Dexecutor
-
Add Two dependent nodes into the graph, creating the nodes if not already present
- addDependency(T, T) - Method in interface com.github.dexecutor.core.DexecutorState
-
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.DefaultDexecutor
-
- addIndependent(T) - Method in class com.github.dexecutor.core.DefaultDexecutorState
-
- addIndependent(T) - Method in interface com.github.dexecutor.core.Dexecutor
-
Add a node as independent, it does not require any dependent node
- addIndependent(T) - Method in interface com.github.dexecutor.core.DexecutorState
-
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
- decrementUnProcessedNodesCount() - Method in class com.github.dexecutor.core.DefaultDexecutorState
-
- decrementUnProcessedNodesCount() - Method in interface com.github.dexecutor.core.DexecutorState
-
decrements the count of total number of unprocessed nodes
- 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
-
- DefaultDexecutor<T extends Comparable<T>,R> - Class in com.github.dexecutor.core
-
Default implementation of @Dexecutor
- DefaultDexecutor(ExecutionEngine<T, R>, TaskProvider<T, R>) - Constructor for class com.github.dexecutor.core.DefaultDexecutor
-
- DefaultDexecutor(DexecutorConfig<T, R>) - Constructor for class com.github.dexecutor.core.DefaultDexecutor
-
Creates the Executor with Config
- DefaultDexecutorState<T extends Comparable<T>,R> - Class in com.github.dexecutor.core
-
- DefaultDexecutorState() - Constructor for class com.github.dexecutor.core.DefaultDexecutorState
-
- 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
- Dexecutor<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.
- DexecutorConfig<T extends Comparable<T>,R> - Class in com.github.dexecutor.core
-
Configuration Object for Dexecutor framework.
- DexecutorConfig(ExecutorService, TaskProvider<T, R>) - Constructor for class com.github.dexecutor.core.DexecutorConfig
-
Construct the object with mandatory params, rest are optional
- DexecutorConfig(ExecutionEngine<T, R>, TaskProvider<T, R>) - Constructor for class com.github.dexecutor.core.DexecutorConfig
-
Construct the object with mandatory params, rest are optional
- DexecutorState<T extends Comparable<T>,R> - Interface in com.github.dexecutor.core
-
Represents Dexecutor state at any given moment of time, It basically tracks
Phase :
Current Phase Dexecutor is in
Graph :
Exposes API around building graph
unprocessed nodes count :
How many nodes are waiting to be processed
processed nodes :
Nodes which are processed till that point
Discontinued nodes :
Nodes for which processing should continue after system comes to valid state
- Duration - Class in com.github.dexecutor.core
-
- Duration(long, TimeUnit) - Constructor for class com.github.dexecutor.core.Duration
-
- scheduledRetrying(int, Duration) - Method in class com.github.dexecutor.core.ExecutionConfig
-
- setConsiderExecutionError(boolean) - Method in class com.github.dexecutor.core.task.Task
-
sets whether execution errors should be considered or not?
- setCurrentPhase(Phase) - Method in class com.github.dexecutor.core.DefaultDexecutorState
-
- setCurrentPhase(Phase) - Method in interface com.github.dexecutor.core.DexecutorState
-
sets the phase to that of provided
- setData(Object) - Method in class com.github.dexecutor.core.graph.Node
-
Sets the node's data to a new value
- setDexecutorState(DexecutorState<T, R>) - Method in class com.github.dexecutor.core.DexecutorConfig
-
- setErrored() - Method in class com.github.dexecutor.core.graph.Node
-
Sets the node's execution result to ERRORED
- setId(T) - Method in class com.github.dexecutor.core.task.Task
-
Sets the new id
- setImmediateRetryPoolThreadsCount(int) - Method in class com.github.dexecutor.core.DexecutorConfig
-
sets the immediate retry thread pool size to that of specified
- setResult(R) - Method in class com.github.dexecutor.core.graph.Node
-
sets the node's execution result to a new value
- setScheduledRetryPoolThreadsCount(int) - Method in class com.github.dexecutor.core.DexecutorConfig
-
sets the scheduled thread pool size to that of specified
- setSkipped() - Method in class com.github.dexecutor.core.graph.Node
-
Sets the node's execution result to SKIPPED
- setSuccess() - Method in class com.github.dexecutor.core.graph.Node
-
Sets the node's execution result to SUCCESS
- setTraversar(Traversar<T, R>) - Method in class com.github.dexecutor.core.DexecutorConfig
-
Change the traversar to that of specified
- setValidator(Validator<T, R>) - Method in class com.github.dexecutor.core.DexecutorConfig
-
change the validator to that of specified
- shouldConsiderExecutionError() - Method in class com.github.dexecutor.core.task.Task
-
- shouldExecute(ExecutionResults<T, R>) - Method in class com.github.dexecutor.core.task.Task
-
Defines whether or not this task should be executed
- shouldProcess(Node<T, R>) - Method in class com.github.dexecutor.core.DefaultDexecutorState
-
- shouldProcess(Node<T, R>) - Method in interface com.github.dexecutor.core.DexecutorState
-
- shouldRetry(int) - Method in class com.github.dexecutor.core.ExecutionConfig
-
- size() - Method in interface com.github.dexecutor.core.graph.Dag
-
Returns the total number of nodes in this graph
- size() - Method in class com.github.dexecutor.core.graph.DefaultDag
-
- skipped() - Method in class com.github.dexecutor.core.task.ExecutionResult
-
Marks the execution result as skipped
- submit(Task<T, R>) - Method in class com.github.dexecutor.core.DefaultExecutionEngine
-
- submit(Task<T, R>) - Method in interface com.github.dexecutor.core.ExecutionEngine
-
Submits the task for execution, the method is expected to return immediately.