com.comcast.money.core.concurrent

TraceFriendlyThreadPoolExecutor

class TraceFriendlyThreadPoolExecutor extends ThreadPoolExecutor with TraceLogging

This class must be used as the Executor when supporting Tracing in an application. Ensures that the trace context is propagated from the calling thread to the worker thread in the pool

Linear Supertypes
TraceLogging, ThreadPoolExecutor, AbstractExecutorService, ExecutorService, Executor, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. TraceFriendlyThreadPoolExecutor
  2. TraceLogging
  3. ThreadPoolExecutor
  4. AbstractExecutorService
  5. ExecutorService
  6. Executor
  7. AnyRef
  8. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TraceFriendlyThreadPoolExecutor(corePoolSize: Int, maximumPoolSize: Int, keepAliveTime: Long, unit: TimeUnit, workQueue: BlockingQueue[Runnable], threadFactory: ThreadFactory, rejectedExecutionHandler: RejectedExecutionHandler)

  2. new TraceFriendlyThreadPoolExecutor(corePoolSize: Int, maximumPoolSize: Int, keepAliveTime: Long, unit: TimeUnit, workQueue: BlockingQueue[Runnable])

Value Members

  1. final def !=(arg0: AnyRef): Boolean

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

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

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

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

    Definition Classes
    Any
  6. def afterExecute(arg0: Runnable, arg1: Throwable): Unit

    Attributes
    protected[java.util.concurrent]
    Definition Classes
    ThreadPoolExecutor
  7. def allowCoreThreadTimeOut(arg0: Boolean): Unit

    Definition Classes
    ThreadPoolExecutor
  8. def allowsCoreThreadTimeOut(): Boolean

    Definition Classes
    ThreadPoolExecutor
  9. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  10. def awaitTermination(arg0: Long, arg1: TimeUnit): Boolean

    Definition Classes
    ThreadPoolExecutor → ExecutorService
    Annotations
    @throws( ... )
  11. def beforeExecute(arg0: Thread, arg1: Runnable): Unit

    Attributes
    protected[java.util.concurrent]
    Definition Classes
    ThreadPoolExecutor
  12. def clone(): AnyRef

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

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

    Definition Classes
    AnyRef → Any
  15. def execute(command: Runnable): Unit

    Definition Classes
    TraceFriendlyThreadPoolExecutor → ThreadPoolExecutor → Executor
  16. def finalize(): Unit

    Attributes
    protected[java.util.concurrent]
    Definition Classes
    ThreadPoolExecutor → AnyRef
  17. def getActiveCount(): Int

    Definition Classes
    ThreadPoolExecutor
  18. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  19. def getCompletedTaskCount(): Long

    Definition Classes
    ThreadPoolExecutor
  20. def getCorePoolSize(): Int

    Definition Classes
    ThreadPoolExecutor
  21. def getKeepAliveTime(arg0: TimeUnit): Long

    Definition Classes
    ThreadPoolExecutor
  22. def getLargestPoolSize(): Int

    Definition Classes
    ThreadPoolExecutor
  23. def getMaximumPoolSize(): Int

    Definition Classes
    ThreadPoolExecutor
  24. def getPoolSize(): Int

    Definition Classes
    ThreadPoolExecutor
  25. def getQueue(): BlockingQueue[Runnable]

    Definition Classes
    ThreadPoolExecutor
  26. def getRejectedExecutionHandler(): RejectedExecutionHandler

    Definition Classes
    ThreadPoolExecutor
  27. def getTaskCount(): Long

    Definition Classes
    ThreadPoolExecutor
  28. def getThreadFactory(): ThreadFactory

    Definition Classes
    ThreadPoolExecutor
  29. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  30. def invokeAll[T](arg0: Collection[_ <: Callable[T]], arg1: Long, arg2: TimeUnit): List[Future[T]]

    Definition Classes
    AbstractExecutorService → ExecutorService
    Annotations
    @throws( ... )
  31. def invokeAll[T](arg0: Collection[_ <: Callable[T]]): List[Future[T]]

    Definition Classes
    AbstractExecutorService → ExecutorService
    Annotations
    @throws( ... )
  32. def invokeAny[T](arg0: Collection[_ <: Callable[T]], arg1: Long, arg2: TimeUnit): T

    Definition Classes
    AbstractExecutorService → ExecutorService
    Annotations
    @throws( ... ) @throws( ... ) @throws( ... )
  33. def invokeAny[T](arg0: Collection[_ <: Callable[T]]): T

    Definition Classes
    AbstractExecutorService → ExecutorService
    Annotations
    @throws( ... ) @throws( ... )
  34. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  35. def isShutdown(): Boolean

    Definition Classes
    ThreadPoolExecutor → ExecutorService
  36. def isTerminated(): Boolean

    Definition Classes
    ThreadPoolExecutor → ExecutorService
  37. def isTerminating(): Boolean

    Definition Classes
    ThreadPoolExecutor
  38. def logException(t: Throwable): Unit

    Definition Classes
    TraceLogging
  39. val logger: Logger

    Definition Classes
    TraceLogging
  40. lazy val mdcSupport: MDCSupport

  41. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  42. def newTaskFor[T](arg0: Callable[T]): RunnableFuture[T]

    Attributes
    protected[java.util.concurrent]
    Definition Classes
    AbstractExecutorService
  43. def newTaskFor[T](arg0: Runnable, arg1: T): RunnableFuture[T]

    Attributes
    protected[java.util.concurrent]
    Definition Classes
    AbstractExecutorService
  44. final def notify(): Unit

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

    Definition Classes
    AnyRef
  46. def prestartAllCoreThreads(): Int

    Definition Classes
    ThreadPoolExecutor
  47. def prestartCoreThread(): Boolean

    Definition Classes
    ThreadPoolExecutor
  48. def purge(): Unit

    Definition Classes
    ThreadPoolExecutor
  49. def remove(arg0: Runnable): Boolean

    Definition Classes
    ThreadPoolExecutor
  50. def setCorePoolSize(arg0: Int): Unit

    Definition Classes
    ThreadPoolExecutor
  51. def setKeepAliveTime(arg0: Long, arg1: TimeUnit): Unit

    Definition Classes
    ThreadPoolExecutor
  52. def setMaximumPoolSize(arg0: Int): Unit

    Definition Classes
    ThreadPoolExecutor
  53. def setRejectedExecutionHandler(arg0: RejectedExecutionHandler): Unit

    Definition Classes
    ThreadPoolExecutor
  54. def setThreadFactory(arg0: ThreadFactory): Unit

    Definition Classes
    ThreadPoolExecutor
  55. lazy val shouldLogExceptions: Boolean

    Definition Classes
    TraceLogging
  56. def shutdown(): Unit

    Definition Classes
    ThreadPoolExecutor → ExecutorService
  57. def shutdownNow(): List[Runnable]

    Definition Classes
    ThreadPoolExecutor → ExecutorService
  58. def submit[T](arg0: Callable[T]): Future[T]

    Definition Classes
    AbstractExecutorService → ExecutorService
  59. def submit[T](arg0: Runnable, arg1: T): Future[T]

    Definition Classes
    AbstractExecutorService → ExecutorService
  60. def submit(arg0: Runnable): Future[_]

    Definition Classes
    AbstractExecutorService → ExecutorService
  61. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  62. def terminated(): Unit

    Attributes
    protected[java.util.concurrent]
    Definition Classes
    ThreadPoolExecutor
  63. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from TraceLogging

Inherited from ThreadPoolExecutor

Inherited from AbstractExecutorService

Inherited from ExecutorService

Inherited from Executor

Inherited from AnyRef

Inherited from Any

Ungrouped