ExecuteProgress

sbt.ExecuteProgress
See theExecuteProgress companion object

Processes progress events during task execution. All methods are called from the same thread except started and finished, which is called from the executing task's thread. All methods should return quickly to avoid task execution overhead.

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def afterAllCompleted(results: RMap[TaskId, Result]): Unit

All tasks have completed with the final results provided.

All tasks have completed with the final results provided.

Attributes

def afterCompleted[A](task: TaskId[A], result: Result[A]): Unit

Notifies that task has completed. The task's work is done with a final result. Any tasks called by task have completed.

Notifies that task has completed. The task's work is done with a final result. Any tasks called by task have completed.

Attributes

def afterReady(task: TaskId[_]): Unit

Notifies that all of the dependencies of task have completed and task is therefore ready to run. The task has not been scheduled on a thread yet.

Notifies that all of the dependencies of task have completed and task is therefore ready to run. The task has not been scheduled on a thread yet.

Attributes

def afterRegistered(task: TaskId[_], allDeps: Iterable[TaskId[_]], pendingDeps: Iterable[TaskId[_]]): Unit

Notifies that a task has been registered in the system for execution. The dependencies of task are allDeps and the subset of those dependencies that have not completed are pendingDeps.

Notifies that a task has been registered in the system for execution. The dependencies of task are allDeps and the subset of those dependencies that have not completed are pendingDeps.

Attributes

def afterWork[A](task: TaskId[A], result: Either[TaskId[A], Result[A]]): Unit

Notifies that the work for task work has finished. The task may have computed the next task to run, in which case result contains that next task wrapped in Left. If the task produced a value or terminated abnormally, result provides that outcome wrapped in Right. The ultimate result of a task is provided to the completed method. This is called from the thread the task executes on, unlike most other methods in this callback. It is immediately called after the task's work is complete with minimal intervening executor overhead.

Notifies that the work for task work has finished. The task may have computed the next task to run, in which case result contains that next task wrapped in Left. If the task produced a value or terminated abnormally, result provides that outcome wrapped in Right. The ultimate result of a task is provided to the completed method. This is called from the thread the task executes on, unlike most other methods in this callback. It is immediately called after the task's work is complete with minimal intervening executor overhead.

Attributes

def beforeWork(task: TaskId[_]): Unit

Notifies that the work for task is starting after this call returns. This is called from the thread the task executes on, unlike most other methods in this callback. It is called immediately before the task's work starts with minimal intervening executor overhead.

Notifies that the work for task is starting after this call returns. This is called from the thread the task executes on, unlike most other methods in this callback. It is called immediately before the task's work starts with minimal intervening executor overhead.

Attributes

def initial(): Unit
def stop(): Unit

Notifies that either all tasks have finished or cancelled.

Notifies that either all tasks have finished or cancelled.

Attributes