Packages

package threads

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. All

Type Members

  1. class CapturedSparkThreadLocals extends SparkThreadLocalCapturingHelper
  2. class NonFateSharingFuture[T] extends DeltaLogging

    A future invocation of f which avoids "fate sharing" of errors, in case multiple threads could wait on the future's result.

    A future invocation of f which 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 f directly -- except that fatal errors will propagate (once) if the caller is from the same SparkSession that created the future.

  3. trait SparkThreadLocalCapturingHelper extends LoggingShims
  4. class SparkThreadLocalCapturingRunnable extends Runnable with SparkThreadLocalCapturingHelper
  5. 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

  1. object CapturedSparkThreadLocals

Ungrouped