Packages

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.

Source
ExecuteProgress.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ExecuteProgress
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def afterAllCompleted(results: RMap[F, Result]): Unit

    All tasks have completed with the final results provided.

  2. 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 final result. Any tasks called by task have completed.

  3. abstract def afterReady(task: F[_]): Unit

    Notifies that all of the dependencies of task have completed and task is therefore ready to run.

    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.

  4. 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 of task are allDeps and the subset of those dependencies that have not completed are pendingDeps.

  5. 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 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.

  6. 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.

  7. abstract def initial(): Unit
  8. abstract def stop(): Unit

    Notifies that either all tasks have finished or cancelled.

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  15. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  16. def toString(): String
    Definition Classes
    AnyRef → Any
  17. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  18. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped