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 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:
      getReservationAllocationState in class org.apache.hadoop.yarn.api.protocolrecords.ReservationListResponse
    • setReservationAllocationState

      public void setReservationAllocationState(List<org.apache.hadoop.yarn.api.records.ReservationAllocationState> newReservations)
      Specified by:
      setReservationAllocationState in class org.apache.hadoop.yarn.api.protocolrecords.ReservationListResponse
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object