|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.yarn.server.api.ContainerContext
@InterfaceAudience.Public @InterfaceStability.Evolving public class ContainerContext
Base context class for AuxiliaryService initializing and stopping a
container.
| Constructor Summary | |
|---|---|
ContainerContext(String user,
ContainerId containerId,
Resource resource)
|
|
| Method Summary | |
|---|---|
ContainerId |
getContainerId()
Get ContainerId of the container being initialized or stopped. |
Resource |
getResource()
Get Resource the resource capability allocated to the container
being initialized or stopped. |
String |
getUser()
Get user of the container being initialized or stopped. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
@InterfaceAudience.Private
@InterfaceStability.Unstable
public ContainerContext(String user,
ContainerId containerId,
Resource resource)
| Method Detail |
|---|
public String getUser()
public ContainerId getContainerId()
ContainerId of the container being initialized or stopped.
public Resource getResource()
Resource the resource capability allocated to the container
being initialized or stopped.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||