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