public class RouterMasterKeyPBImpl extends RouterMasterKey
| Constructor and Description |
|---|
RouterMasterKeyPBImpl() |
RouterMasterKeyPBImpl(org.apache.hadoop.yarn.federation.proto.YarnServerFederationProtos.RouterMasterKeyProto masterKeyProto) |
| Modifier and Type | Method and Description |
|---|---|
protected ByteBuffer |
convertFromProtoFormat(org.apache.hadoop.thirdparty.protobuf.ByteString byteString) |
protected org.apache.hadoop.thirdparty.protobuf.ByteString |
convertToProtoFormat(ByteBuffer byteBuffer) |
boolean |
equals(Object other) |
Long |
getExpiryDate()
Get the ExpiryDate of the DelegationKey.
|
ByteBuffer |
getKeyBytes()
Get the keyBytes of the DelegationKey.
|
Integer |
getKeyId()
Get the keyId of the MasterKey.
|
org.apache.hadoop.yarn.federation.proto.YarnServerFederationProtos.RouterMasterKeyProto |
getProto() |
int |
hashCode() |
void |
setExpiryDate(Long expiryDate)
Set the expiryDate of the DelegationKey.
|
void |
setKeyBytes(ByteBuffer keyBytes)
Set the keyBytes of the DelegationKey.
|
void |
setKeyId(Integer keyId)
Set the keyId of the MasterKey.
|
String |
toString() |
newInstance, newInstancepublic RouterMasterKeyPBImpl()
public RouterMasterKeyPBImpl(org.apache.hadoop.yarn.federation.proto.YarnServerFederationProtos.RouterMasterKeyProto masterKeyProto)
public org.apache.hadoop.yarn.federation.proto.YarnServerFederationProtos.RouterMasterKeyProto getProto()
public int hashCode()
hashCode in class RouterMasterKeypublic boolean equals(Object other)
equals in class RouterMasterKeypublic String toString()
toString in class RouterMasterKeypublic Integer getKeyId()
RouterMasterKeygetKeyId in class RouterMasterKeypublic void setKeyId(Integer keyId)
RouterMasterKeysetKeyId in class RouterMasterKeykeyId - MasterKeyId.public ByteBuffer getKeyBytes()
RouterMasterKeygetKeyBytes in class RouterMasterKeypublic void setKeyBytes(ByteBuffer keyBytes)
RouterMasterKeysetKeyBytes in class RouterMasterKeykeyBytes - KeyBytes of the DelegationKey.public Long getExpiryDate()
RouterMasterKeygetExpiryDate in class RouterMasterKeypublic void setExpiryDate(Long expiryDate)
RouterMasterKeysetExpiryDate in class RouterMasterKeyexpiryDate - expiryDate of the DelegationKey.protected final ByteBuffer convertFromProtoFormat(org.apache.hadoop.thirdparty.protobuf.ByteString byteString)
protected final org.apache.hadoop.thirdparty.protobuf.ByteString convertToProtoFormat(ByteBuffer byteBuffer)
Copyright © 2008–2024 Apache Software Foundation. All rights reserved.