Class RefreshingAuthManager

java.lang.Object
org.apache.iceberg.rest.auth.RefreshingAuthManager
All Implemented Interfaces:
AutoCloseable, AuthManager
Direct Known Subclasses:
OAuth2Manager

@Deprecated public abstract class RefreshingAuthManager extends Object implements AuthManager
Deprecated.
since 1.10.0, will be removed in 1.11.0; use ThreadPools.authRefreshPool().
An AuthManager that provides machinery for refreshing authentication data asynchronously, using a background thread pool.
  • Constructor Details

    • RefreshingAuthManager

      protected RefreshingAuthManager(String executorNamePrefix)
      Deprecated.
  • Method Details

    • keepRefreshed

      public void keepRefreshed(boolean keep)
      Deprecated.
    • close

      public void close()
      Deprecated.
      Description copied from interface: AuthManager
      Closes the manager and releases any resources.

      This method is called when the owning catalog is closed.

      Specified by:
      close in interface AuthManager
      Specified by:
      close in interface AutoCloseable
    • refreshExecutor

      @Nullable protected ScheduledExecutorService refreshExecutor()
      Deprecated.