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 Summary
ConstructorsConstructorDescriptionGetNewReservationResponsePBImpl(org.apache.hadoop.yarn.proto.YarnServiceProtos.GetNewReservationResponseProto proto) -
Method Summary
Modifier and TypeMethodDescriptionbooleanorg.apache.hadoop.yarn.proto.YarnServiceProtos.GetNewReservationResponseProtogetProto()org.apache.hadoop.yarn.api.records.ReservationIdinthashCode()voidsetReservationId(org.apache.hadoop.yarn.api.records.ReservationId reservationId) toString()Methods inherited from class org.apache.hadoop.yarn.api.protocolrecords.GetNewReservationResponse
newInstance
-
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() -
equals
-
toString
-
getReservationId
public org.apache.hadoop.yarn.api.records.ReservationId getReservationId()- Specified by:
getReservationIdin classorg.apache.hadoop.yarn.api.protocolrecords.GetNewReservationResponse
-
setReservationId
public void setReservationId(org.apache.hadoop.yarn.api.records.ReservationId reservationId) - Specified by:
setReservationIdin classorg.apache.hadoop.yarn.api.protocolrecords.GetNewReservationResponse
-