Packages

c

de.sciss.processor.impl

FutureWrapper

class FutureWrapper[A] extends Processor[A] with ModelImpl[Update[A, Processor[A]]] with FutureProxy[A]

Linear Supertypes
FutureProxy[A], ModelImpl[Update[A, Processor[A]]], Processor[A], ProcessorLike[A, Processor[A]], Model[Update[A, Processor[A]]], Future[A], Awaitable[A], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FutureWrapper
  2. FutureProxy
  3. ModelImpl
  4. Processor
  5. ProcessorLike
  6. Model
  7. Future
  8. Awaitable
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new FutureWrapper(name: String, peerFuture: Future[A])(implicit exec: ExecutionContext)

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 abort(): Unit

    Asynchronously aborts the process.

    Asynchronously aborts the process. This method returns immediately. Once the process is aborted, it will dispatch an Aborted event. This method may be called repeatedly, although calling it twice does not have any particular effect.

    Definition Classes
    FutureWrapperProcessorLike
  5. def addListener(pf: Listener[Update[A, Processor[A]]]): pf.type
    Definition Classes
    ModelImpl → Model
  6. def andThen[U](pf: PartialFunction[Try[A], U])(implicit executor: ExecutionContext): Future[A]
    Definition Classes
    Future
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  9. def collect[S](pf: PartialFunction[A, S])(implicit executor: ExecutionContext): Future[S]
    Definition Classes
    Future
  10. final def dispatch(update: Update[A, Processor[A]]): Unit
    Attributes
    protected
    Definition Classes
    ModelImpl
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  13. def failed: Future[Throwable]
    Definition Classes
    Future
  14. def fallbackTo[U >: A](that: Future[U]): Future[U]
    Definition Classes
    Future
  15. def filter(p: (A) ⇒ Boolean)(implicit executor: ExecutionContext): Future[A]
    Definition Classes
    Future
  16. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  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[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  21. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  22. def isCompleted: Boolean
    Definition Classes
    FutureProxy → Future
  23. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  24. def map[S](f: (A) ⇒ S)(implicit executor: ExecutionContext): Future[S]
    Definition Classes
    Future
  25. def mapTo[S](implicit tag: ClassTag[S]): Future[S]
    Definition Classes
    Future
  26. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  27. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  28. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  29. def onComplete[U](func: (Try[A]) ⇒ U)(implicit executor: ExecutionContext): Unit
    Definition Classes
    FutureProxy → Future
  30. val peerFuture: Future[A]
    Attributes
    protected
    Definition Classes
    FutureWrapperFutureProxy
  31. def progress: Double

    Queries the correct progress which is value between 0.0 and 1.0

    Queries the correct progress which is value between 0.0 and 1.0

    Definition Classes
    FutureWrapperProcessorLike
  32. def ready(atMost: Duration)(implicit permit: CanAwait): FutureWrapper.this.type
    Definition Classes
    FutureProxy → Awaitable
  33. def recover[U >: A](pf: PartialFunction[Throwable, U])(implicit executor: ExecutionContext): Future[U]
    Definition Classes
    Future
  34. def recoverWith[U >: A](pf: PartialFunction[Throwable, Future[U]])(implicit executor: ExecutionContext): Future[U]
    Definition Classes
    Future
  35. def releaseListeners(): Unit
    Attributes
    protected
    Definition Classes
    ModelImpl
  36. def removeListener(pf: Listener[Update[A, Processor[A]]]): Unit
    Definition Classes
    ModelImpl → Model
  37. def result(atMost: Duration)(implicit permit: CanAwait): A
    Definition Classes
    FutureProxy → Awaitable
  38. def startListening(): Unit
    Attributes
    protected
    Definition Classes
    ModelImpl
  39. def stopListening(): Unit
    Attributes
    protected
    Definition Classes
    ModelImpl
  40. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  41. def toString(): String
    Definition Classes
    FutureWrapper → AnyRef → Any
  42. def transform[B](f: (Try[A]) ⇒ Try[B])(implicit executor: ExecutionContext): Future[B]
    Definition Classes
    FutureProxy → Future
  43. def transform[S](s: (A) ⇒ S, f: (Throwable) ⇒ Throwable)(implicit executor: ExecutionContext): Future[S]
    Definition Classes
    Future
  44. def transformWith[B](f: (Try[A]) ⇒ Future[B])(implicit executor: ExecutionContext): Future[B]
    Definition Classes
    FutureProxy → Future
  45. def value: Option[Try[A]]
    Definition Classes
    FutureProxy → Future
  46. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  47. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  48. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  49. final def withFilter(p: (A) ⇒ Boolean)(implicit executor: ExecutionContext): Future[A]
    Definition Classes
    Future
  50. def zip[U](that: Future[U]): Future[(A, U)]
    Definition Classes
    Future
  51. def zipWith[U, R](that: Future[U])(f: (A, U) ⇒ R)(implicit executor: ExecutionContext): Future[R]
    Definition Classes
    Future

Deprecated Value Members

  1. def onFailure[U](pf: PartialFunction[Throwable, U])(implicit executor: ExecutionContext): Unit
    Definition Classes
    Future
    Annotations
    @deprecated
    Deprecated

    (Since version 2.12.0) use onComplete or failed.foreach instead (keep in mind that they take total rather than partial functions)

  2. def onSuccess[U](pf: PartialFunction[A, U])(implicit executor: ExecutionContext): Unit
    Definition Classes
    Future
    Annotations
    @deprecated
    Deprecated

    (Since version 2.12.0) use foreach or onComplete instead (keep in mind that they take total rather than partial functions)

Inherited from FutureProxy[A]

Inherited from ModelImpl[Update[A, Processor[A]]]

Inherited from Processor[A]

Inherited from ProcessorLike[A, Processor[A]]

Inherited from Model[Update[A, Processor[A]]]

Inherited from Future[A]

Inherited from Awaitable[A]

Inherited from AnyRef

Inherited from Any

Ungrouped