final class ScheduledFuture[T] extends Future[T] with ScheduledTask
- Source
- ScheduledFuture.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ScheduledFuture
- ScheduledTask
- Future
- Awaitable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new ScheduledFuture(promise: Promise[T], task: ScheduledTask)
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
- def andThen[U](pf: PartialFunction[Try[T], U])(implicit executor: ExecutionContext): Future[T]
- Definition Classes
- Future
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- 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
- ScheduledFuture → ScheduledTask
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- def collect[S](pf: PartialFunction[T, S])(implicit executor: ExecutionContext): Future[S]
- Definition Classes
- Future
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def failed: Future[Throwable]
- Definition Classes
- Future
- def fallbackTo[U >: T](that: Future[U]): Future[U]
- Definition Classes
- Future
- def filter(p: (T) => Boolean)(implicit executor: ExecutionContext): Future[T]
- Definition Classes
- Future
- def flatMap[S](f: (T) => Future[S])(implicit executor: ExecutionContext): Future[S]
- Definition Classes
- Future
- def flatten[S](implicit ev: <:<[T, Future[S]]): Future[S]
- Definition Classes
- Future
- def foreach[U](f: (T) => U)(implicit executor: ExecutionContext): Unit
- Definition Classes
- Future
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- 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
- ScheduledFuture → ScheduledTask
- def isCompleted: Boolean
- Definition Classes
- ScheduledFuture → Future
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def map[S](f: (T) => S)(implicit executor: ExecutionContext): Future[S]
- Definition Classes
- Future
- def mapTo[S](implicit tag: ClassTag[S]): Future[S]
- Definition Classes
- Future
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def onComplete[U](func: (Try[T]) => U)(implicit executor: ExecutionContext): Unit
- Definition Classes
- ScheduledFuture → Future
- def ready(atMost: Duration)(implicit permit: CanAwait): ScheduledFuture.this.type
- Definition Classes
- ScheduledFuture → Awaitable
- def recover[U >: T](pf: PartialFunction[Throwable, U])(implicit executor: ExecutionContext): Future[U]
- Definition Classes
- Future
- def recoverWith[U >: T](pf: PartialFunction[Throwable, Future[U]])(implicit executor: ExecutionContext): Future[U]
- Definition Classes
- Future
- def result(atMost: Duration)(implicit permit: CanAwait): T
- Definition Classes
- ScheduledFuture → Awaitable
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def transform[S](f: (Try[T]) => Try[S])(implicit executor: ExecutionContext): Future[S]
- Definition Classes
- ScheduledFuture → Future
- def transform[S](s: (T) => S, f: (Throwable) => Throwable)(implicit executor: ExecutionContext): Future[S]
- Definition Classes
- Future
- def transformWith[S](f: (Try[T]) => Future[S])(implicit executor: ExecutionContext): Future[S]
- Definition Classes
- ScheduledFuture → Future
- def value: Option[Try[T]]
- Definition Classes
- ScheduledFuture → Future
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def withFilter(p: (T) => Boolean)(implicit executor: ExecutionContext): Future[T]
- Definition Classes
- Future
- def zip[U](that: Future[U]): Future[(T, U)]
- Definition Classes
- Future
- def zipWith[U, R](that: Future[U])(f: (T, U) => R)(implicit executor: ExecutionContext): Future[R]
- Definition Classes
- Future