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

java.lang.Object
  extended by org.apache.hadoop.yarn.api.records.PreemptionContainer
      extended by org.apache.hadoop.yarn.api.records.impl.pb.PreemptionContainerPBImpl

@InterfaceAudience.Private
@InterfaceStability.Unstable
public class PreemptionContainerPBImpl
extends org.apache.hadoop.yarn.api.records.PreemptionContainer


Constructor Summary
PreemptionContainerPBImpl()
           
PreemptionContainerPBImpl(org.apache.hadoop.yarn.proto.YarnProtos.PreemptionContainerProto proto)
           
 
Method Summary
 boolean equals(Object other)
           
 org.apache.hadoop.yarn.api.records.ContainerId getId()
           
 org.apache.hadoop.yarn.proto.YarnProtos.PreemptionContainerProto getProto()
           
 int hashCode()
           
 void setId(org.apache.hadoop.yarn.api.records.ContainerId id)
           
 String toString()
           
 
Methods inherited from class org.apache.hadoop.yarn.api.records.PreemptionContainer
newInstance
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PreemptionContainerPBImpl

public PreemptionContainerPBImpl()

PreemptionContainerPBImpl

public PreemptionContainerPBImpl(org.apache.hadoop.yarn.proto.YarnProtos.PreemptionContainerProto proto)
Method Detail

getProto

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object other)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object

getId

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

setId

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


Copyright © 2014 Apache Software Foundation. All Rights Reserved.