public class CredentialsProvider extends CrtResource
CrtResource.ResourceInstance
Constructor and Description |
---|
CredentialsProvider() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canReleaseReferencesImmediately()
Determines whether a resource releases its dependencies at the same time the native handle is released or if it waits.
|
CompletableFuture<Credentials> |
getCredentials()
Request credentials from the provider
|
CompletableFuture<Void> |
getShutdownCompleteFuture() |
protected void |
releaseNativeHandle()
Begins the release process of the provider's native handle
|
acquireNativeHandle, addRef, addReferenceTo, close, collectNativeResource, collectNativeResources, decRef, getNativeHandle, getResourceLogDescription, isNull, logNativeResources, releaseReferences, removeReferenceTo, setDescription, swapReferenceTo, waitForNoResources
public CompletableFuture<Credentials> getCredentials()
protected void releaseNativeHandle()
releaseNativeHandle
in class CrtResource
protected boolean canReleaseReferencesImmediately()
canReleaseReferencesImmediately
in class CrtResource
public CompletableFuture<Void> getShutdownCompleteFuture()
Copyright © 2021. All rights reserved.