Class CredentialsProvider

    • Constructor Detail

      • CredentialsProvider

        public CredentialsProvider()
    • Method Detail

      • getCredentials

        public CompletableFuture<Credentials> getCredentials()
        Request credentials from the provider
        Returns:
        A Future for Credentials that will be completed when they are acquired.
      • releaseNativeHandle

        protected void releaseNativeHandle()
        Begins the release process of the provider's native handle
        Specified by:
        releaseNativeHandle in class CrtResource
      • canReleaseReferencesImmediately

        protected boolean canReleaseReferencesImmediately()
        Determines whether a resource releases its dependencies at the same time the native handle is released or if it waits. Resources that wait are responsible for calling releaseReferences() manually.
        Specified by:
        canReleaseReferencesImmediately in class CrtResource
        Returns:
        true if this resource releases synchronously, false if this resource performs async shutdown