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 SummaryConstructorsModifierConstructorDescriptionprotectedRefreshingAuthManager(String executorNamePrefix) Deprecated.
- 
Method SummaryModifier and TypeMethodDescriptionvoidclose()Deprecated.Closes the manager and releases any resources.voidkeepRefreshed(boolean keep) Deprecated.protected ScheduledExecutorServiceDeprecated.Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.iceberg.rest.auth.AuthManagercatalogSession, contextualSession, initSession, tableSession, tableSession
- 
Constructor Details- 
RefreshingAuthManagerDeprecated.
 
- 
- 
Method Details- 
keepRefreshedpublic void keepRefreshed(boolean keep) Deprecated.
- 
closepublic 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 interface- AuthManager
- Specified by:
- closein interface- AutoCloseable
 
- 
refreshExecutorDeprecated.
 
- 
ThreadPools.authRefreshPool().