@Internal public class NoOpDelegationTokenManager extends Object implements DelegationTokenManager
DelegationTokenManager
implementation which does nothing.DelegationTokenManager.Listener
Constructor and Description |
---|
NoOpDelegationTokenManager() |
Modifier and Type | Method and Description |
---|---|
void |
obtainDelegationTokens(DelegationTokenContainer container)
Obtains new tokens in a one-time fashion and leaves it up to the caller to distribute them.
|
void |
start(DelegationTokenManager.Listener listener)
Creates a re-occurring task which obtains new tokens and automatically distributes them to
task managers.
|
void |
stop()
Stops re-occurring token obtain task.
|
public void obtainDelegationTokens(DelegationTokenContainer container)
DelegationTokenManager
obtainDelegationTokens
in interface DelegationTokenManager
public void start(DelegationTokenManager.Listener listener)
DelegationTokenManager
start
in interface DelegationTokenManager
public void stop()
DelegationTokenManager
stop
in interface DelegationTokenManager
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.