Class ContextBarrierId

Object
org.apache.spark.ContextBarrierId
All Implemented Interfaces:
Serializable, scala.Equals, scala.Product, scala.Serializable

public class ContextBarrierId extends Object implements scala.Product, scala.Serializable
For each barrier stage attempt, only at most one barrier() call can be active at any time, thus we can use (stageId, stageAttemptId) to identify the stage attempt where the barrier() call is from.
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    ContextBarrierId(int stageId, int stageAttemptId)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    abstract static R
    apply(T1 v1, T2 v2)
     
    int
     
    int
     
     

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface scala.Equals

    canEqual, equals

    Methods inherited from interface scala.Product

    productArity, productElement, productIterator, productPrefix
  • Constructor Details

    • ContextBarrierId

      public ContextBarrierId(int stageId, int stageAttemptId)
  • Method Details

    • apply

      public abstract static R apply(T1 v1, T2 v2)
    • stageId

      public int stageId()
    • stageAttemptId

      public int stageAttemptId()
    • toString

      public String toString()
      Overrides:
      toString in class Object