trait ExecuteProgress[F[_]] extends AnyRef
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.
- Alphabetic
- By Inheritance
- ExecuteProgress
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
def
afterAllCompleted(results: RMap[F, Result]): Unit
All tasks have completed with the final
results
provided. -
abstract
def
afterCompleted[A](task: F[A], result: Result[A]): Unit
Notifies that
task
has completed.Notifies that
task
has completed. The task's work is done with a finalresult
. Any tasks called bytask
have completed. -
abstract
def
afterReady(task: F[_]): Unit
Notifies that all of the dependencies of
task
have completed andtask
is therefore ready to run.Notifies that all of the dependencies of
task
have completed andtask
is therefore ready to run. The task has not been scheduled on a thread yet. -
abstract
def
afterRegistered(task: F[_], allDeps: Iterable[F[_]], pendingDeps: Iterable[F[_]]): Unit
Notifies that a
task
has been registered in the system for execution.Notifies that a
task
has been registered in the system for execution. The dependencies oftask
areallDeps
and the subset of those dependencies that have not completed arependingDeps
. -
abstract
def
afterWork[A](task: F[A], result: Either[F[A], Result[A]]): Unit
Notifies that the work for
task
work has finished.Notifies that the work for
task
work has finished. The task may have computed the next task to run, in which caseresult
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 thecompleted
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. -
abstract
def
beforeWork(task: F[_]): Unit
Notifies that the work for
task
is starting after this call returns.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. - abstract def initial(): Unit
-
abstract
def
stop(): Unit
Notifies that either all tasks have finished or cancelled.
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()