o

com.googlecode.concurrent

ExecutorServiceManager

object ExecutorServiceManager

manages executor instantiation, provides factory methods for various executors

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

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 finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. def lifecycle[T, V](nThreads: Int, params: Traversable[T])(f: (T) ⇒ V): Traversable[V]

    creates an executor of nThread, submits f() x params.size and returns V x params.size as returned by f().

    creates an executor of nThread, submits f() x params.size and returns V x params.size as returned by f(). It then shutsdown the executor.

    f: T => V , each thread getting a different parameter from the traversable

    If any of the invocation of f() fails, the executor will be shut down and no further threads will be submitted to it. The exception will propagate to the caller.

  13. def lifecycle[V](nThreads: Int, times: Int)(f: (Int) ⇒ V): Seq[V]

    creates an executor of nThread, submits f() x times and returns V x times as returned by f().

    creates an executor of nThread, submits f() x times and returns V x times as returned by f(). It then shutsdown the executor.

    f: Int => V , where Int is the i-th execution, i is between [1..times] inclusive.

    If any of the invocation of f() fails, the executor will be shut down and no further threads will be submitted to it. The exception will propagate to the caller.

  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def newCachedThreadPool(corePoolSize: Int, maximumPoolSize: Int, keepAliveTimeInSeconds: Int = 60, workQueue: BlockingQueue[Runnable] = new SynchronousQueue): Executor with Shutdown
  16. def newCachedThreadPoolCompletionService[V](corePoolSize: Int, maximumPoolSize: Int, keepAliveTimeInSeconds: Int = 60, workQueue: BlockingQueue[Runnable] = new SynchronousQueue): CompletionExecutor[V]
  17. def newFixedThreadPool(nThreads: Int): Executor with Shutdown
  18. def newFixedThreadPoolCompletionService[V](nThreads: Int): CompletionExecutor[V]
  19. def newScheduledThreadPool(corePoolSize: Int): Executor with Shutdown with Scheduling
  20. def newScheduledThreadPool(corePoolSize: Int, errorLogger: (Throwable) ⇒ Unit): Executor with Shutdown with Scheduling
  21. def newSingleThreadExecutor: Executor with Shutdown
  22. final def notify(): Unit
    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  24. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  25. def toString(): String
    Definition Classes
    AnyRef → Any
  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. def wrap(executor: ExecutorService): Executor with Shutdown

Inherited from AnyRef

Inherited from Any

Ungrouped