@Internal public class DelegationTokenReceiverRepository extends Object
| Constructor and Description |
|---|
DelegationTokenReceiverRepository(org.apache.flink.configuration.Configuration configuration,
org.apache.flink.core.plugin.PluginManager pluginManager) |
| Modifier and Type | Method and Description |
|---|---|
void |
onNewTokensObtained(byte[] containerBytes)
Callback function when new delegation tokens obtained.
|
void |
onNewTokensObtained(DelegationTokenContainer container)
Callback function when new delegation tokens obtained.
|
public DelegationTokenReceiverRepository(org.apache.flink.configuration.Configuration configuration,
@Nullable
org.apache.flink.core.plugin.PluginManager pluginManager)
public void onNewTokensObtained(byte[] containerBytes)
throws Exception
containerBytes - Serialized form of a DelegationTokenContainer. All the available tokens
will be forwarded to the appropriate DelegationTokenReceiver based on service
name.Exceptionpublic void onNewTokensObtained(DelegationTokenContainer container) throws Exception
container - Serialized form of delegation tokens stored in DelegationTokenContainer. All
the available tokens will be forwarded to the appropriate DelegationTokenReceiver
based on service name.ExceptionCopyright © 2014–2024 The Apache Software Foundation. All rights reserved.