Class ResourceID

Object
org.apache.spark.resource.ResourceID

public class ResourceID extends Object
Resource identifier. param: componentName spark.driver / spark.executor / spark.task param: resourceName gpu, fpga, etc

Since:
3.0.0
  • Constructor Details

    • ResourceID

      public ResourceID(String componentName, String resourceName)
  • Method Details

    • componentName

      public String componentName()
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • resourceName

      public String resourceName()