object Offer

Note: There is a Java-friendly API for this object: com.twitter.concurrent.Offers.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Offer
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def choose[T](evs: Offer[T]*): Offer[T]

    The offer that chooses exactly one of the given offers.

    The offer that chooses exactly one of the given offers. If there are any Offers that are synchronizable immediately, one is chosen at random.

    Annotations
    @varargs()
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. def const[T](x: => T): Offer[T]

    A constant offer: synchronizes the given value always.

    A constant offer: synchronizes the given value always. This is call-by-name and a new value is produced for each prepare().

    Note: Updates here must also be done at Offers.newConstOffer.

  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. val never: Offer[Nothing]

    An offer that never synchronizes.

  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. def prioritize[T](evs: Offer[T]*): Offer[T]

    The offer that chooses exactly one of the given offers.

    The offer that chooses exactly one of the given offers. If there are any Offers that are synchronizable immediately, the first available in the sequence is selected.

  19. def select[T](ofs: Offer[T]*): Future[T]

    Offer.choose() and synchronize it.

  20. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  21. def timeout(timeout: Duration)(implicit timer: Timer): Offer[Unit]

    An offer that is available after the given time out.

  22. def toString(): String
    Definition Classes
    AnyRef → Any
  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  26. object LostSynchronization extends Exception

Inherited from AnyRef

Inherited from Any

Ungrouped