|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.yarn.api.records.ApplicationId
@InterfaceAudience.Public @InterfaceStability.Stable public abstract class ApplicationId
ApplicationId represents the globally unique
identifier for an application.
The globally unique nature of the identifier is achieved by using the
cluster timestamp i.e. start-time of the
ResourceManager along with a monotonically increasing counter
for the application.
| Constructor Summary | |
|---|---|
ApplicationId()
|
|
| Method Summary | |
|---|---|
protected abstract void |
build()
|
int |
compareTo(ApplicationId other)
|
boolean |
equals(Object obj)
|
abstract long |
getClusterTimestamp()
Get the start time of the ResourceManager which is
used to generate globally unique ApplicationId. |
abstract int |
getId()
Get the short integer identifier of the ApplicationId
which is unique for all applications started by a particular instance
of the ResourceManager. |
int |
hashCode()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ApplicationId()
| Method Detail |
|---|
@InterfaceAudience.Public @InterfaceStability.Stable public abstract int getId()
ApplicationId
which is unique for all applications started by a particular instance
of the ResourceManager.
ApplicationId@InterfaceAudience.Public @InterfaceStability.Stable public abstract long getClusterTimestamp()
ResourceManager which is
used to generate globally unique ApplicationId.
ResourceManagerprotected abstract void build()
public int compareTo(ApplicationId other)
compareTo in interface Comparable<ApplicationId>public String toString()
toString in class Objectpublic int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||