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

java.lang.Object
  extended by org.apache.hadoop.yarn.api.records.StrictPreemptionContract
      extended by org.apache.hadoop.yarn.api.records.impl.pb.StrictPreemptionContractPBImpl

@InterfaceAudience.Private
@InterfaceStability.Unstable
public class StrictPreemptionContractPBImpl
extends org.apache.hadoop.yarn.api.records.StrictPreemptionContract


Constructor Summary
StrictPreemptionContractPBImpl()
           
StrictPreemptionContractPBImpl(org.apache.hadoop.yarn.proto.YarnProtos.StrictPreemptionContractProto proto)
           
 
Method Summary
 boolean equals(Object other)
           
 Set<org.apache.hadoop.yarn.api.records.PreemptionContainer> getContainers()
           
 org.apache.hadoop.yarn.proto.YarnProtos.StrictPreemptionContractProto getProto()
           
 int hashCode()
           
 void setContainers(Set<org.apache.hadoop.yarn.api.records.PreemptionContainer> containers)
           
 String toString()
           
 
Methods inherited from class org.apache.hadoop.yarn.api.records.StrictPreemptionContract
newInstance
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StrictPreemptionContractPBImpl

public StrictPreemptionContractPBImpl()

StrictPreemptionContractPBImpl

public StrictPreemptionContractPBImpl(org.apache.hadoop.yarn.proto.YarnProtos.StrictPreemptionContractProto proto)
Method Detail

getProto

public org.apache.hadoop.yarn.proto.YarnProtos.StrictPreemptionContractProto 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

getContainers

public Set<org.apache.hadoop.yarn.api.records.PreemptionContainer> getContainers()
Specified by:
getContainers in class org.apache.hadoop.yarn.api.records.StrictPreemptionContract

setContainers

public void setContainers(Set<org.apache.hadoop.yarn.api.records.PreemptionContainer> containers)
Specified by:
setContainers in class org.apache.hadoop.yarn.api.records.StrictPreemptionContract


Copyright © 2014 Apache Software Foundation. All Rights Reserved.