Packages

class SimpleAsyncTask[A] extends WorkerTask[A] with AsyncTaskController

Linear Supertypes
AsyncTaskController, WorkerTask[A], Future[A], Awaitable[A], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SimpleAsyncTask
  2. AsyncTaskController
  3. WorkerTask
  4. Future
  5. Awaitable
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new SimpleAsyncTask(taskID: Int, parent: Option[WorkerTask[_] with AsyncTaskController], task: () => Try[A])

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. def addOnNextThrow(callback: (Option[Throwable]) => Unit): Unit
    Definition Classes
    SimpleAsyncTaskWorkerTask
  5. def andThen[U](pf: PartialFunction[Try[A], U])(implicit executor: ExecutionContext): Future[A]
    Definition Classes
    Future
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  8. def collect[S](pf: PartialFunction[A, S])(implicit executor: ExecutionContext): Future[S]
    Definition Classes
    Future
  9. def continue(): Unit
    Definition Classes
    SimpleAsyncTaskWorkerTask
  10. def derivate(): Try[A]
    Definition Classes
    SimpleAsyncTaskWorkerTask
    Annotations
    @workerExecution()
  11. def derivateForAtLeast(millis: Long): Option[Try[A]]
    Definition Classes
    SimpleAsyncTaskWorkerTask
    Annotations
    @workerExecution()
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  14. def failed: Future[Throwable]
    Definition Classes
    Future
  15. def fallbackTo[U >: A](that: Future[U]): Future[U]
    Definition Classes
    Future
  16. def filter(p: (A) => Boolean)(implicit executor: ExecutionContext): Future[A]
    Definition Classes
    Future
  17. def flatMap[S](f: (A) => Future[S])(implicit executor: ExecutionContext): Future[S]
    Definition Classes
    Future
  18. def flatten[S](implicit ev: <:<[A, Future[S]]): Future[S]
    Definition Classes
    Future
  19. def foreach[U](f: (A) => U)(implicit executor: ExecutionContext): Unit
    Definition Classes
    Future
  20. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  21. def getWorker: Worker
    Definition Classes
    SimpleAsyncTaskWorkerTask
  22. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  23. def isCompleted: Boolean
    Definition Classes
    SimpleAsyncTask → Future
  24. def isExecuting: Boolean

    true if the worker thread is running the task or if the worker is executing other tasks while this one is paused

    true if the worker thread is running the task or if the worker is executing other tasks while this one is paused

    Definition Classes
    SimpleAsyncTaskWorkerTask
  25. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  26. def isPaused: Boolean

    true if the task has been paused

    true if the task has been paused

    Definition Classes
    SimpleAsyncTaskWorkerTask
  27. def isRunning: Boolean

    true if the worker is running this task

    true if the worker is running this task

    Definition Classes
    SimpleAsyncTaskWorkerTask
  28. def join(millis: Long): Option[Try[A]]
    Definition Classes
    SimpleAsyncTaskWorkerTask
  29. def join(): Try[A]
    Definition Classes
    SimpleAsyncTaskWorkerTask
  30. val lock: Lock
    Definition Classes
    SimpleAsyncTaskWorkerTask
  31. def map[S](f: (A) => S)(implicit executor: ExecutionContext): Future[S]
    Definition Classes
    Future
  32. def mapTo[S](implicit tag: ClassTag[S]): Future[S]
    Definition Classes
    Future
  33. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  34. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  35. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  36. def notifyNestThrow(threw: Throwable): Unit
    Definition Classes
    SimpleAsyncTaskAsyncTaskController
  37. def onComplete[U](f: (Try[A]) => U)(implicit executor: ExecutionContext): Unit
    Definition Classes
    SimpleAsyncTask → Future
  38. val parent: Option[WorkerTask[_] with AsyncTaskController]
    Definition Classes
    SimpleAsyncTaskWorkerTask
  39. def ready(atMost: Duration)(implicit permit: CanAwait): SimpleAsyncTask.this.type
    Definition Classes
    SimpleAsyncTask → Awaitable
  40. def recover[U >: A](pf: PartialFunction[Throwable, U])(implicit executor: ExecutionContext): Future[U]
    Definition Classes
    Future
  41. def recoverWith[U >: A](pf: PartialFunction[Throwable, Future[U]])(implicit executor: ExecutionContext): Future[U]
    Definition Classes
    Future
  42. def result(atMost: Duration)(implicit permit: CanAwait): A
    Definition Classes
    SimpleAsyncTask → Awaitable
  43. def runTask(): Unit
    Definition Classes
    SimpleAsyncTaskAsyncTaskController
    Annotations
    @workerExecution()
  44. def setContinue(): Unit
    Definition Classes
    SimpleAsyncTaskAsyncTaskController
  45. def setPaused(): Unit
    Definition Classes
    SimpleAsyncTaskAsyncTaskController
  46. def setWorker(worker: Worker): Unit
    Attributes
    protected
  47. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  48. val taskID: Int

    The taskID this class

    The taskID this class

    Definition Classes
    SimpleAsyncTaskWorkerTask
  49. def throwNextThrowable(): Unit
    Definition Classes
    SimpleAsyncTaskWorkerTask
  50. def toString(): String
    Definition Classes
    SimpleAsyncTask → AnyRef → Any
  51. def transform[S](f: (Try[A]) => Try[S])(implicit executor: ExecutionContext): Future[S]
    Definition Classes
    SimpleAsyncTask → Future
  52. def transform[S](s: (A) => S, f: (Throwable) => Throwable)(implicit executor: ExecutionContext): Future[S]
    Definition Classes
    Future
  53. def transformWith[S](f: (Try[A]) => Future[S])(implicit executor: ExecutionContext): Future[S]
    Definition Classes
    SimpleAsyncTask → Future
  54. def value: Option[Try[A]]
    Definition Classes
    SimpleAsyncTask → Future
  55. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  56. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  57. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  58. final def withFilter(p: (A) => Boolean)(implicit executor: ExecutionContext): Future[A]
    Definition Classes
    Future
  59. def zip[U](that: Future[U]): Future[(A, U)]
    Definition Classes
    Future
  60. def zipWith[U, R](that: Future[U])(f: (A, U) => R)(implicit executor: ExecutionContext): Future[R]
    Definition Classes
    Future

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from AsyncTaskController

Inherited from WorkerTask[A]

Inherited from Future[A]

Inherited from Awaitable[A]

Inherited from AnyRef

Inherited from Any

Ungrouped