Class NoOpDelegationTokenManager
java.lang.Object
org.apache.flink.runtime.security.token.NoOpDelegationTokenManager
- All Implemented Interfaces:
DelegationTokenManager
DelegationTokenManager implementation which does nothing.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.flink.runtime.security.token.DelegationTokenManager
DelegationTokenManager.Listener -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidObtains new tokens in a one-time fashion and automatically distributes them to all local JVM receivers.voidobtainDelegationTokens(DelegationTokenContainer container) Obtains new tokens in a one-time fashion and leaves it up to the caller to distribute them.voidstart(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).voidstop()Stops re-occurring token obtain task.
-
Constructor Details
-
NoOpDelegationTokenManager
public NoOpDelegationTokenManager()
-
-
Method Details
-
obtainDelegationTokens
Description copied from interface:DelegationTokenManagerObtains new tokens in a one-time fashion and leaves it up to the caller to distribute them.- Specified by:
obtainDelegationTokensin interfaceDelegationTokenManager
-
obtainDelegationTokens
public void obtainDelegationTokens()Description copied from interface:DelegationTokenManagerObtains new tokens in a one-time fashion and automatically distributes them to all local JVM receivers.- Specified by:
obtainDelegationTokensin interfaceDelegationTokenManager
-
start
Description copied from interface:DelegationTokenManagerCreates 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). Task manager distribution must be implemented in the listener logic in order to keep the manager logic clean.- Specified by:
startin interfaceDelegationTokenManager
-
stop
public void stop()Description copied from interface:DelegationTokenManagerStops re-occurring token obtain task.- Specified by:
stopin interfaceDelegationTokenManager
-