org.fusesource.hawtdispatch

RichExecutorTrait

trait RichExecutorTrait extends AnyRef

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

Abstract Value Members

  1. abstract def execute(runnable: Runnable): Unit

    Attributes
    protected
  2. abstract def execute(task: Task): Unit

    Attributes
    protected

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. final def !=(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef → Any
  6. def <<(task: Task): Unit

  7. 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.

  8. final def ==(arg0: AnyRef): Boolean

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

    Definition Classes
    Any
  10. def >>:(task: Task): Unit

  11. def >>:(task: Runnable): Unit

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

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

    Same as #apply(=>Unit)

  13. 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(Task) 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.

  14. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  15. def clone(): AnyRef

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

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

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

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

  20. 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.

  21. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  22. def hashCode(): Int

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

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

    Definition Classes
    AnyRef
  25. final def notify(): Unit

    Definition Classes
    AnyRef
  26. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  27. def runnable(task: ⇒ Unit): Task { val target: org.fusesource.hawtdispatch.Task }

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

  28. 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.

  29. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  30. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from AnyRef

Inherited from Any

Ungrouped