org.apache.hadoop.yarn.api.records.impl.pb
Class ContainerIdPBImpl

java.lang.Object
  extended by org.apache.hadoop.yarn.api.records.ContainerId
      extended by org.apache.hadoop.yarn.api.records.impl.pb.ContainerIdPBImpl
All Implemented Interfaces:
Comparable<org.apache.hadoop.yarn.api.records.ContainerId>

@InterfaceAudience.Private
@InterfaceStability.Unstable
public class ContainerIdPBImpl
extends org.apache.hadoop.yarn.api.records.ContainerId


Constructor Summary
ContainerIdPBImpl()
           
ContainerIdPBImpl(org.apache.hadoop.yarn.proto.YarnProtos.ContainerIdProto proto)
           
 
Method Summary
protected  void build()
           
 org.apache.hadoop.yarn.api.records.ApplicationAttemptId getApplicationAttemptId()
           
 int getId()
           
 org.apache.hadoop.yarn.proto.YarnProtos.ContainerIdProto getProto()
           
protected  void setApplicationAttemptId(org.apache.hadoop.yarn.api.records.ApplicationAttemptId atId)
           
protected  void setId(int id)
           
 
Methods inherited from class org.apache.hadoop.yarn.api.records.ContainerId
compareTo, equals, hashCode, newInstance, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ContainerIdPBImpl

public ContainerIdPBImpl()

ContainerIdPBImpl

public ContainerIdPBImpl(org.apache.hadoop.yarn.proto.YarnProtos.ContainerIdProto proto)
Method Detail

getProto

public org.apache.hadoop.yarn.proto.YarnProtos.ContainerIdProto getProto()

getId

public int getId()
Specified by:
getId in class org.apache.hadoop.yarn.api.records.ContainerId

setId

protected void setId(int id)
Specified by:
setId in class org.apache.hadoop.yarn.api.records.ContainerId

getApplicationAttemptId

public org.apache.hadoop.yarn.api.records.ApplicationAttemptId getApplicationAttemptId()
Specified by:
getApplicationAttemptId in class org.apache.hadoop.yarn.api.records.ContainerId

setApplicationAttemptId

protected void setApplicationAttemptId(org.apache.hadoop.yarn.api.records.ApplicationAttemptId atId)
Specified by:
setApplicationAttemptId in class org.apache.hadoop.yarn.api.records.ContainerId

build

protected void build()
Specified by:
build in class org.apache.hadoop.yarn.api.records.ContainerId


Copyright © 2014 Apache Software Foundation. All Rights Reserved.