Class PreemptionContainerPBImpl

java.lang.Object
org.apache.hadoop.yarn.api.records.PreemptionContainer
org.apache.hadoop.yarn.api.records.impl.pb.PreemptionContainerPBImpl

@Private @Unstable public class PreemptionContainerPBImpl extends org.apache.hadoop.yarn.api.records.PreemptionContainer
  • Constructor Details

    • PreemptionContainerPBImpl

      public PreemptionContainerPBImpl()
    • PreemptionContainerPBImpl

      public PreemptionContainerPBImpl(org.apache.hadoop.yarn.proto.YarnProtos.PreemptionContainerProto proto)
  • Method Details

    • getProto

      public org.apache.hadoop.yarn.proto.YarnProtos.PreemptionContainerProto getProto()
    • hashCode

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

      public boolean equals(Object other)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getId

      public org.apache.hadoop.yarn.api.records.ContainerId getId()
      Specified by:
      getId in class org.apache.hadoop.yarn.api.records.PreemptionContainer
    • setId

      public void setId(org.apache.hadoop.yarn.api.records.ContainerId id)
      Specified by:
      setId in class org.apache.hadoop.yarn.api.records.PreemptionContainer