| [ Web Proxy ] |
| Viewing: https://spark.apache.org/docs/latest/api/python/reference/api/../api/pyspark.InheritableThread.html | [Back] [Original] |
Site Navigation
Site Navigation
Section Navigation
Thread that is recommended to be used in PySpark when the pinned thread mode is
enabled. The wrapper function, before calling original thread target, it
inherits the inheritable properties specific to JVM thread such as
InheritableThreadLocal, or thread local such as tags
with Spark Connect.
When the pinned thread mode is off, this works as threading.Thread.
New in version 3.1.0.
Changed in version 3.5.0: Supports Spark Connect.
Notes
This API is experimental.
Methods
|
Return a string used for identification purposes only. |
|
Return whether this thread is a daemon. |
|
Return whether the thread is alive. |
|
Wait until the thread terminates. |
|
Method representing the thread's activity. |
|
Set whether this thread is a daemon. |
|
Set the name string for this thread. |
|
Start the thread's activity. |
Attributes
|
A boolean value indicating whether this thread is a daemon thread. |
|
Thread identifier of this thread or None if it has not been started. |
|
A string used for identification purposes only. |
|
Native integral thread ID of this thread, or None if it has not been started. |
Copyright @ 2026 The Apache Software Foundation, Licensed under the Apache License, Version 2.0.
Created using Sphinx 4.5.0.
Built with the PyData Sphinx Theme 0.13.3.
| Web Proxy Viewer | New URL | Original Page |