org.apache.hadoop.yarn.server.resourcemanager.recovery.records
Class AMRMTokenSecretManagerState
java.lang.Object
org.apache.hadoop.yarn.server.resourcemanager.recovery.records.AMRMTokenSecretManagerState
- Direct Known Subclasses:
- AMRMTokenSecretManagerStatePBImpl
@InterfaceAudience.Public
@InterfaceStability.Unstable
public abstract class AMRMTokenSecretManagerState
- extends Object
Contains all the state data that needs to be stored persistently
for AMRMTokenSecretManager
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AMRMTokenSecretManagerState
public AMRMTokenSecretManagerState()
newInstance
public static AMRMTokenSecretManagerState newInstance(org.apache.hadoop.yarn.server.api.records.MasterKey currentMasterKey,
org.apache.hadoop.yarn.server.api.records.MasterKey nextMasterKey)
newInstance
public static AMRMTokenSecretManagerState newInstance(AMRMTokenSecretManagerState state)
getCurrentMasterKey
@InterfaceAudience.Public
@InterfaceStability.Unstable
public abstract org.apache.hadoop.yarn.server.api.records.MasterKey getCurrentMasterKey()
AMRMTokenSecretManager current Master key
setCurrentMasterKey
@InterfaceAudience.Public
@InterfaceStability.Unstable
public abstract void setCurrentMasterKey(org.apache.hadoop.yarn.server.api.records.MasterKey currentMasterKey)
getNextMasterKey
@InterfaceAudience.Public
@InterfaceStability.Unstable
public abstract org.apache.hadoop.yarn.server.api.records.MasterKey getNextMasterKey()
AMRMTokenSecretManager next Master key
setNextMasterKey
@InterfaceAudience.Public
@InterfaceStability.Unstable
public abstract void setNextMasterKey(org.apache.hadoop.yarn.server.api.records.MasterKey nextMasterKey)
getProto
public abstract YarnServerResourceManagerRecoveryProtos.AMRMTokenSecretManagerStateProto getProto()
Copyright © 2014 Apache Software Foundation. All Rights Reserved.