public class ContainerPreemptEvent extends SchedulerEvent
| Constructor and Description |
|---|
ContainerPreemptEvent(org.apache.hadoop.yarn.api.records.ApplicationAttemptId aid,
RMContainer container,
SchedulerEventType type) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.hadoop.yarn.api.records.ApplicationAttemptId |
getAppId() |
RMContainer |
getContainer() |
String |
toString() |
public ContainerPreemptEvent(org.apache.hadoop.yarn.api.records.ApplicationAttemptId aid,
RMContainer container,
SchedulerEventType type)
public RMContainer getContainer()
public org.apache.hadoop.yarn.api.records.ApplicationAttemptId getAppId()
public String toString()
toString in interface org.apache.hadoop.yarn.event.Event<SchedulerEventType>toString in class org.apache.hadoop.yarn.event.AbstractEvent<SchedulerEventType>Copyright © 2008–2022 Apache Software Foundation. All rights reserved.