Constructor and Description |
---|
DelegationTokenReceiverRepository(Configuration configuration,
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(Configuration configuration, @Nullable 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.Exception
public 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.Exception
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.