Interface | Description |
---|---|
Dexecutor<T extends Comparable<T>> |
Main Interface for Dexecutor framework, It provides api to build the graph and and to kick off the execution.
|
DexecutorState<T extends Comparable<T>,R> |
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 |
ExecutionEngine<T extends Comparable<T>,R> |
An Executor is the main execution engine, where in all the tasks are executed
|
Class | Description |
---|---|
DefaultDexecutor<T extends Comparable<T>,R> |
Default implementation of @Dexecutor
|
DefaultDexecutorState<T extends Comparable<T>,R> | |
DefaultExecutionEngine<T extends Comparable<T>,R> |
Default Executor, which internally operates on @ExecutorService
|
DexecutorConfig<T extends Comparable<T>,R> |
Configuration Object for Dexecutor framework.
|
Duration | |
ExecutionConfig |
Enum | Description |
---|---|
ExecutionBehavior |
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
|
Phase |
Copyright © 2016 Dexecutor. All rights reserved.