Class ContainerSchedulerEvent
java.lang.Object
org.apache.hadoop.yarn.event.AbstractEvent<ContainerSchedulerEventType>
org.apache.hadoop.yarn.server.nodemanager.containermanager.scheduler.ContainerSchedulerEvent
- All Implemented Interfaces:
org.apache.hadoop.yarn.event.Event<ContainerSchedulerEventType>
- Direct Known Subclasses:
UpdateContainerSchedulerEvent
public class ContainerSchedulerEvent
extends org.apache.hadoop.yarn.event.AbstractEvent<ContainerSchedulerEventType>
Events consumed by the
ContainerScheduler.-
Constructor Summary
ConstructorsConstructorDescriptionContainerSchedulerEvent(Container container, ContainerSchedulerEventType eventType) Create instance of Event. -
Method Summary
Modifier and TypeMethodDescriptionGet the container associated with the event.Methods inherited from class org.apache.hadoop.yarn.event.AbstractEvent
getTimestamp, getType, toString
-
Constructor Details
-
ContainerSchedulerEvent
Create instance of Event.- Parameters:
container- Container.eventType- EventType.
-
-
Method Details
-
getContainer
Get the container associated with the event.- Returns:
- Container.
-