Package com.onenetwork.platform.grid
Interface into One Network's Computational Grid for parallel, dependency-aware task execution.
-
Interface Summary Interface Description GridJob In-memory representation of a Grid Job (a collection of related Grid Tasks).GridJobListener A listener class forGridJob
that will be called at different stages during its life-cycle.GridService GridTask In-memory representation of a Grid Task.TaskPerformer Classes implementing the TaskPerformer interface are created and called by the Grid Dispatcher to perform a task of the type returned byTaskPerformer.getTaskType()
.TaskPerformerConfig Describes the TaskPerformerConfig associated with a particular task type.TaskPerformerThread Interface implemented by threads used to runTaskPerformer
s. -
Class Summary Class Description AbstractTaskPerformer Abstract implementation ofTaskPerformer
which is recommended as the base for all clients.GridTaskContext Provides contextual information about aGridTask
to anAbstractTaskPerformer
.JobState Describes all possible values ofGridJob.getState()
.TaskResult At the end of task execution, aTaskPerformer
returns a TaskResult to indicate whether the task succeeded or failed, if it failed then why, and finally whether a retry should be attempted.TaskState Describes all possible values ofGridTask.getState()
. -
Exception Summary Exception Description GridJobWaitException TODO complete the class documentationGridTaskWaitException Exception thrown whenGridService.await(Long, long, long)
is taking more then the given wait time to finish.