@InterfaceAudience.Public @InterfaceStability.Stable public abstract class ContainerId extends Object implements Comparable<ContainerId>
ContainerId represents a globally unique identifier
for a Container in the cluster.
| Constructor and Description |
|---|
ContainerId() |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(ContainerId other) |
boolean |
equals(Object obj) |
abstract ApplicationAttemptId |
getApplicationAttemptId()
Get the
ApplicationAttemptId of the application to which
the Container was assigned. |
abstract int |
getId()
Get the identifier of the
ContainerId. |
int |
hashCode() |
String |
toString() |
public ContainerId()
@InterfaceAudience.Public @InterfaceStability.Stable public abstract ApplicationAttemptId getApplicationAttemptId()
ApplicationAttemptId of the application to which
the Container was assigned.ApplicationAttemptId of the application to which
the Container was assigned@InterfaceAudience.Public @InterfaceStability.Stable public abstract int getId()
ContainerId.ContainerIdpublic int compareTo(ContainerId other)
compareTo in interface Comparable<ContainerId>Copyright © 2014 Apache Software Foundation. All Rights Reserved.