org.powerscala.concurrent

Executor

class Executor extends AnyRef

Executor is a light-weight wrapper around a Java ExecutorService backred by a cached thread-pool.

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

Instance Constructors

  1. new Executor(coreThreads: Int = 8, daemonThreads: Boolean = true)

Type Members

  1. class C[T] extends Callable[T]

  2. class R[T] extends Runnable

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 clone(): AnyRef

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

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

    Definition Classes
    AnyRef → Any
  8. def execute(r: Runnable): Unit

    Executes a Runnable in the future.

  9. def execute[T](f: () ⇒ T): Unit

    Executes the function on the ExecutorService asynchronously.

  10. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. def future[T](f: () ⇒ T): Future[T]

    Invokes the function on the ExecutorService asynchronously returning a Future[T] with the return value.

    Invokes the function on the ExecutorService asynchronously returning a Future[T] with the return value.

    returns

    Future[T]

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

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

    Definition Classes
    AnyRef → Any
  14. def invoke[T](f: ⇒ T): Unit

    Synonymous to the execute method apart from the difference in function signature.

  15. def invokeFuture[T](f: ⇒ T): Future[T]

    Synonymous to the future method apart from the difference in function signature.

  16. final def isInstanceOf[T0]: Boolean

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

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

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

    Definition Classes
    AnyRef
  20. def schedule[T](delay: Double)(f: ⇒ T): ScheduledFuture[T]

  21. def scheduleAtFixedRate[T](initialDelay: Double, period: Double)(f: ⇒ T): ScheduledFuture[_]

  22. def scheduleWithFixedDelay[T](initialDelay: Double, delay: Double)(f: ⇒ T): ScheduledFuture[_]

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

    Definition Classes
    AnyRef
  24. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped