A C D E G H I L P S T V 

A

add(ExecutionResult<T, R>) - Method in class com.github.dexecutor.executor.ExecutionResults
adds result to existing collection of results
addAsDependencyToAllInitialNodes(T) - Method in class com.github.dexecutor.executor.DefaultDependentTasksExecutor
 
addAsDependencyToAllInitialNodes(T) - Method in interface com.github.dexecutor.executor.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.executor.DefaultDependentTasksExecutor
 
addAsDependentOnAllLeafNodes(T) - Method in interface com.github.dexecutor.executor.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.executor.DefaultDependentTasksExecutor
 
addDependency(T, T) - Method in interface com.github.dexecutor.executor.DependentTasksExecutor
Add Two dependent nodes into the graph, creating the nodes if not already present
addDependency(T, T) - Method in class com.github.dexecutor.executor.graph.DefaultGraph
 
addDependency(T, T) - Method in interface com.github.dexecutor.executor.graph.Graph
Should add the two nodes in the datastructure in such a way that evalFirstValue should be evaluated before evalAfterValue.
addInComingNode(Graph.Node<T, R>) - Method in class com.github.dexecutor.executor.graph.Graph.Node
Add the given node, to the set of incoming nodes
addIndependent(T) - Method in class com.github.dexecutor.executor.DefaultDependentTasksExecutor
 
addIndependent(T) - Method in interface com.github.dexecutor.executor.DependentTasksExecutor
Add a node as independent, it does not require any dependent node
addIndependent(T) - Method in class com.github.dexecutor.executor.graph.DefaultGraph
 
addIndependent(T) - Method in interface com.github.dexecutor.executor.graph.Graph
Adds the given node to the datastructure whith out any dependency Nodes should be created only if it is not already added.
addOutGoingNode(Graph.Node<T, R>) - Method in class com.github.dexecutor.executor.graph.Graph.Node
add the given to the set of out going nodes
allNodes() - Method in class com.github.dexecutor.executor.graph.DefaultGraph
 
allNodes() - Method in interface com.github.dexecutor.executor.graph.Graph
Returns all nodes in this graph

C

checkNotNull(T, String) - Static method in class com.github.dexecutor.executor.support.Preconditions
Checks if the reference is null, and if that is the case throws IllegalArgumentException
com.github.dexecutor.executor - package com.github.dexecutor.executor
 
com.github.dexecutor.executor.graph - package com.github.dexecutor.executor.graph
 
com.github.dexecutor.executor.support - package com.github.dexecutor.executor.support
 
CyclicValidator<T extends Comparable<T>,R> - Class in com.github.dexecutor.executor.graph
A Validator which does cyclic checks
CyclicValidator() - Constructor for class com.github.dexecutor.executor.graph.CyclicValidator
 

D

DefaultDependentTasksExecutor<T extends Comparable<T>,R> - Class in com.github.dexecutor.executor
Default implementation of @DependentTasksExecutor
DefaultDependentTasksExecutor(ExecutorService, TaskProvider<T, R>) - Constructor for class com.github.dexecutor.executor.DefaultDependentTasksExecutor
Creates the Executor with bare minimum required params
DefaultDependentTasksExecutor(DependentTasksExecutorConfig<T, R>) - Constructor for class com.github.dexecutor.executor.DefaultDependentTasksExecutor
Creates the Executor with Config
DefaultGraph<T extends Comparable<T>,R> - Class in com.github.dexecutor.executor.graph
Default implementation of Graph
DefaultGraph() - Constructor for class com.github.dexecutor.executor.graph.DefaultGraph
 
DependentTasksExecutor<T extends Comparable<T>> - Interface in com.github.dexecutor.executor
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.executor
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.executor
Configuration Object for Dexecutor framework.
DependentTasksExecutorConfig(ExecutorService, TaskProvider<T, R>) - Constructor for class com.github.dexecutor.executor.DependentTasksExecutorConfig
Construct the object with mandatory params, rest are optional

E

equals(Object) - Method in class com.github.dexecutor.executor.graph.Graph.Node
 
execute(DependentTasksExecutor.ExecutionBehavior) - Method in class com.github.dexecutor.executor.DefaultDependentTasksExecutor
 
execute(DependentTasksExecutor.ExecutionBehavior) - Method in interface com.github.dexecutor.executor.DependentTasksExecutor
Kicks off the execution of the nodes based on the dependency graph constructed, using addDepen*** apis
execute() - Method in class com.github.dexecutor.executor.TaskProvider.Task
Framework would call this method, when it comes for tasks to be executed.
ExecutionResult<T,R> - Class in com.github.dexecutor.executor
Holds execution result of a node identified by id
ExecutionResult(T, R, ExecutionStatus) - Constructor for class com.github.dexecutor.executor.ExecutionResult
 
ExecutionResults<T,R> - Class in com.github.dexecutor.executor
Wrapper class around @ExecutionResult
ExecutionResults() - Constructor for class com.github.dexecutor.executor.ExecutionResults
 
ExecutionStatus - Enum in com.github.dexecutor.executor
Represents Tasks Execution status

G

getAll() - Method in class com.github.dexecutor.executor.ExecutionResults
 
getFirst() - Method in class com.github.dexecutor.executor.ExecutionResults
 
getId() - Method in class com.github.dexecutor.executor.ExecutionResult
 
getInComingNodes() - Method in class com.github.dexecutor.executor.graph.Graph.Node
 
getInitialNodes() - Method in class com.github.dexecutor.executor.graph.DefaultGraph
 
getInitialNodes() - Method in interface com.github.dexecutor.executor.graph.Graph
Returns the Set of nodes for which there is no incoming dependencies.
getLeafNodes() - Method in class com.github.dexecutor.executor.graph.DefaultGraph
 
getLeafNodes() - Method in interface com.github.dexecutor.executor.graph.Graph
Retruns the set of nodes for which there is no outgoing dependencies.
getOutGoingNodes() - Method in class com.github.dexecutor.executor.graph.Graph.Node
 
getResult() - Method in class com.github.dexecutor.executor.ExecutionResult
 
getResult() - Method in class com.github.dexecutor.executor.graph.Graph.Node
 
getValue() - Method in class com.github.dexecutor.executor.graph.Graph.Node
 
Graph<T extends Comparable<T>,R> - Interface in com.github.dexecutor.executor.graph
Dependency would be constructed based on this APIs, Dexecutor uses this data structure to represent the dependencies between tasks
Graph.Node<T,R> - Class in com.github.dexecutor.executor.graph
A node representation in this graph, every node may have set of incoming edges and outgoing edges, a node is represented by unique value
Graph.Node(T) - Constructor for class com.github.dexecutor.executor.graph.Graph.Node
Constructs the node with the given node Id
Graph.NodeStatus - Enum in com.github.dexecutor.executor.graph
Represents node's execution status

H

hasAnyParentResult() - Method in class com.github.dexecutor.executor.ExecutionResults
 
hashCode() - Method in class com.github.dexecutor.executor.graph.Graph.Node
 

I

ioIntesivePoolSize() - Static method in class com.github.dexecutor.executor.support.ThreadPoolUtil
Each tasks blocks 90% of the time, and works only 10% of its lifetime.
isErrored() - Method in class com.github.dexecutor.executor.ExecutionResult
 
isErrored() - Method in class com.github.dexecutor.executor.graph.Graph.Node
 
isSkipped() - Method in class com.github.dexecutor.executor.ExecutionResult
 
isSkipped() - Method in class com.github.dexecutor.executor.graph.Graph.Node
 
isSuccess() - Method in class com.github.dexecutor.executor.ExecutionResult
 
isSuccess() - Method in class com.github.dexecutor.executor.graph.Graph.Node
 

L

LevelOrderTraversar<T extends Comparable<T>,R> - Class in com.github.dexecutor.executor.graph
A Traversar which does level order traversal of the given graph
LevelOrderTraversar() - Constructor for class com.github.dexecutor.executor.graph.LevelOrderTraversar
 

P

poolSize(double) - Static method in class com.github.dexecutor.executor.support.ThreadPoolUtil
Number of threads = Number of Available Cores / (1 - Blocking Coefficient) where the blocking coefficient is between 0 and 1.
Preconditions - Class in com.github.dexecutor.executor.support
Support class to check for preconditions
print(Writer) - Method in class com.github.dexecutor.executor.DefaultDependentTasksExecutor
 
print(Writer) - Method in interface com.github.dexecutor.executor.DependentTasksExecutor
Prints the graph into the writer
provid(T) - Method in interface com.github.dexecutor.executor.TaskProvider
Given the node id, returns the task to be executed, while building graph only the node ids are required, when it comes to execution Task objects would be constructed

S

setErrored() - Method in class com.github.dexecutor.executor.graph.Graph.Node
 
setResult(R) - Method in class com.github.dexecutor.executor.graph.Graph.Node
 
setSkipped() - Method in class com.github.dexecutor.executor.graph.Graph.Node
 
setSuccess() - Method in class com.github.dexecutor.executor.graph.Graph.Node
 
setTraversar(Traversar<T, R>) - Method in class com.github.dexecutor.executor.DependentTasksExecutorConfig
Change the traversar to that of specified
setValidator(Validator<T, R>) - Method in class com.github.dexecutor.executor.DependentTasksExecutorConfig
change the validator to that of specified
shouldConsiderExecutionError() - Method in class com.github.dexecutor.executor.TaskProvider.Task
 
shouldExecute(ExecutionResults<T, R>) - Method in class com.github.dexecutor.executor.TaskProvider.Task
Defines whether or not this task should be executed
shouldRetry(T) - Method in class com.github.dexecutor.executor.DefaultDependentTasksExecutor
 
size() - Method in class com.github.dexecutor.executor.graph.DefaultGraph
 
size() - Method in interface com.github.dexecutor.executor.graph.Graph
Returns the total number of nodes in this graph

T

TaskExecutionException - Exception in com.github.dexecutor.executor
Tasks can throw this exception to report any issues encountered during task execution
TaskExecutionException(String) - Constructor for exception com.github.dexecutor.executor.TaskExecutionException
Create a new TaskExecutionException.
TaskExecutionException(String, Throwable) - Constructor for exception com.github.dexecutor.executor.TaskExecutionException
Create a new TaskExecutionException.
TaskProvider<T extends Comparable<T>,R> - Interface in com.github.dexecutor.executor
A Task Provider provides Tasks to be executed, when it comes to execution
TaskProvider.Task<T,R> - Class in com.github.dexecutor.executor
Represent a unit of execution in Dexecutor framework
TaskProvider.Task() - Constructor for class com.github.dexecutor.executor.TaskProvider.Task
 
ThreadPoolUtil - Class in com.github.dexecutor.executor.support
 
toString() - Method in class com.github.dexecutor.executor.ExecutionResult
 
toString() - Method in class com.github.dexecutor.executor.ExecutionResults
 
toString() - Method in class com.github.dexecutor.executor.graph.Graph.Node
 
Traversar<T extends Comparable<T>,R> - Interface in com.github.dexecutor.executor.graph
Provides an API to Traverse a given graph
traverse(Graph<T, R>, Writer) - Method in class com.github.dexecutor.executor.graph.LevelOrderTraversar
 
traverse(Graph<T, R>, Writer) - Method in interface com.github.dexecutor.executor.graph.Traversar
Traverse the given graph and print it on the Writer

V

validate(Graph<T, R>) - Method in class com.github.dexecutor.executor.graph.CyclicValidator
 
validate(Graph<T, R>) - Method in interface com.github.dexecutor.executor.graph.Validator
Called to figure out if a graph is valid or not, exception should be thrown if the graph is invalid
Validator<T extends Comparable<T>,R> - Interface in com.github.dexecutor.executor.graph
This interface provides API to validate the graph before tasks execution
valueOf(String) - Static method in enum com.github.dexecutor.executor.DependentTasksExecutor.ExecutionBehavior
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.github.dexecutor.executor.ExecutionStatus
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.github.dexecutor.executor.graph.Graph.NodeStatus
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.github.dexecutor.executor.DependentTasksExecutor.ExecutionBehavior
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.github.dexecutor.executor.ExecutionStatus
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.github.dexecutor.executor.graph.Graph.NodeStatus
Returns an array containing the constants of this enum type, in the order they are declared.
A C D E G H I L P S T V 

Copyright © 2016 Dexecutor. All rights reserved.