Packages

final class ScheduledFuture[T] extends Future[T] with ScheduledTask

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ScheduledFuture
  2. ScheduledTask
  3. Future
  4. Awaitable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ScheduledFuture(promise: Promise[T], task: ScheduledTask)

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 andThen[U](pf: PartialFunction[Try[T], U])(implicit executor: ExecutionContext): Future[T]
    Definition Classes
    Future
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def cancel(): Boolean

    Attempts to cancel execution of this task.

    Attempts to cancel execution of this task. This attempt will fail if the task has already completed, has already been cancelled, or could not be cancelled for some other reason. If successful, and this task has not started when cancel is called, this task should never run. If the task has already started, then the mayInterruptIfRunning parameter determines whether the thread executing this task should be interrupted in an attempt to stop the task.

    Definition Classes
    ScheduledFutureScheduledTask
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  8. def collect[S](pf: PartialFunction[T, S])(implicit executor: ExecutionContext): Future[S]
    Definition Classes
    Future
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  11. def failed: Future[Throwable]
    Definition Classes
    Future
  12. def fallbackTo[U >: T](that: Future[U]): Future[U]
    Definition Classes
    Future
  13. def filter(p: (T) => Boolean)(implicit executor: ExecutionContext): Future[T]
    Definition Classes
    Future
  14. def flatMap[S](f: (T) => Future[S])(implicit executor: ExecutionContext): Future[S]
    Definition Classes
    Future
  15. def flatten[S](implicit ev: <:<[T, Future[S]]): Future[S]
    Definition Classes
    Future
  16. def foreach[U](f: (T) => U)(implicit executor: ExecutionContext): Unit
    Definition Classes
    Future
  17. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. def isCancelled(): Boolean

    Returns true if this task was cancelled before it completed normally.

    Returns true if this task was cancelled before it completed normally.

    Definition Classes
    ScheduledFutureScheduledTask
  20. def isCompleted: Boolean
    Definition Classes
    ScheduledFuture → Future
  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. def map[S](f: (T) => S)(implicit executor: ExecutionContext): Future[S]
    Definition Classes
    Future
  23. def mapTo[S](implicit tag: ClassTag[S]): Future[S]
    Definition Classes
    Future
  24. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  26. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  27. def onComplete[U](func: (Try[T]) => U)(implicit executor: ExecutionContext): Unit
    Definition Classes
    ScheduledFuture → Future
  28. def ready(atMost: Duration)(implicit permit: CanAwait): ScheduledFuture.this.type
    Definition Classes
    ScheduledFuture → Awaitable
  29. def recover[U >: T](pf: PartialFunction[Throwable, U])(implicit executor: ExecutionContext): Future[U]
    Definition Classes
    Future
  30. def recoverWith[U >: T](pf: PartialFunction[Throwable, Future[U]])(implicit executor: ExecutionContext): Future[U]
    Definition Classes
    Future
  31. def result(atMost: Duration)(implicit permit: CanAwait): T
    Definition Classes
    ScheduledFuture → Awaitable
  32. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  33. def toString(): String
    Definition Classes
    AnyRef → Any
  34. def transform[S](f: (Try[T]) => Try[S])(implicit executor: ExecutionContext): Future[S]
    Definition Classes
    ScheduledFuture → Future
  35. def transform[S](s: (T) => S, f: (Throwable) => Throwable)(implicit executor: ExecutionContext): Future[S]
    Definition Classes
    Future
  36. def transformWith[S](f: (Try[T]) => Future[S])(implicit executor: ExecutionContext): Future[S]
    Definition Classes
    ScheduledFuture → Future
  37. def value: Option[Try[T]]
    Definition Classes
    ScheduledFuture → Future
  38. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  39. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  40. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  41. final def withFilter(p: (T) => Boolean)(implicit executor: ExecutionContext): Future[T]
    Definition Classes
    Future
  42. def zip[U](that: Future[U]): Future[(T, U)]
    Definition Classes
    Future
  43. def zipWith[U, R](that: Future[U])(f: (T, 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 ScheduledTask

Inherited from Future[T]

Inherited from Awaitable[T]

Inherited from AnyRef

Inherited from Any

Ungrouped