Class ReservationListResponsePBImpl
java.lang.Object
org.apache.hadoop.yarn.api.protocolrecords.ReservationListResponse
org.apache.hadoop.yarn.api.protocolrecords.impl.pb.ReservationListResponsePBImpl
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 Summary
ConstructorsConstructorDescriptionReservationListResponsePBImpl(org.apache.hadoop.yarn.proto.YarnServiceProtos.ReservationListResponseProto proto) -
Method Summary
Modifier and TypeMethodDescriptionbooleanorg.apache.hadoop.yarn.proto.YarnServiceProtos.ReservationListResponseProtogetProto()List<org.apache.hadoop.yarn.api.records.ReservationAllocationState>inthashCode()voidsetReservationAllocationState(List<org.apache.hadoop.yarn.api.records.ReservationAllocationState> newReservations) toString()Methods inherited from class org.apache.hadoop.yarn.api.protocolrecords.ReservationListResponse
newInstance
-
Constructor Details
-
ReservationListResponsePBImpl
public ReservationListResponsePBImpl() -
ReservationListResponsePBImpl
public ReservationListResponsePBImpl(org.apache.hadoop.yarn.proto.YarnServiceProtos.ReservationListResponseProto proto)
-
-
Method Details
-
getProto
public org.apache.hadoop.yarn.proto.YarnServiceProtos.ReservationListResponseProto getProto() -
getReservationAllocationState
public List<org.apache.hadoop.yarn.api.records.ReservationAllocationState> getReservationAllocationState()- Specified by:
getReservationAllocationStatein classorg.apache.hadoop.yarn.api.protocolrecords.ReservationListResponse
-
setReservationAllocationState
public void setReservationAllocationState(List<org.apache.hadoop.yarn.api.records.ReservationAllocationState> newReservations) - Specified by:
setReservationAllocationStatein classorg.apache.hadoop.yarn.api.protocolrecords.ReservationListResponse
-
toString
-
equals
-
hashCode
public int hashCode()
-