Interface DelegationTokenManager.Listener

All Known Implementing Classes:
ActiveResourceManager, ResourceManager, StandaloneResourceManager
Enclosing interface:
DelegationTokenManager

@Internal public static interface DelegationTokenManager.Listener
Listener for events in the DelegationTokenManager.

By registering it in the manager one can receive callbacks when events are happening.

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onNewTokensObtained(byte[] tokens)
    Callback function when new delegation tokens obtained.
  • Method Details

    • onNewTokensObtained

      void onNewTokensObtained(byte[] tokens) throws Exception
      Callback function when new delegation tokens obtained.
      Throws:
      Exception