org.apache.hadoop.yarn.server.api.records.impl.pb
Class MasterKeyPBImpl
java.lang.Object
org.apache.hadoop.yarn.api.records.impl.pb.ProtoBase<YarnServerCommonProtos.MasterKeyProto>
org.apache.hadoop.yarn.server.api.records.impl.pb.MasterKeyPBImpl
- All Implemented Interfaces:
- MasterKey
public class MasterKeyPBImpl
- extends org.apache.hadoop.yarn.api.records.impl.pb.ProtoBase<YarnServerCommonProtos.MasterKeyProto>
- implements MasterKey
| Methods inherited from class org.apache.hadoop.yarn.api.records.impl.pb.ProtoBase |
convertFromProtoFormat, convertToProtoFormat, toString |
MasterKeyPBImpl
public MasterKeyPBImpl()
MasterKeyPBImpl
public MasterKeyPBImpl(YarnServerCommonProtos.MasterKeyProto proto)
getProto
public YarnServerCommonProtos.MasterKeyProto getProto()
- Specified by:
getProto in class org.apache.hadoop.yarn.api.records.impl.pb.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.impl.pb.ProtoBase<YarnServerCommonProtos.MasterKeyProto>
equals
public boolean equals(Object obj)
- Overrides:
equals in class org.apache.hadoop.yarn.api.records.impl.pb.ProtoBase<YarnServerCommonProtos.MasterKeyProto>
Copyright © 2014 Apache Software Foundation. All Rights Reserved.