@InterfaceAudience.Private
@InterfaceStability.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 and Description |
---|
GetNewReservationResponsePBImpl() |
GetNewReservationResponsePBImpl(org.apache.hadoop.yarn.proto.YarnServiceProtos.GetNewReservationResponseProto proto) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
org.apache.hadoop.yarn.proto.YarnServiceProtos.GetNewReservationResponseProto |
getProto() |
org.apache.hadoop.yarn.api.records.ReservationId |
getReservationId() |
int |
hashCode() |
void |
setReservationId(org.apache.hadoop.yarn.api.records.ReservationId reservationId) |
String |
toString() |
public GetNewReservationResponsePBImpl()
public GetNewReservationResponsePBImpl(org.apache.hadoop.yarn.proto.YarnServiceProtos.GetNewReservationResponseProto proto)
public org.apache.hadoop.yarn.proto.YarnServiceProtos.GetNewReservationResponseProto getProto()
public org.apache.hadoop.yarn.api.records.ReservationId getReservationId()
getReservationId
in class org.apache.hadoop.yarn.api.protocolrecords.GetNewReservationResponse
public void setReservationId(org.apache.hadoop.yarn.api.records.ReservationId reservationId)
setReservationId
in class org.apache.hadoop.yarn.api.protocolrecords.GetNewReservationResponse
Copyright © 2008–2022 Apache Software Foundation. All rights reserved.