@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, toString
public ContainerIdPBImpl()
public ContainerIdPBImpl(YarnProtos.ContainerIdProto proto)
public YarnProtos.ContainerIdProto getProto()
public int getId()
ContainerId
ContainerId
.getId
in class ContainerId
ContainerId
protected void setId(int id)
setId
in class ContainerId
public ApplicationAttemptId getApplicationAttemptId()
ContainerId
ApplicationAttemptId
of the application to which
the Container
was assigned.getApplicationAttemptId
in class ContainerId
ApplicationAttemptId
of the application to which
the Container
was assignedprotected void setApplicationAttemptId(ApplicationAttemptId atId)
setApplicationAttemptId
in class ContainerId
protected void build()
build
in class ContainerId
Copyright © 2013 Apache Software Foundation. All rights reserved.