org.apache.hadoop.yarn.api.protocolrecords
Class ReservationSubmissionResponse

java.lang.Object
  extended by org.apache.hadoop.yarn.api.protocolrecords.ReservationSubmissionResponse

@InterfaceAudience.Public
@InterfaceStability.Unstable
public abstract class ReservationSubmissionResponse
extends Object

ReservationSubmissionResponse contains the answer of the admission control system in the ResourceManager to a reservation create operation. Response contains a ReservationId if the operation was successful, if not an exception reporting reason for a failure.

See Also:
ReservationDefinition

Constructor Summary
ReservationSubmissionResponse()
           
 
Method Summary
abstract  ReservationId getReservationId()
          Get the ReservationId, that corresponds to a valid resource allocation in the scheduler (between start and end time of this reservation)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReservationSubmissionResponse

public ReservationSubmissionResponse()
Method Detail

getReservationId

@InterfaceAudience.Public
@InterfaceStability.Unstable
public abstract ReservationId getReservationId()
Get the ReservationId, that corresponds to a valid resource allocation in the scheduler (between start and end time of this reservation)

Returns:
the ReservationId representing the unique id of the corresponding reserved resource allocation in the scheduler


Copyright © 2014 Apache Software Foundation. All Rights Reserved.