@InterfaceAudience.Public @InterfaceStability.Unstable public abstract class RejectedSchedulingRequest extends Object
Constructor and Description |
---|
RejectedSchedulingRequest() |
Modifier and Type | Method and Description |
---|---|
abstract RejectionReason |
getReason()
Get Rejection Reason.
|
abstract SchedulingRequest |
getRequest()
Get the Rejected Scheduling Request.
|
static RejectedSchedulingRequest |
newInstance(RejectionReason reason,
SchedulingRequest request)
Create new RejectedSchedulingRequest.
|
abstract void |
setReason(RejectionReason reason)
Set Rejection Reason.
|
abstract void |
setRequest(SchedulingRequest request)
Set the SchedulingRequest.
|
public static RejectedSchedulingRequest newInstance(RejectionReason reason, SchedulingRequest request)
reason
- Rejection Reason.request
- Rejected Scheduling Request.public abstract RejectionReason getReason()
public abstract void setReason(RejectionReason reason)
reason
- Rejection Reason.public abstract SchedulingRequest getRequest()
public abstract void setRequest(SchedulingRequest request)
request
- SchedulingRequest.Copyright © 2019 Apache Software Foundation. All rights reserved.