@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()
Obtains new tokens in a one-time fashion and automatically distributes them to all local JVM
receivers.
|
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
all receivers (in local JVM as well as in registered task managers too).
|
void |
stop()
Stops re-occurring token obtain task.
|
public void obtainDelegationTokens(DelegationTokenContainer container)
DelegationTokenManagerobtainDelegationTokens in interface DelegationTokenManagerpublic void obtainDelegationTokens()
DelegationTokenManagerobtainDelegationTokens in interface DelegationTokenManagerpublic void start(DelegationTokenManager.Listener listener)
DelegationTokenManagerstart in interface DelegationTokenManagerpublic void stop()
DelegationTokenManagerstop in interface DelegationTokenManagerCopyright © 2014–2025 The Apache Software Foundation. All rights reserved.