c

com.googlecode.concurrent

CompletionExecutor

class CompletionExecutor[V] extends Shutdown

Linear Supertypes
Shutdown, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CompletionExecutor
  2. Shutdown
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new CompletionExecutor(executorService: ExecutorService)

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 awaitTermination(timeoutWhen: DateTime): Unit
    Definition Classes
    Shutdown
  6. def awaitTermination(timeout: Long, unit: TimeUnit): Unit
    Definition Classes
    Shutdown
  7. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. val executorService: ExecutorService
    Attributes
    protected
    Definition Classes
    CompletionExecutorShutdown
  11. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  18. def poll(till: DateTime): Option[Future[V]]

    polls, waiting max until the provided DateTime.

  19. def poll(timeout: Long, unit: TimeUnit): Option[Future[V]]

    Retrieves and removes the Future representing the next completed task, waiting if necessary up to the specified wait time if none are yet present.

    Retrieves and removes the Future representing the next completed task, waiting if necessary up to the specified wait time if none are yet present.

    timeout

    how long to wait before giving up, in units of unit

    unit

    a TimeUnit determining how to interpret the timeout parameter

    returns

    the Future representing the next completed task or None if the specified waiting time elapses before one is present

    Exceptions thrown

    InterruptedException if interrupted while waiting

  20. def poll: Option[Future[V]]

    Retrieves and removes the Future representing the next completed task or None if none are present.

    Retrieves and removes the Future representing the next completed task or None if none are present.

    returns

    the Future representing the next completed task, or None if none are present

  21. def pollWaitInMillis(timeoutMs: Long): Option[Future[V]]
  22. def shutdown: Unit
    Definition Classes
    Shutdown
  23. def shutdownAndAwaitTermination(timeoutWhen: DateTime): Unit
    Definition Classes
    Shutdown
  24. def shutdownAndAwaitTermination(waitTimeInSeconds: Int): Unit
    Definition Classes
    Shutdown
  25. def shutdownNow: List[Runnable]
    Definition Classes
    Shutdown
  26. def submit(task: Runnable, result: V): Future[V]
  27. def submit(task: Callable[V]): Future[V]
  28. def submit(f: ⇒ V): Future[V]
  29. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  30. def take: Future[V]

    Retrieves and removes the Future representing the next completed task, waiting if none are yet present.

    Retrieves and removes the Future representing the next completed task, waiting if none are yet present.

    returns

    the Future representing the next completed task

    Exceptions thrown

    InterruptedException if interrupted while waiting

  31. def toString(): String
    Definition Classes
    AnyRef → Any
  32. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Shutdown

Inherited from AnyRef

Inherited from Any

Ungrouped