Class GetNewReservationResponsePBImpl

java.lang.Object
org.apache.hadoop.yarn.api.protocolrecords.GetNewReservationResponse
org.apache.hadoop.yarn.api.protocolrecords.impl.pb.GetNewReservationResponsePBImpl

@Private @Unstable public class GetNewReservationResponsePBImpl extends org.apache.hadoop.yarn.api.protocolrecords.GetNewReservationResponse

The implementation of the response sent by the ResourceManager to the client for a request to get a new ReservationId for submitting reservations.

Clients can submit an reservation with the returned ReservationId.

ApplicationClientProtocol#getNewReservation(GetNewReservationRequest)
  • Constructor Details

    • GetNewReservationResponsePBImpl

      public GetNewReservationResponsePBImpl()
    • GetNewReservationResponsePBImpl

      public GetNewReservationResponsePBImpl(org.apache.hadoop.yarn.proto.YarnServiceProtos.GetNewReservationResponseProto proto)
  • Method Details

    • getProto

      public org.apache.hadoop.yarn.proto.YarnServiceProtos.GetNewReservationResponseProto 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
    • getReservationId

      public org.apache.hadoop.yarn.api.records.ReservationId getReservationId()
      Specified by:
      getReservationId in class org.apache.hadoop.yarn.api.protocolrecords.GetNewReservationResponse
    • setReservationId

      public void setReservationId(org.apache.hadoop.yarn.api.records.ReservationId reservationId)
      Specified by:
      setReservationId in class org.apache.hadoop.yarn.api.protocolrecords.GetNewReservationResponse