org.fusesource.hawtdispatch.package

RichExecutorTrait

trait RichExecutorTrait extends AnyRef

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. RichExecutorTrait
  2. AnyRef
  3. Any
Visibility
  1. Public
  2. All

Abstract Value Members

  1. def execute (task: Runnable): Unit

    Attributes
    protected abstract

Concrete Value Members

  1. def ! [T] (func: ⇒ T): T @scala.util.continuations.cpsParam[Unit,Unit]

    Executes the supplied function on this executor.

    Executes the supplied function on this executor. If not called from a runnable being exectued in a Dispatch Queue, then is call blocks until continuation is executed. Otherwise, the continuation is resumed on the original calling dispatch queue once supplied function completes.

  2. def !! [T] (func: ⇒ T @scala.util.continuations.cpsParam[Unit,Unit]): Future[T]

    Same as #future(=>T) except that the partial function is wrapped in a reset block.

  3. def != (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  4. def != (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  5. def ## (): Int

    Attributes
    final
    Definition Classes
    AnyRef → Any
  6. def << (task: Runnable): Unit

    Submits a runnable for asynchronous execution on a dispatch queue.

    Submits a runnable for asynchronous execution on a dispatch queue.

    task

    The runnable to submit to the dispatch queue.

  7. def == (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  8. def == (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  9. def >>: (task: Runnable): Unit

    A right-associative version of the #<<(Runnable) method

  10. def ^ (task: ⇒ Unit): Unit

    Same as #apply(=>Unit)

  11. def apply (task: ⇒ Unit): Unit

    Submits a partial function for asynchronous execution on a dispatch queue.

    Submits a partial function for asynchronous execution on a dispatch queue.

    Calls to #execute(Runnable) always return immediately after the runnable has been submitted, and never wait for the runnable to be executed.

    The target queue determines whether the runnable will be invoked serially or concurrently with respect to other runnables submitted to that same queue. Serial queues are processed concurrently with with respect to each other.

    The system will retain this queue until the runnable has finished.

    task

    The function to submit to the dispatch queue.

  12. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  13. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  14. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  15. def equals (arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  16. def finalize (): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  17. def flatFuture [T] (func: ⇒ Future[T]): Future[T]

  18. def future [T] (func: ⇒ T): Future[T]

    Executes the supplied function on the dispatch queue and returns a Future that can be used to wait on the future result of the function.

  19. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef
  20. def hashCode (): Int

    Definition Classes
    AnyRef → Any
  21. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  22. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  23. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  24. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  25. def runnable (task: ⇒ Unit): Runnable { val target: java.lang.Runnable }

    Creates a Runnable object which executes the supplied partial function on this executor when run.

  26. def sync [T] (func: ⇒ T): T

    Executes the supplied function on the dispatch queue while blocking the calling thread as it waits for the response.

  27. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  28. def toString (): String

    Definition Classes
    AnyRef → Any
  29. def wait (): Unit

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from AnyRef

Inherited from Any