public class ReservationListResponsePBImpl
extends org.apache.hadoop.yarn.api.protocolrecords.ReservationListResponse
ReservationListResponsePBImpl
is the implementation of the
ReservationListResponse
which captures the list of reservations
that the user has queried.Constructor and Description |
---|
ReservationListResponsePBImpl() |
ReservationListResponsePBImpl(org.apache.hadoop.yarn.proto.YarnServiceProtos.ReservationListResponseProto proto) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
org.apache.hadoop.yarn.proto.YarnServiceProtos.ReservationListResponseProto |
getProto() |
List<org.apache.hadoop.yarn.api.records.ReservationAllocationState> |
getReservationAllocationState() |
int |
hashCode() |
void |
setReservationAllocationState(List<org.apache.hadoop.yarn.api.records.ReservationAllocationState> newReservations) |
String |
toString() |
public ReservationListResponsePBImpl()
public ReservationListResponsePBImpl(org.apache.hadoop.yarn.proto.YarnServiceProtos.ReservationListResponseProto proto)
public org.apache.hadoop.yarn.proto.YarnServiceProtos.ReservationListResponseProto getProto()
public List<org.apache.hadoop.yarn.api.records.ReservationAllocationState> getReservationAllocationState()
getReservationAllocationState
in class org.apache.hadoop.yarn.api.protocolrecords.ReservationListResponse
public void setReservationAllocationState(List<org.apache.hadoop.yarn.api.records.ReservationAllocationState> newReservations)
setReservationAllocationState
in class org.apache.hadoop.yarn.api.protocolrecords.ReservationListResponse
Copyright © 2008–2022 Apache Software Foundation. All rights reserved.