Class ContainerExpiredSchedulerEvent
java.lang.Object
org.apache.hadoop.yarn.event.AbstractEvent<SchedulerEventType>
org.apache.hadoop.yarn.server.resourcemanager.scheduler.event.SchedulerEvent
org.apache.hadoop.yarn.server.resourcemanager.scheduler.event.ContainerExpiredSchedulerEvent
- All Implemented Interfaces:
org.apache.hadoop.yarn.event.Event<SchedulerEventType>
The
SchedulerEvent which notifies that a ContainerId
has expired, sent by ContainerAllocationExpirer-
Constructor Summary
ConstructorsConstructorDescriptionContainerExpiredSchedulerEvent(org.apache.hadoop.yarn.api.records.ContainerId containerId) ContainerExpiredSchedulerEvent(org.apache.hadoop.yarn.api.records.ContainerId containerId, boolean increase) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.hadoop.yarn.api.records.ContainerIdbooleanMethods inherited from class org.apache.hadoop.yarn.event.AbstractEvent
getTimestamp, getType, toString
-
Constructor Details
-
ContainerExpiredSchedulerEvent
public ContainerExpiredSchedulerEvent(org.apache.hadoop.yarn.api.records.ContainerId containerId) -
ContainerExpiredSchedulerEvent
public ContainerExpiredSchedulerEvent(org.apache.hadoop.yarn.api.records.ContainerId containerId, boolean increase)
-
-
Method Details
-
getContainerId
public org.apache.hadoop.yarn.api.records.ContainerId getContainerId() -
isIncrease
public boolean isIncrease()
-