Packages

c

akka.dispatch.forkjoin

ForkJoinWorkerThread

class ForkJoinWorkerThread extends Thread

A thread managed by a ForkJoinPool, which executes ForkJoinTasks. This class is subclassable solely for the sake of adding functionality -- there are no overridable methods dealing with scheduling or execution. However, you can override initialization and termination methods surrounding the main task processing loop. If you do create such a subclass, you will also need to supply a custom ForkJoinPool.ForkJoinWorkerThreadFactory to use it in a ForkJoinPool.

Source
ForkJoinWorkerThread.java
Since

1.7

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ForkJoinWorkerThread
  2. Thread
  3. Runnable
  4. AnyRef
  5. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def checkAccess(): Unit
    Definition Classes
    Thread
  2. def getContextClassLoader(): ClassLoader
    Definition Classes
    Thread
    Annotations
    @CallerSensitive()
  3. def getId(): Long
    Definition Classes
    Thread
  4. final def getName(): String
    Definition Classes
    Thread
  5. def getPool(): ForkJoinPool

    Returns the pool hosting this thread.

    Returns the pool hosting this thread.

    returns

    the pool

  6. def getPoolIndex(): Int

    Returns the index number of this thread in its pool.

    Returns the index number of this thread in its pool. The returned value ranges from zero to the maximum number of threads (minus one) that have ever been created in the pool. This method may be useful for applications that track status or collect results per-worker rather than per-task.

    returns

    the index number

  7. final def getPriority(): Int
    Definition Classes
    Thread
  8. def getStackTrace(): Array[StackTraceElement]
    Definition Classes
    Thread
  9. def getState(): State
    Definition Classes
    Thread
  10. final def getThreadGroup(): ThreadGroup
    Definition Classes
    Thread
  11. def getUncaughtExceptionHandler(): UncaughtExceptionHandler
    Definition Classes
    Thread
  12. def interrupt(): Unit
    Definition Classes
    Thread
  13. final def isAlive(): Boolean
    Definition Classes
    Thread
    Annotations
    @native()
  14. final def isDaemon(): Boolean
    Definition Classes
    Thread
  15. def isInterrupted(): Boolean
    Definition Classes
    Thread
  16. final def join(): Unit
    Definition Classes
    Thread
    Annotations
    @throws( ... )
  17. final def join(arg0: Long, arg1: Int): Unit
    Definition Classes
    Thread
    Annotations
    @throws( ... )
  18. final def join(arg0: Long): Unit
    Definition Classes
    Thread
    Annotations
    @throws( ... )
  19. def run(): Unit

    This method is required to be public, but should never be called explicitly.

    This method is required to be public, but should never be called explicitly. It performs the main run loop to execute ForkJoinTasks.

    Definition Classes
    ForkJoinWorkerThread → Thread → Runnable
  20. def setContextClassLoader(arg0: ClassLoader): Unit
    Definition Classes
    Thread
  21. final def setDaemon(arg0: Boolean): Unit
    Definition Classes
    Thread
  22. final def setName(arg0: String): Unit
    Definition Classes
    Thread
  23. final def setPriority(arg0: Int): Unit
    Definition Classes
    Thread
  24. def setUncaughtExceptionHandler(arg0: UncaughtExceptionHandler): Unit
    Definition Classes
    Thread
  25. def start(): Unit
    Definition Classes
    Thread
  26. def toString(): String
    Definition Classes
    Thread → AnyRef → Any

Deprecated Value Members

  1. def countStackFrames(): Int
    Definition Classes
    Thread
    Annotations
    @native() @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

  2. final def resume(): Unit
    Definition Classes
    Thread
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

  3. final def stop(): Unit
    Definition Classes
    Thread
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

  4. final def suspend(): Unit
    Definition Classes
    Thread
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.