public class JobIdPBImpl extends JobId
Constructor and Description |
---|
JobIdPBImpl() |
JobIdPBImpl(MRProtos.JobIdProto proto) |
Modifier and Type | Method and Description |
---|---|
ApplicationId |
getAppId()
Get the associated ApplicationId which represents the
start time of the
ResourceManager and is used to generate
the globally unique JobId . |
int |
getId()
Get the short integer identifier of the
JobId
which is unique for all applications started by a particular instance
of the ResourceManager . |
MRProtos.JobIdProto |
getProto() |
void |
setAppId(ApplicationId appId) |
void |
setId(int id) |
public JobIdPBImpl()
public JobIdPBImpl(MRProtos.JobIdProto proto)
public MRProtos.JobIdProto getProto()
public ApplicationId getAppId()
JobId
ResourceManager
and is used to generate
the globally unique JobId
.public void setAppId(ApplicationId appId)
public int getId()
JobId
JobId
which is unique for all applications started by a particular instance
of the ResourceManager
.Copyright © 2013 Apache Software Foundation. All rights reserved.