@InterfaceAudience.Private
@InterfaceStability.Unstable
public interface FederationDelegationTokenStateStore
Modifier and Type | Method and Description |
---|---|
int |
getCurrentKeyId()
The Router Supports getCurrentKeyId.
|
int |
getDelegationTokenSeqNum()
The Router Supports getDelegationTokenSeqNum.
|
RouterMasterKeyResponse |
getMasterKeyByDelegationKey(RouterMasterKeyRequest request)
The Router Supports GetMasterKeyByDelegationKey.
|
RouterRMTokenResponse |
getTokenByRouterStoreToken(RouterRMTokenRequest request)
The Router Supports GetTokenByRouterStoreToken.
|
int |
incrementCurrentKeyId()
The Router Supports incrementCurrentKeyId.
|
int |
incrementDelegationTokenSeqNum()
The Router Supports incrementDelegationTokenSeqNum.
|
RouterMasterKeyResponse |
removeStoredMasterKey(RouterMasterKeyRequest request)
The Router Supports Remove MasterKey.
|
RouterRMTokenResponse |
removeStoredToken(RouterRMTokenRequest request)
The Router Supports Remove RMDelegationTokenIdentifier.
|
void |
setDelegationTokenSeqNum(int seqNum)
The Router Supports setDelegationTokenSeqNum.
|
RouterMasterKeyResponse |
storeNewMasterKey(RouterMasterKeyRequest request)
The Router Supports Store NewMasterKey.
|
RouterRMTokenResponse |
storeNewToken(RouterRMTokenRequest request)
The Router Supports Store RMDelegationTokenIdentifier.
|
RouterRMTokenResponse |
updateStoredToken(RouterRMTokenRequest request)
The Router Supports Update RMDelegationTokenIdentifier.
|
RouterMasterKeyResponse storeNewMasterKey(RouterMasterKeyRequest request) throws org.apache.hadoop.yarn.exceptions.YarnException, IOException
request
- The request contains RouterMasterKey, which is an abstraction for DelegationKeyorg.apache.hadoop.yarn.exceptions.YarnException
- if the call to the state store is unsuccessfulIOException
- An IO Error occurredRouterMasterKeyResponse removeStoredMasterKey(RouterMasterKeyRequest request) throws org.apache.hadoop.yarn.exceptions.YarnException, IOException
request
- The request contains RouterMasterKey, which is an abstraction for DelegationKeyorg.apache.hadoop.yarn.exceptions.YarnException
- if the call to the state store is unsuccessfulIOException
- An IO Error occurredRouterMasterKeyResponse getMasterKeyByDelegationKey(RouterMasterKeyRequest request) throws org.apache.hadoop.yarn.exceptions.YarnException, IOException
request
- The request contains RouterMasterKey, which is an abstraction for DelegationKeyorg.apache.hadoop.yarn.exceptions.YarnException
- if the call to the state store is unsuccessfulIOException
- An IO Error occurredRouterRMTokenResponse storeNewToken(RouterRMTokenRequest request) throws org.apache.hadoop.yarn.exceptions.YarnException, IOException
request
- The request contains RouterRMToken (RMDelegationTokenIdentifier and renewDate)org.apache.hadoop.yarn.exceptions.YarnException
- if the call to the state store is unsuccessfulIOException
- An IO Error occurredRouterRMTokenResponse updateStoredToken(RouterRMTokenRequest request) throws org.apache.hadoop.yarn.exceptions.YarnException, IOException
request
- The request contains RouterRMToken (RMDelegationTokenIdentifier and renewDate)org.apache.hadoop.yarn.exceptions.YarnException
- if the call to the state store is unsuccessfulIOException
- An IO Error occurredRouterRMTokenResponse removeStoredToken(RouterRMTokenRequest request) throws org.apache.hadoop.yarn.exceptions.YarnException, IOException
request
- The request contains RouterRMToken (RMDelegationTokenIdentifier and renewDate)org.apache.hadoop.yarn.exceptions.YarnException
- if the call to the state store is unsuccessfulIOException
- An IO Error occurredRouterRMTokenResponse getTokenByRouterStoreToken(RouterRMTokenRequest request) throws org.apache.hadoop.yarn.exceptions.YarnException, IOException
request
- The request contains RouterRMToken (RMDelegationTokenIdentifier and renewDate)org.apache.hadoop.yarn.exceptions.YarnException
- if the call to the state store is unsuccessfulIOException
- An IO Error occurredint incrementDelegationTokenSeqNum()
int getDelegationTokenSeqNum()
void setDelegationTokenSeqNum(int seqNum)
seqNum
- DelegationTokenSeqNum.int getCurrentKeyId()
int incrementCurrentKeyId()
Copyright © 2008–2024 Apache Software Foundation. All rights reserved.