Class

com.twitter.zk

EventPromise

Related Doc: package zk

Permalink

class EventPromise extends Promise[WatchedEvent] with Watcher

Linear Supertypes
Watcher, Promise[WatchedEvent], Updatable[Try[WatchedEvent]], Responder[WatchedEvent], Future[WatchedEvent], Awaitable[WatchedEvent], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. EventPromise
  2. Watcher
  3. Promise
  4. Updatable
  5. Responder
  6. Future
  7. Awaitable
  8. AnyRef
  9. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new EventPromise()

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def addEventListener(listener: FutureEventListener[_ >: WatchedEvent]): Future[WatchedEvent]

    Permalink
    Definition Classes
    Future
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def become(other: Future[WatchedEvent]): Unit

    Permalink
    Definition Classes
    Promise
  7. def before[B](f: ⇒ Future[B])(implicit ev: <:<[EventPromise.this.type, Future[Unit]]): Future[B]

    Permalink
    Definition Classes
    Future
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. final def compress(): Promise[WatchedEvent]

    Permalink
    Attributes
    protected
    Definition Classes
    Promise
  10. final def continue(k: K[WatchedEvent]): Unit

    Permalink
    Attributes
    protected[com.twitter.util]
    Definition Classes
    Promise → Responder
    Annotations
    @tailrec()
  11. def delayed(howlong: Duration)(implicit timer: Timer): Future[WatchedEvent]

    Permalink
    Definition Classes
    Future
  12. final def depth: Short

    Permalink
    Attributes
    protected[com.twitter.util]
    Definition Classes
    Promise → Responder
  13. final def detach(k: K[WatchedEvent]): Boolean

    Permalink
    Attributes
    protected[com.twitter.util.Promise]
    Definition Classes
    Promise
    Annotations
    @tailrec()
  14. def ensure(f: ⇒ Unit): Future[WatchedEvent]

    Permalink
    Definition Classes
    Future
  15. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  16. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  17. def filter(p: (WatchedEvent) ⇒ Boolean): Future[WatchedEvent]

    Permalink
    Definition Classes
    Future
  18. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. def flatMap[B](f: (WatchedEvent) ⇒ Future[B]): Future[B]

    Permalink
    Definition Classes
    Future
  20. def flatten[B](implicit ev: <:<[WatchedEvent, Future[B]]): Future[B]

    Permalink
    Definition Classes
    Future
  21. def foreach(k: (WatchedEvent) ⇒ Unit): Future[WatchedEvent]

    Permalink
    Definition Classes
    Future
  22. final def forwardInterruptsTo(other: Future[_]): Unit

    Permalink
    Definition Classes
    Promise
    Annotations
    @tailrec()
  23. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  24. def handle[B >: WatchedEvent](rescueException: PartialFunction[Throwable, B]): Future[B]

    Permalink
    Definition Classes
    Future
  25. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  26. def interruptible(): Future[WatchedEvent]

    Permalink
    Definition Classes
    Future
  27. def isDefined: Boolean

    Permalink
    Definition Classes
    Promise → Future
  28. def isDone(implicit ev: <:<[EventPromise.this.type, Future[Unit]]): Boolean

    Permalink
    Definition Classes
    Future
  29. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  30. def isInterrupted: Option[Throwable]

    Permalink
    Definition Classes
    Promise
  31. def isReady(implicit permit: CanAwait): Boolean

    Permalink
    Definition Classes
    Promise → Awaitable
  32. def join[B](other: Future[B]): Future[(WatchedEvent, B)]

    Permalink
    Definition Classes
    Future
  33. def liftToTry: Future[Try[WatchedEvent]]

    Permalink
    Definition Classes
    Future
  34. final def link(target: Promise[WatchedEvent]): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Promise
    Annotations
    @tailrec()
  35. def lowerFromTry[T](implicit ev: <:<[WatchedEvent, Try[T]]): Future[T]

    Permalink
    Definition Classes
    Future
  36. def map[B](f: (WatchedEvent) ⇒ B): Future[B]

    Permalink
    Definition Classes
    Future
  37. def mask(pred: PartialFunction[Throwable, Boolean]): Future[WatchedEvent]

    Permalink
    Definition Classes
    Future
  38. def masked: Future[WatchedEvent]

    Permalink
    Definition Classes
    Future
  39. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  40. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  41. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  42. def onFailure(fn: (Throwable) ⇒ Unit): Future[WatchedEvent]

    Permalink
    Definition Classes
    Future
  43. def onSuccess(f: (WatchedEvent) ⇒ Unit): Future[WatchedEvent]

    Permalink
    Definition Classes
    Future
  44. def or[U >: WatchedEvent](other: Future[U]): Future[U]

    Permalink
    Definition Classes
    Future
  45. final def parent: Promise[WatchedEvent]

    Permalink
    Attributes
    protected
    Definition Classes
    Promise → Responder
  46. def poll: Option[Try[WatchedEvent]]

    Permalink
    Definition Classes
    Promise → Future
  47. def process(event: WatchedEvent): Unit

    Permalink
    Definition Classes
    EventPromise → Watcher
  48. def proxyTo[B >: WatchedEvent](other: Promise[B]): Unit

    Permalink
    Definition Classes
    Future
  49. final def raise(intr: Throwable): Unit

    Permalink
    Definition Classes
    Promise → Future
    Annotations
    @tailrec()
  50. def raiseWithin(timer: Timer, timeout: Duration, exc: Throwable): Future[WatchedEvent]

    Permalink
    Definition Classes
    Future
  51. def raiseWithin(timeout: Duration, exc: Throwable)(implicit timer: Timer): Future[WatchedEvent]

    Permalink
    Definition Classes
    Future
  52. def raiseWithin(timeout: Duration)(implicit timer: Timer): Future[WatchedEvent]

    Permalink
    Definition Classes
    Future
  53. def ready(timeout: Duration)(implicit permit: CanAwait): EventPromise.this.type

    Permalink
    Definition Classes
    Promise → Awaitable
    Annotations
    @throws( ... ) @throws( ... )
  54. def rescue[B >: WatchedEvent](rescueException: PartialFunction[Throwable, Future[B]]): Future[B]

    Permalink
    Definition Classes
    Future
  55. def respond(k: (Try[WatchedEvent]) ⇒ Unit): Future[WatchedEvent]

    Permalink
    Definition Classes
    Responder
  56. def result(timeout: Duration)(implicit permit: CanAwait): WatchedEvent

    Permalink
    Definition Classes
    Promise → Awaitable
    Annotations
    @throws( classOf[java.lang.Exception] )
  57. def select[U >: WatchedEvent](other: Future[U]): Future[U]

    Permalink
    Definition Classes
    Future
  58. def setDone()(implicit ev: <:<[EventPromise.this.type, Promise[Unit]]): Boolean

    Permalink
    Definition Classes
    Promise
  59. def setException(throwable: Throwable): Unit

    Permalink
    Definition Classes
    Promise
  60. final def setInterruptHandler(f: PartialFunction[Throwable, Unit]): Unit

    Permalink
    Definition Classes
    Promise
    Annotations
    @tailrec()
  61. def setValue(result: WatchedEvent): Unit

    Permalink
    Definition Classes
    Promise
  62. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  63. def toJavaFuture: Future[_ <: WatchedEvent]

    Permalink
    Definition Classes
    Future
  64. def toOffer: Offer[Try[WatchedEvent]]

    Permalink
    Definition Classes
    Future
  65. def toString(): String

    Permalink
    Definition Classes
    Promise → AnyRef → Any
  66. def transform[B](f: (Try[WatchedEvent]) ⇒ Future[B]): Future[B]

    Permalink
    Definition Classes
    Responder
  67. def transformedBy[B](transformer: FutureTransformer[WatchedEvent, B]): Future[B]

    Permalink
    Definition Classes
    Future
  68. def unit: Future[Unit]

    Permalink
    Definition Classes
    Future
  69. def update(result: Try[WatchedEvent]): Unit

    Permalink
    Definition Classes
    Promise → Updatable
  70. final def updateIfEmpty(result: Try[WatchedEvent]): Boolean

    Permalink
    Definition Classes
    Promise
    Annotations
    @tailrec()
  71. def voided: Future[Void]

    Permalink
    Definition Classes
    Future
  72. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  73. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  74. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  75. def willEqual[B](that: Future[B]): Future[Boolean]

    Permalink
    Definition Classes
    Future
  76. def withFilter(p: (WatchedEvent) ⇒ Boolean): Future[WatchedEvent]

    Permalink
    Definition Classes
    Future
  77. def within(timer: Timer, timeout: Duration, exc: ⇒ Throwable): Future[WatchedEvent]

    Permalink
    Definition Classes
    Future
  78. def within(timer: Timer, timeout: Duration): Future[WatchedEvent]

    Permalink
    Definition Classes
    Future
  79. def within(timeout: Duration)(implicit timer: Timer): Future[WatchedEvent]

    Permalink
    Definition Classes
    Future

Deprecated Value Members

  1. def cancel(): Unit

    Permalink
    Definition Classes
    Future
    Annotations
    @deprecated
    Deprecated

    (Since version 6.0.0) Provided for API compatibility; use raise() instead.

  2. final def get(timeout: Duration): Try[WatchedEvent]

    Permalink
    Definition Classes
    Future
    Annotations
    @deprecated
    Deprecated

    (Since version 6.2.x) Use Await.result(future.liftToTry)

  3. def get(): WatchedEvent

    Permalink
    Definition Classes
    Future
    Annotations
    @deprecated
    Deprecated

    (Since version 6.2.x) Use Await.result

  4. def isReturn: Boolean

    Permalink
    Definition Classes
    Future
    Annotations
    @deprecated
    Deprecated

    (Since version 6.2.x) Use Await.result(future.liftToTry).isReturn

  5. def isThrow: Boolean

    Permalink
    Definition Classes
    Future
    Annotations
    @deprecated
    Deprecated

    (Since version 6.2.x) Use Await.result(future.liftToTry).isThrow

Inherited from Watcher

Inherited from Promise[WatchedEvent]

Inherited from Updatable[Try[WatchedEvent]]

Inherited from Responder[WatchedEvent]

Inherited from Future[WatchedEvent]

Inherited from Awaitable[WatchedEvent]

Inherited from AnyRef

Inherited from Any

Ungrouped