@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)
DelegationTokenManager
obtainDelegationTokens
in interface DelegationTokenManager
public void obtainDelegationTokens()
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–2024 The Apache Software Foundation. All rights reserved.