Packages

c

org.apache.spark.sql.delta.util.threads

SparkThreadLocalForwardingThreadPoolExecutor

class SparkThreadLocalForwardingThreadPoolExecutor extends ThreadPoolExecutor

Implementation of ThreadPoolExecutor that captures the Spark ThreadLocals present at submit time and inserts them into the thread before executing the provided runnable.

Linear Supertypes
ThreadPoolExecutor, AbstractExecutorService, ExecutorService, Executor, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SparkThreadLocalForwardingThreadPoolExecutor
  2. ThreadPoolExecutor
  3. AbstractExecutorService
  4. ExecutorService
  5. Executor
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

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

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. def afterExecute(arg0: Runnable, arg1: Throwable): Unit
    Attributes
    protected[concurrent]
    Definition Classes
    ThreadPoolExecutor
  5. def allowCoreThreadTimeOut(arg0: Boolean): Unit
    Definition Classes
    ThreadPoolExecutor
  6. def allowsCoreThreadTimeOut(): Boolean
    Definition Classes
    ThreadPoolExecutor
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def awaitTermination(arg0: Long, arg1: TimeUnit): Boolean
    Definition Classes
    ThreadPoolExecutor → ExecutorService
    Annotations
    @throws( ... )
  9. def beforeExecute(arg0: Thread, arg1: Runnable): Unit
    Attributes
    protected[concurrent]
    Definition Classes
    ThreadPoolExecutor
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  13. def execute(command: Runnable): Unit
    Definition Classes
    SparkThreadLocalForwardingThreadPoolExecutor → ThreadPoolExecutor → Executor
  14. def finalize(): Unit
    Attributes
    protected[concurrent]
    Definition Classes
    ThreadPoolExecutor → AnyRef
  15. def getActiveCount(): Int
    Definition Classes
    ThreadPoolExecutor
  16. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. def getCompletedTaskCount(): Long
    Definition Classes
    ThreadPoolExecutor
  18. def getCorePoolSize(): Int
    Definition Classes
    ThreadPoolExecutor
  19. def getKeepAliveTime(arg0: TimeUnit): Long
    Definition Classes
    ThreadPoolExecutor
  20. def getLargestPoolSize(): Int
    Definition Classes
    ThreadPoolExecutor
  21. def getMaximumPoolSize(): Int
    Definition Classes
    ThreadPoolExecutor
  22. def getPoolSize(): Int
    Definition Classes
    ThreadPoolExecutor
  23. def getQueue(): BlockingQueue[Runnable]
    Definition Classes
    ThreadPoolExecutor
  24. def getRejectedExecutionHandler(): RejectedExecutionHandler
    Definition Classes
    ThreadPoolExecutor
  25. def getTaskCount(): Long
    Definition Classes
    ThreadPoolExecutor
  26. def getThreadFactory(): ThreadFactory
    Definition Classes
    ThreadPoolExecutor
  27. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  28. def invokeAll[T](arg0: Collection[_ <: Callable[T]], arg1: Long, arg2: TimeUnit): List[Future[T]]
    Definition Classes
    AbstractExecutorService → ExecutorService
    Annotations
    @throws( ... )
  29. def invokeAll[T](arg0: Collection[_ <: Callable[T]]): List[Future[T]]
    Definition Classes
    AbstractExecutorService → ExecutorService
    Annotations
    @throws( ... )
  30. def invokeAny[T](arg0: Collection[_ <: Callable[T]], arg1: Long, arg2: TimeUnit): T
    Definition Classes
    AbstractExecutorService → ExecutorService
    Annotations
    @throws( ... ) @throws( ... ) @throws( ... )
  31. def invokeAny[T](arg0: Collection[_ <: Callable[T]]): T
    Definition Classes
    AbstractExecutorService → ExecutorService
    Annotations
    @throws( ... ) @throws( ... )
  32. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  33. def isShutdown(): Boolean
    Definition Classes
    ThreadPoolExecutor → ExecutorService
  34. def isTerminated(): Boolean
    Definition Classes
    ThreadPoolExecutor → ExecutorService
  35. def isTerminating(): Boolean
    Definition Classes
    ThreadPoolExecutor
  36. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  37. def newTaskFor[T](arg0: Callable[T]): RunnableFuture[T]
    Attributes
    protected[concurrent]
    Definition Classes
    AbstractExecutorService
  38. def newTaskFor[T](arg0: Runnable, arg1: T): RunnableFuture[T]
    Attributes
    protected[concurrent]
    Definition Classes
    AbstractExecutorService
  39. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  40. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  41. def prestartAllCoreThreads(): Int
    Definition Classes
    ThreadPoolExecutor
  42. def prestartCoreThread(): Boolean
    Definition Classes
    ThreadPoolExecutor
  43. def purge(): Unit
    Definition Classes
    ThreadPoolExecutor
  44. def remove(arg0: Runnable): Boolean
    Definition Classes
    ThreadPoolExecutor
  45. def setCorePoolSize(arg0: Int): Unit
    Definition Classes
    ThreadPoolExecutor
  46. def setKeepAliveTime(arg0: Long, arg1: TimeUnit): Unit
    Definition Classes
    ThreadPoolExecutor
  47. def setMaximumPoolSize(arg0: Int): Unit
    Definition Classes
    ThreadPoolExecutor
  48. def setRejectedExecutionHandler(arg0: RejectedExecutionHandler): Unit
    Definition Classes
    ThreadPoolExecutor
  49. def setThreadFactory(arg0: ThreadFactory): Unit
    Definition Classes
    ThreadPoolExecutor
  50. def shutdown(): Unit
    Definition Classes
    ThreadPoolExecutor → ExecutorService
  51. def shutdownNow(): List[Runnable]
    Definition Classes
    ThreadPoolExecutor → ExecutorService
  52. def submit[T](arg0: Callable[T]): Future[T]
    Definition Classes
    AbstractExecutorService → ExecutorService
  53. def submit[T](arg0: Runnable, arg1: T): Future[T]
    Definition Classes
    AbstractExecutorService → ExecutorService
  54. def submit(arg0: Runnable): Future[_]
    Definition Classes
    AbstractExecutorService → ExecutorService
  55. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  56. def terminated(): Unit
    Attributes
    protected[concurrent]
    Definition Classes
    ThreadPoolExecutor
  57. def toString(): String
    Definition Classes
    ThreadPoolExecutor → AnyRef → Any
  58. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  59. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  60. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from ThreadPoolExecutor

Inherited from AbstractExecutorService

Inherited from ExecutorService

Inherited from Executor

Inherited from AnyRef

Inherited from Any

Ungrouped