Spark 3.5.5 ScalaDoc - org.apache.spark.TaskContext (original) (raw)

abstract class TaskContext extends Serializable

Ordering

  1. Alphabetic
  2. By Inheritance

Inherited

  1. TaskContext

  2. Serializable

  3. AnyRef

  4. Any

  5. Hide All

  6. Show All

Instance Constructors

  1. new TaskContext()

Abstract Value Members

  1. abstract def addTaskCompletionListener(listener: TaskCompletionListener): TaskContext
  2. abstract def addTaskFailureListener(listener: TaskFailureListener): TaskContext
  3. abstract def attemptNumber(): Int
  4. abstract def cpus(): Int
  5. abstract def getLocalProperty(key: String): String
  6. abstract def getMetricsSources(sourceName: String): Seq[Source]
  7. abstract def isCompleted(): Boolean
  8. abstract def isFailed(): Boolean
  9. abstract def isInterrupted(): Boolean
  10. abstract def numPartitions(): Int
  11. abstract def partitionId(): Int
  12. abstract def resources(): Map[String, ResourceInformation]
  13. abstract def resourcesJMap(): Map[String, ResourceInformation]
  14. abstract def stageAttemptNumber(): Int
  15. abstract def stageId(): Int
  16. abstract def taskAttemptId(): Long
  17. abstract def taskMetrics(): TaskMetrics

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
  2. final def ##(): Int
  3. final def ==(arg0: Any): Boolean
  4. def addTaskCompletionListener[U](f: (TaskContext) ⇒ U): TaskContext
  5. def addTaskFailureListener(f: (TaskContext, Throwable) ⇒ Unit): TaskContext
  6. final def asInstanceOf[T0]: T0
  7. def clone(): AnyRef
  8. final def eq(arg0: AnyRef): Boolean
  9. def equals(arg0: Any): Boolean
  10. def finalize(): Unit
  11. final def getClass(): Class[_]
  12. def hashCode(): Int
  13. final def isInstanceOf[T0]: Boolean
  14. final def ne(arg0: AnyRef): Boolean
  15. final def notify(): Unit
  16. final def notifyAll(): Unit
  17. final def synchronized[T0](arg0: ⇒ T0): T0
  18. def toString(): String
  19. final def wait(): Unit
  20. final def wait(arg0: Long, arg1: Int): Unit
  21. final def wait(arg0: Long): Unit

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped