@InterfaceAudience.Public @InterfaceStability.Unstable public abstract class AMRMTokenSecretManagerState extends Object
AMRMTokenSecretManager| Constructor and Description |
|---|
AMRMTokenSecretManagerState() |
| Modifier and Type | Method and Description |
|---|---|
abstract org.apache.hadoop.yarn.server.api.records.MasterKey |
getCurrentMasterKey()
AMRMTokenSecretManager current Master key. |
abstract org.apache.hadoop.yarn.server.api.records.MasterKey |
getNextMasterKey()
AMRMTokenSecretManager next Master key. |
abstract org.apache.hadoop.yarn.proto.YarnServerResourceManagerRecoveryProtos.AMRMTokenSecretManagerStateProto |
getProto() |
static AMRMTokenSecretManagerState |
newInstance(AMRMTokenSecretManagerState state) |
static AMRMTokenSecretManagerState |
newInstance(org.apache.hadoop.yarn.server.api.records.MasterKey currentMasterKey,
org.apache.hadoop.yarn.server.api.records.MasterKey nextMasterKey) |
abstract void |
setCurrentMasterKey(org.apache.hadoop.yarn.server.api.records.MasterKey currentMasterKey) |
abstract void |
setNextMasterKey(org.apache.hadoop.yarn.server.api.records.MasterKey nextMasterKey) |
public static AMRMTokenSecretManagerState newInstance(org.apache.hadoop.yarn.server.api.records.MasterKey currentMasterKey, org.apache.hadoop.yarn.server.api.records.MasterKey nextMasterKey)
public static AMRMTokenSecretManagerState newInstance(AMRMTokenSecretManagerState state)
@InterfaceAudience.Public @InterfaceStability.Unstable public abstract org.apache.hadoop.yarn.server.api.records.MasterKey getCurrentMasterKey()
AMRMTokenSecretManager current Master key.@InterfaceAudience.Public @InterfaceStability.Unstable public abstract void setCurrentMasterKey(org.apache.hadoop.yarn.server.api.records.MasterKey currentMasterKey)
@InterfaceAudience.Public @InterfaceStability.Unstable public abstract org.apache.hadoop.yarn.server.api.records.MasterKey getNextMasterKey()
AMRMTokenSecretManager next Master key.@InterfaceAudience.Public @InterfaceStability.Unstable public abstract void setNextMasterKey(org.apache.hadoop.yarn.server.api.records.MasterKey nextMasterKey)
public abstract org.apache.hadoop.yarn.proto.YarnServerResourceManagerRecoveryProtos.AMRMTokenSecretManagerStateProto getProto()
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.