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

A

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
 

C

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

D

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

E

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

G

get(T) - Method in interface com.github.dexecutor.core.graph.Dag
Returns the node with the given id
get(T) - Method in class com.github.dexecutor.core.graph.DefaultDag
 
getAll() - Method in class com.github.dexecutor.core.task.ExecutionResults
 
getExecutionBehavior() - Method in class com.github.dexecutor.core.task.Task
 
getFirst() - Method in class com.github.dexecutor.core.task.ExecutionResults
 
getId() - Method in class com.github.dexecutor.core.task.ExecutionResult
 
getId() - Method in class com.github.dexecutor.core.task.Task
 
getInComingNodes() - Method in class com.github.dexecutor.core.graph.Node
 
getInitialNodes() - Method in interface com.github.dexecutor.core.graph.Dag
Returns the Set of nodes for which there is no incoming dependencies.
getInitialNodes() - Method in class com.github.dexecutor.core.graph.DefaultDag
 
getLeafNodes() - Method in interface com.github.dexecutor.core.graph.Dag
Retruns the set of nodes for which there is no outgoing dependencies.
getLeafNodes() - Method in class com.github.dexecutor.core.graph.DefaultDag
 
getOutGoingNodes() - Method in class com.github.dexecutor.core.graph.Node
 
getResult() - Method in class com.github.dexecutor.core.graph.Node
 
getResult() - Method in class com.github.dexecutor.core.task.ExecutionResult
 
getStatus() - Method in class com.github.dexecutor.core.task.Task
 
getValue() - Method in class com.github.dexecutor.core.graph.Node
 

H

hasAnyParentResult() - Method in class com.github.dexecutor.core.task.ExecutionResults
 
hashCode() - Method in class com.github.dexecutor.core.graph.Node
 

I

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

L

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

N

newWorker(Task<T, R>) - Static method in class com.github.dexecutor.core.task.TaskFactory
 
Node<T,R> - Class in com.github.dexecutor.core.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
Node(T) - Constructor for class com.github.dexecutor.core.graph.Node
Constructs the node with the given node Id

P

poolSize(double) - Static method in class com.github.dexecutor.core.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.core.support
Support class to check for preconditions
print(Writer) - Method in class com.github.dexecutor.core.DefaultDependentTasksExecutor
 
print(Writer) - Method in interface com.github.dexecutor.core.DependentTasksExecutor
Prints the graph into the writer
provideTask(T) - Method in interface com.github.dexecutor.core.task.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.core.graph.Node
 
setErrored() - Method in class com.github.dexecutor.core.task.Task
 
setExecutionBehavior(DependentTasksExecutor.ExecutionBehavior) - Method in class com.github.dexecutor.core.task.Task
 
setId(T) - Method in class com.github.dexecutor.core.task.Task
 
setResult(R) - Method in class com.github.dexecutor.core.graph.Node
 
setSkipped() - Method in class com.github.dexecutor.core.graph.Node
 
setSkipped() - Method in class com.github.dexecutor.core.task.Task
 
setSuccess() - Method in class com.github.dexecutor.core.graph.Node
 
setSuccess() - Method in class com.github.dexecutor.core.task.Task
 
setTraversar(Traversar<T, R>) - Method in class com.github.dexecutor.core.DependentTasksExecutorConfig
Change the traversar to that of specified
setValidator(Validator<T, R>) - Method in class com.github.dexecutor.core.DependentTasksExecutorConfig
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
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
 
submit(Task<T, R>) - Method in class com.github.dexecutor.core.DefaultExecutionEngine
 
submit(Task<T, R>) - Method in interface com.github.dexecutor.core.ExecutionEngine
 

T

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

V

validate(Dag<T, R>) - Method in class com.github.dexecutor.core.graph.CyclicValidator
 
validate(Dag<T, R>) - Method in interface com.github.dexecutor.core.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.core.graph
This interface provides API to validate the graph before tasks execution
valueOf(String) - Static method in enum com.github.dexecutor.core.DependentTasksExecutor.ExecutionBehavior
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.github.dexecutor.core.task.ExecutionStatus
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.github.dexecutor.core.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.core.task.ExecutionStatus
Returns an array containing the constants of this enum type, in the order they are declared.
A C D E G H I L N P S T V 

Copyright © 2016 Dexecutor. All rights reserved.