Package org.apache.iceberg.rest.auth
Class RefreshingAuthManager
java.lang.Object
org.apache.iceberg.rest.auth.RefreshingAuthManager
- All Implemented Interfaces:
AutoCloseable,AuthManager
- Direct Known Subclasses:
OAuth2Manager
Deprecated.
An
AuthManager that provides machinery for refreshing authentication data asynchronously,
using a background thread pool.-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedRefreshingAuthManager(String executorNamePrefix) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Deprecated.Closes the manager and releases any resources.voidkeepRefreshed(boolean keep) Deprecated.protected ScheduledExecutorServiceDeprecated.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.iceberg.rest.auth.AuthManager
catalogSession, contextualSession, initSession, tableSession, tableSession
-
Constructor Details
-
RefreshingAuthManager
Deprecated.
-
-
Method Details
-
keepRefreshed
public void keepRefreshed(boolean keep) Deprecated. -
close
public void close()Deprecated.Description copied from interface:AuthManagerCloses the manager and releases any resources.This method is called when the owning catalog is closed.
- Specified by:
closein interfaceAuthManager- Specified by:
closein interfaceAutoCloseable
-
refreshExecutor
Deprecated.
-
ThreadPools.authRefreshPool().