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

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[concurrent]
    Definition Classes
    ThreadPoolExecutor → AnyRef
    Annotations
    @Deprecated
    Deprecated

Inherited from ThreadPoolExecutor

Inherited from AbstractExecutorService

Inherited from ExecutorService

Inherited from Executor

Inherited from AnyRef

Inherited from Any

Ungrouped