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 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:
      getProto in class org.apache.hadoop.yarn.api.records.impl.pb.ProtoBase<org.apache.hadoop.yarn.proto.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<org.apache.hadoop.yarn.proto.YarnServerCommonProtos.MasterKeyProto>
    • equals

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