@InterfaceAudience.Private @InterfaceStability.Unstable public class ContainerIdPBImpl extends ContainerId
| Constructor and Description |
|---|
ContainerIdPBImpl() |
ContainerIdPBImpl(YarnProtos.ContainerIdProto proto) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
build() |
ApplicationAttemptId |
getApplicationAttemptId()
Get the
ApplicationAttemptId of the application to which
the Container was assigned. |
int |
getId()
Get the identifier of the
ContainerId. |
YarnProtos.ContainerIdProto |
getProto() |
protected void |
setApplicationAttemptId(ApplicationAttemptId atId) |
protected void |
setId(int id) |
compareTo, equals, hashCode, newInstance, toStringpublic ContainerIdPBImpl()
public ContainerIdPBImpl(YarnProtos.ContainerIdProto proto)
public YarnProtos.ContainerIdProto getProto()
public int getId()
ContainerIdContainerId.getId in class ContainerIdContainerIdprotected void setId(int id)
setId in class ContainerIdpublic ApplicationAttemptId getApplicationAttemptId()
ContainerIdApplicationAttemptId of the application to which
the Container was assigned.getApplicationAttemptId in class ContainerIdApplicationAttemptId of the application to which
the Container was assignedprotected void setApplicationAttemptId(ApplicationAttemptId atId)
setApplicationAttemptId in class ContainerIdprotected void build()
build in class ContainerIdCopyright © 2013 Apache Software Foundation. All rights reserved.