Class ComponentEvent
java.lang.Object
org.apache.hadoop.yarn.event.AbstractEvent<ComponentEventType>
org.apache.hadoop.yarn.service.component.ComponentEvent
- All Implemented Interfaces:
org.apache.hadoop.yarn.event.Event<ComponentEventType>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.hadoop.yarn.api.records.Containerorg.apache.hadoop.yarn.api.records.ContainerIdlonggetName()org.apache.hadoop.yarn.api.records.ContainerStatusgetType()setContainer(org.apache.hadoop.yarn.api.records.Container container) setContainerId(org.apache.hadoop.yarn.api.records.ContainerId containerId) setDesired(long desired) setInstance(ComponentInstance instance) setInstanceName(String instanceName) setStatus(org.apache.hadoop.yarn.api.records.ContainerStatus status) setTargetSpec(Component targetSpec) setUpgradeVersion(String upgradeVersion) Methods inherited from class org.apache.hadoop.yarn.event.AbstractEvent
getTimestamp, toString
-
Constructor Details
-
ComponentEvent
-
-
Method Details
-
getContainerId
public org.apache.hadoop.yarn.api.records.ContainerId getContainerId() -
setContainerId
-
getName
-
getType
- Specified by:
getTypein interfaceorg.apache.hadoop.yarn.event.Event<ComponentEventType>- Overrides:
getTypein classorg.apache.hadoop.yarn.event.AbstractEvent<ComponentEventType>
-
getDesired
public long getDesired() -
setDesired
-
getContainer
public org.apache.hadoop.yarn.api.records.Container getContainer() -
setContainer
-
getInstance
-
setInstance
-
getInstanceName
-
setInstanceName
-
getStatus
public org.apache.hadoop.yarn.api.records.ContainerStatus getStatus() -
setStatus
-
getTargetSpec
-
setTargetSpec
-
getUpgradeVersion
-
setUpgradeVersion
-