org.apache.hadoop.yarn.server.api.records.impl.pb
Class MasterKeyPBImpl

java.lang.Object
  extended by org.apache.hadoop.yarn.api.records.ProtoBase<YarnServerCommonProtos.MasterKeyProto>
      extended by org.apache.hadoop.yarn.server.api.records.impl.pb.MasterKeyPBImpl
All Implemented Interfaces:
MasterKey

public class MasterKeyPBImpl
extends org.apache.hadoop.yarn.api.records.ProtoBase<YarnServerCommonProtos.MasterKeyProto>
implements MasterKey


Constructor Summary
MasterKeyPBImpl()
           
MasterKeyPBImpl(YarnServerCommonProtos.MasterKeyProto proto)
           
 
Method Summary
 boolean equals(Object obj)
           
 ByteBuffer getBytes()
           
 int getKeyId()
           
 YarnServerCommonProtos.MasterKeyProto getProto()
           
 int hashCode()
           
 void setBytes(ByteBuffer bytes)
           
 void setKeyId(int id)
           
 
Methods inherited from class org.apache.hadoop.yarn.api.records.ProtoBase
convertFromProtoFormat, convertToProtoFormat, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MasterKeyPBImpl

public MasterKeyPBImpl()

MasterKeyPBImpl

public MasterKeyPBImpl(YarnServerCommonProtos.MasterKeyProto proto)
Method Detail

getProto

public YarnServerCommonProtos.MasterKeyProto getProto()
Specified by:
getProto in class org.apache.hadoop.yarn.api.records.ProtoBase<YarnServerCommonProtos.MasterKeyProto>

getKeyId

public int getKeyId()
Specified by:
getKeyId in interface MasterKey

setKeyId

public void setKeyId(int id)
Specified by:
setKeyId in interface MasterKey

getBytes

public ByteBuffer getBytes()
Specified by:
getBytes in interface MasterKey

setBytes

public void setBytes(ByteBuffer bytes)
Specified by:
setBytes in interface MasterKey

hashCode

public int hashCode()
Overrides:
hashCode in class org.apache.hadoop.yarn.api.records.ProtoBase<YarnServerCommonProtos.MasterKeyProto>

equals

public boolean equals(Object obj)
Overrides:
equals in class org.apache.hadoop.yarn.api.records.ProtoBase<YarnServerCommonProtos.MasterKeyProto>


Copyright © 2013 Apache Software Foundation. All Rights Reserved.