Class StsClientsPool
java.lang.Object
org.apache.polaris.service.storage.aws.StsClientsPool
- All Implemented Interfaces:
org.apache.polaris.core.storage.aws.StsClientProvider
public class StsClientsPool
extends Object
implements org.apache.polaris.core.storage.aws.StsClientProvider
Maintains a pool of STS clients.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.polaris.core.storage.aws.StsClientProvider
org.apache.polaris.core.storage.aws.StsClientProvider.StsDestination -
Constructor Summary
ConstructorsConstructorDescriptionStsClientsPool(int clientsCacheMaxSize, software.amazon.awssdk.http.SdkHttpClient sdkHttpClient, io.micrometer.core.instrument.MeterRegistry meterRegistry) -
Method Summary
Modifier and TypeMethodDescriptionsoftware.amazon.awssdk.services.sts.StsClientstsClient(org.apache.polaris.core.storage.aws.StsClientProvider.StsDestination destination)
-
Constructor Details
-
StsClientsPool
public StsClientsPool(int clientsCacheMaxSize, software.amazon.awssdk.http.SdkHttpClient sdkHttpClient, io.micrometer.core.instrument.MeterRegistry meterRegistry)
-
-
Method Details
-
stsClient
public software.amazon.awssdk.services.sts.StsClient stsClient(org.apache.polaris.core.storage.aws.StsClientProvider.StsDestination destination) - Specified by:
stsClientin interfaceorg.apache.polaris.core.storage.aws.StsClientProvider
-