package threads
Ordering
- Alphabetic
Visibility
- Public
- All
Type Members
- class CapturedSparkThreadLocals extends SparkThreadLocalCapturingHelper
-
class
NonFateSharingFuture[T] extends DeltaLogging
A future invocation of
fwhich avoids "fate sharing" of errors, in case multiple threads could wait on the future's result.A future invocation of
fwhich avoids "fate sharing" of errors, in case multiple threads could wait on the future's result.The future is only launched if a SparkSession is available.
If the future succeeds, any thread can consume the result.
If the future fails, threads will just invoke
fdirectly -- except that fatal errors will propagate (once) if the caller is from the same SparkSession that created the future. - trait SparkThreadLocalCapturingHelper extends LoggingShims
- class SparkThreadLocalCapturingRunnable extends Runnable with SparkThreadLocalCapturingHelper
-
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.
Value Members
- object CapturedSparkThreadLocals