Class MasterKeyPBImpl
java.lang.Object
org.apache.hadoop.yarn.api.records.impl.pb.ProtoBase<org.apache.hadoop.yarn.proto.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<org.apache.hadoop.yarn.proto.YarnServerCommonProtos.MasterKeyProto>
implements MasterKey
-
Constructor Summary
ConstructorsConstructorDescriptionMasterKeyPBImpl(org.apache.hadoop.yarn.proto.YarnServerCommonProtos.MasterKeyProto proto) -
Method Summary
Methods inherited from class org.apache.hadoop.yarn.api.records.impl.pb.ProtoBase
convertFromProtoFormat, convertToProtoFormat, toString
-
Constructor Details
-
MasterKeyPBImpl
public MasterKeyPBImpl() -
MasterKeyPBImpl
public MasterKeyPBImpl(org.apache.hadoop.yarn.proto.YarnServerCommonProtos.MasterKeyProto proto)
-
-
Method Details
-
getProto
public org.apache.hadoop.yarn.proto.YarnServerCommonProtos.MasterKeyProto getProto()- Specified by:
getProtoin classorg.apache.hadoop.yarn.api.records.impl.pb.ProtoBase<org.apache.hadoop.yarn.proto.YarnServerCommonProtos.MasterKeyProto>
-
getKeyId
public int getKeyId() -
setKeyId
public void setKeyId(int id) -
getBytes
-
setBytes
-
hashCode
public int hashCode()- Overrides:
hashCodein classorg.apache.hadoop.yarn.api.records.impl.pb.ProtoBase<org.apache.hadoop.yarn.proto.YarnServerCommonProtos.MasterKeyProto>
-
equals
- Overrides:
equalsin classorg.apache.hadoop.yarn.api.records.impl.pb.ProtoBase<org.apache.hadoop.yarn.proto.YarnServerCommonProtos.MasterKeyProto>
-