All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.oracle.bmc.dataintegration.DataIntegrationAsyncClient Maven / Gradle / Ivy

There is a newer version: 3.44.2
Show newest version
/**
 * Copyright (c) 2016, 2021, Oracle and/or its affiliates.  All rights reserved.
 * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
 */
package com.oracle.bmc.dataintegration;

import com.oracle.bmc.dataintegration.internal.http.*;
import com.oracle.bmc.dataintegration.requests.*;
import com.oracle.bmc.dataintegration.responses.*;

/**
 * Async client implementation for DataIntegration service. 
* There are two ways to use async client: * 1. Use AsyncHandler: using AsyncHandler, if the response to the call is an {@link java.io.InputStream}, like * getObject Api in object storage service, developers need to process the stream in AsyncHandler, and not anywhere else, * because the stream will be closed right after the AsyncHandler is invoked.
* 2. Use Java Future: using Java Future, developers need to close the stream after they are done with the Java Future.
* Accessing the result should be done in a mutually exclusive manner, either through the Future or the AsyncHandler, * but not both. If the Future is used, the caller should pass in null as the AsyncHandler. If the AsyncHandler * is used, it is still safe to use the Future to determine whether or not the request was completed via * Future.isDone/isCancelled.
* Please refer to https://github.com/oracle/oci-java-sdk/blob/master/bmc-examples/src/main/java/ResteasyClientWithObjectStorageExample.java */ @javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20200430") @lombok.extern.slf4j.Slf4j public class DataIntegrationAsyncClient implements DataIntegrationAsync { /** * Service instance for DataIntegration. */ public static final com.oracle.bmc.Service SERVICE = com.oracle.bmc.Services.serviceBuilder() .serviceName("DATAINTEGRATION") .serviceEndpointPrefix("") .serviceEndpointTemplate( "https://dataintegration.{region}.oci.{secondLevelDomain}") .build(); @lombok.Getter(value = lombok.AccessLevel.PACKAGE) private final com.oracle.bmc.http.internal.RestClient client; private final com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider authenticationDetailsProvider; /** * Creates a new service instance using the given authentication provider. * @param authenticationDetailsProvider The authentication details provider, required. */ public DataIntegrationAsyncClient( com.oracle.bmc.auth.BasicAuthenticationDetailsProvider authenticationDetailsProvider) { this(authenticationDetailsProvider, null); } /** * Creates a new service instance using the given authentication provider and client configuration. * @param authenticationDetailsProvider The authentication details provider, required. * @param configuration The client configuration, optional. */ public DataIntegrationAsyncClient( com.oracle.bmc.auth.BasicAuthenticationDetailsProvider authenticationDetailsProvider, com.oracle.bmc.ClientConfiguration configuration) { this(authenticationDetailsProvider, configuration, null); } /** * Creates a new service instance using the given authentication provider and client configuration. Additionally, * a Consumer can be provided that will be invoked whenever a REST Client is created to allow for additional configuration/customization. * @param authenticationDetailsProvider The authentication details provider, required. * @param configuration The client configuration, optional. * @param clientConfigurator ClientConfigurator that will be invoked for additional configuration of a REST client, optional. */ public DataIntegrationAsyncClient( com.oracle.bmc.auth.BasicAuthenticationDetailsProvider authenticationDetailsProvider, com.oracle.bmc.ClientConfiguration configuration, com.oracle.bmc.http.ClientConfigurator clientConfigurator) { this( authenticationDetailsProvider, configuration, clientConfigurator, new com.oracle.bmc.http.signing.internal.DefaultRequestSignerFactory( com.oracle.bmc.http.signing.SigningStrategy.STANDARD)); } /** * Creates a new service instance using the given authentication provider and client configuration. Additionally, * a Consumer can be provided that will be invoked whenever a REST Client is created to allow for additional configuration/customization. *

* This is an advanced constructor for clients that want to take control over how requests are signed. * @param authenticationDetailsProvider The authentication details provider, required. * @param configuration The client configuration, optional. * @param clientConfigurator ClientConfigurator that will be invoked for additional configuration of a REST client, optional. * @param defaultRequestSignerFactory The request signer factory used to create the request signer for this service. */ public DataIntegrationAsyncClient( com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider authenticationDetailsProvider, com.oracle.bmc.ClientConfiguration configuration, com.oracle.bmc.http.ClientConfigurator clientConfigurator, com.oracle.bmc.http.signing.RequestSignerFactory defaultRequestSignerFactory) { this( authenticationDetailsProvider, configuration, clientConfigurator, defaultRequestSignerFactory, new java.util.ArrayList()); } /** * Creates a new service instance using the given authentication provider and client configuration. Additionally, * a Consumer can be provided that will be invoked whenever a REST Client is created to allow for additional configuration/customization. *

* This is an advanced constructor for clients that want to take control over how requests are signed. * @param authenticationDetailsProvider The authentication details provider, required. * @param configuration The client configuration, optional. * @param clientConfigurator ClientConfigurator that will be invoked for additional configuration of a REST client, optional. * @param defaultRequestSignerFactory The request signer factory used to create the request signer for this service. * @param additionalClientConfigurators Additional client configurators to be run after the primary configurator. */ public DataIntegrationAsyncClient( com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider authenticationDetailsProvider, com.oracle.bmc.ClientConfiguration configuration, com.oracle.bmc.http.ClientConfigurator clientConfigurator, com.oracle.bmc.http.signing.RequestSignerFactory defaultRequestSignerFactory, java.util.List additionalClientConfigurators) { this( authenticationDetailsProvider, configuration, clientConfigurator, defaultRequestSignerFactory, additionalClientConfigurators, null); } /** * Creates a new service instance using the given authentication provider and client configuration. Additionally, * a Consumer can be provided that will be invoked whenever a REST Client is created to allow for additional configuration/customization. *

* This is an advanced constructor for clients that want to take control over how requests are signed. * @param authenticationDetailsProvider The authentication details provider, required. * @param configuration The client configuration, optional. * @param clientConfigurator ClientConfigurator that will be invoked for additional configuration of a REST client, optional. * @param defaultRequestSignerFactory The request signer factory used to create the request signer for this service. * @param additionalClientConfigurators Additional client configurators to be run after the primary configurator. * @param endpoint Endpoint, or null to leave unset (note, may be overridden by {@code authenticationDetailsProvider}) */ public DataIntegrationAsyncClient( com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider authenticationDetailsProvider, com.oracle.bmc.ClientConfiguration configuration, com.oracle.bmc.http.ClientConfigurator clientConfigurator, com.oracle.bmc.http.signing.RequestSignerFactory defaultRequestSignerFactory, java.util.List additionalClientConfigurators, String endpoint) { this( authenticationDetailsProvider, configuration, clientConfigurator, defaultRequestSignerFactory, com.oracle.bmc.http.signing.internal.DefaultRequestSignerFactory .createDefaultRequestSignerFactories(), additionalClientConfigurators, endpoint); } /** * Creates a new service instance using the given authentication provider and client configuration. Additionally, * a Consumer can be provided that will be invoked whenever a REST Client is created to allow for additional configuration/customization. *

* This is an advanced constructor for clients that want to take control over how requests are signed. * @param authenticationDetailsProvider The authentication details provider, required. * @param configuration The client configuration, optional. * @param clientConfigurator ClientConfigurator that will be invoked for additional configuration of a REST client, optional. * @param defaultRequestSignerFactory The request signer factory used to create the request signer for this service. * @param signingStrategyRequestSignerFactories The request signer factories for each signing strategy used to create the request signer * @param additionalClientConfigurators Additional client configurators to be run after the primary configurator. * @param endpoint Endpoint, or null to leave unset (note, may be overridden by {@code authenticationDetailsProvider}) */ public DataIntegrationAsyncClient( com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider authenticationDetailsProvider, com.oracle.bmc.ClientConfiguration configuration, com.oracle.bmc.http.ClientConfigurator clientConfigurator, com.oracle.bmc.http.signing.RequestSignerFactory defaultRequestSignerFactory, java.util.Map< com.oracle.bmc.http.signing.SigningStrategy, com.oracle.bmc.http.signing.RequestSignerFactory> signingStrategyRequestSignerFactories, java.util.List additionalClientConfigurators, String endpoint) { this( authenticationDetailsProvider, configuration, clientConfigurator, defaultRequestSignerFactory, signingStrategyRequestSignerFactories, additionalClientConfigurators, endpoint, com.oracle.bmc.http.internal.RestClientFactoryBuilder.builder()); } /** * Creates a new service instance using the given authentication provider and client configuration. Additionally, * a Consumer can be provided that will be invoked whenever a REST Client is created to allow for additional configuration/customization. *

* This is an advanced constructor for clients that want to take control over how requests are signed. * @param authenticationDetailsProvider The authentication details provider, required. * @param configuration The client configuration, optional. * @param clientConfigurator ClientConfigurator that will be invoked for additional configuration of a REST client, optional. * @param defaultRequestSignerFactory The request signer factory used to create the request signer for this service. * @param signingStrategyRequestSignerFactories The request signer factories for each signing strategy used to create the request signer * @param additionalClientConfigurators Additional client configurators to be run after the primary configurator. * @param endpoint Endpoint, or null to leave unset (note, may be overridden by {@code authenticationDetailsProvider}) * @param restClientFactoryBuilder the builder for the {@link com.oracle.bmc.http.internal.RestClientFactory} */ public DataIntegrationAsyncClient( com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider authenticationDetailsProvider, com.oracle.bmc.ClientConfiguration configuration, com.oracle.bmc.http.ClientConfigurator clientConfigurator, com.oracle.bmc.http.signing.RequestSignerFactory defaultRequestSignerFactory, java.util.Map< com.oracle.bmc.http.signing.SigningStrategy, com.oracle.bmc.http.signing.RequestSignerFactory> signingStrategyRequestSignerFactories, java.util.List additionalClientConfigurators, String endpoint, com.oracle.bmc.http.internal.RestClientFactoryBuilder restClientFactoryBuilder) { this.authenticationDetailsProvider = authenticationDetailsProvider; java.util.List authenticationDetailsConfigurators = new java.util.ArrayList<>(); if (this.authenticationDetailsProvider instanceof com.oracle.bmc.auth.ProvidesClientConfigurators) { authenticationDetailsConfigurators.addAll( ((com.oracle.bmc.auth.ProvidesClientConfigurators) this.authenticationDetailsProvider) .getClientConfigurators()); } java.util.List allConfigurators = new java.util.ArrayList<>(additionalClientConfigurators); allConfigurators.addAll(authenticationDetailsConfigurators); com.oracle.bmc.http.internal.RestClientFactory restClientFactory = restClientFactoryBuilder .clientConfigurator(clientConfigurator) .additionalClientConfigurators(allConfigurators) .build(); com.oracle.bmc.http.signing.RequestSigner defaultRequestSigner = defaultRequestSignerFactory.createRequestSigner( SERVICE, this.authenticationDetailsProvider); java.util.Map< com.oracle.bmc.http.signing.SigningStrategy, com.oracle.bmc.http.signing.RequestSigner> requestSigners = new java.util.HashMap<>(); if (this.authenticationDetailsProvider instanceof com.oracle.bmc.auth.BasicAuthenticationDetailsProvider) { for (com.oracle.bmc.http.signing.SigningStrategy s : com.oracle.bmc.http.signing.SigningStrategy.values()) { requestSigners.put( s, signingStrategyRequestSignerFactories .get(s) .createRequestSigner(SERVICE, authenticationDetailsProvider)); } } this.client = restClientFactory.create(defaultRequestSigner, requestSigners, configuration); if (this.authenticationDetailsProvider instanceof com.oracle.bmc.auth.RegionProvider) { com.oracle.bmc.auth.RegionProvider provider = (com.oracle.bmc.auth.RegionProvider) this.authenticationDetailsProvider; if (provider.getRegion() != null) { this.setRegion(provider.getRegion()); if (endpoint != null) { LOG.info( "Authentication details provider configured for region '{}', but endpoint specifically set to '{}'. Using endpoint setting instead of region.", provider.getRegion(), endpoint); } } } if (endpoint != null) { setEndpoint(endpoint); } } /** * Create a builder for this client. * @return builder */ public static Builder builder() { return new Builder(SERVICE); } /** * Builder class for this client. The "authenticationDetailsProvider" is required and must be passed to the * {@link #build(AbstractAuthenticationDetailsProvider)} method. */ public static class Builder extends com.oracle.bmc.common.RegionalClientBuilder< Builder, DataIntegrationAsyncClient> { private Builder(com.oracle.bmc.Service service) { super(service); requestSignerFactory = new com.oracle.bmc.http.signing.internal.DefaultRequestSignerFactory( com.oracle.bmc.http.signing.SigningStrategy.STANDARD); } /** * Build the client. * @param authenticationDetailsProvider authentication details provider * @return the client */ public DataIntegrationAsyncClient build( @lombok.NonNull com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider authenticationDetailsProvider) { return new DataIntegrationAsyncClient( authenticationDetailsProvider, configuration, clientConfigurator, requestSignerFactory, signingStrategyRequestSignerFactories, additionalClientConfigurators, endpoint); } } @Override public void setEndpoint(String endpoint) { LOG.info("Setting endpoint to {}", endpoint); client.setEndpoint(endpoint); } @Override public String getEndpoint() { String endpoint = null; java.net.URI uri = client.getBaseTarget().getUri(); if (uri != null) { endpoint = uri.toString(); } return endpoint; } @Override public void setRegion(com.oracle.bmc.Region region) { com.google.common.base.Optional endpoint = region.getEndpoint(SERVICE); if (endpoint.isPresent()) { setEndpoint(endpoint.get()); } else { throw new IllegalArgumentException( "Endpoint for " + SERVICE + " is not known in region " + region); } } @Override public void setRegion(String regionId) { regionId = regionId.toLowerCase(java.util.Locale.ENGLISH); try { com.oracle.bmc.Region region = com.oracle.bmc.Region.fromRegionId(regionId); setRegion(region); } catch (IllegalArgumentException e) { LOG.info("Unknown regionId '{}', falling back to default endpoint format", regionId); String endpoint = com.oracle.bmc.Region.formatDefaultRegionEndpoint(SERVICE, regionId); setEndpoint(endpoint); } } @Override public void close() { client.close(); } @Override public java.util.concurrent.Future changeCompartment( ChangeCompartmentRequest request, final com.oracle.bmc.responses.AsyncHandler< ChangeCompartmentRequest, ChangeCompartmentResponse> handler) { LOG.trace("Called async changeCompartment"); final ChangeCompartmentRequest interceptedRequest = ChangeCompartmentConverter.interceptRequest(request); final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = ChangeCompartmentConverter.fromRequest(client, interceptedRequest); final com.google.common.base.Function transformer = ChangeCompartmentConverter.fromResponse(); com.oracle.bmc.http.internal.RetryTokenUtils.addRetryToken(ib); com.oracle.bmc.responses.AsyncHandler handlerToUse = handler; java.util.function.Function< com.oracle.bmc.responses.AsyncHandler< ChangeCompartmentRequest, ChangeCompartmentResponse>, java.util.concurrent.Future> futureSupplier = client.postFutureSupplier(interceptedRequest, ib, transformer); if (this.authenticationDetailsProvider instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) { return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper< ChangeCompartmentRequest, ChangeCompartmentResponse>( (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) this.authenticationDetailsProvider, handlerToUse, futureSupplier) { @Override protected void beforeRetryAction() {} }; } else { return futureSupplier.apply(handlerToUse); } } @Override public java.util.concurrent.Future createApplication( CreateApplicationRequest request, final com.oracle.bmc.responses.AsyncHandler< CreateApplicationRequest, CreateApplicationResponse> handler) { LOG.trace("Called async createApplication"); final CreateApplicationRequest interceptedRequest = CreateApplicationConverter.interceptRequest(request); final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = CreateApplicationConverter.fromRequest(client, interceptedRequest); final com.google.common.base.Function transformer = CreateApplicationConverter.fromResponse(); com.oracle.bmc.http.internal.RetryTokenUtils.addRetryToken(ib); com.oracle.bmc.responses.AsyncHandler handlerToUse = handler; java.util.function.Function< com.oracle.bmc.responses.AsyncHandler< CreateApplicationRequest, CreateApplicationResponse>, java.util.concurrent.Future> futureSupplier = client.postFutureSupplier(interceptedRequest, ib, transformer); if (this.authenticationDetailsProvider instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) { return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper< CreateApplicationRequest, CreateApplicationResponse>( (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) this.authenticationDetailsProvider, handlerToUse, futureSupplier) { @Override protected void beforeRetryAction() {} }; } else { return futureSupplier.apply(handlerToUse); } } @Override public java.util.concurrent.Future createConnection( CreateConnectionRequest request, final com.oracle.bmc.responses.AsyncHandler< CreateConnectionRequest, CreateConnectionResponse> handler) { LOG.trace("Called async createConnection"); final CreateConnectionRequest interceptedRequest = CreateConnectionConverter.interceptRequest(request); final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = CreateConnectionConverter.fromRequest(client, interceptedRequest); final com.google.common.base.Function transformer = CreateConnectionConverter.fromResponse(); com.oracle.bmc.http.internal.RetryTokenUtils.addRetryToken(ib); com.oracle.bmc.responses.AsyncHandler handlerToUse = handler; java.util.function.Function< com.oracle.bmc.responses.AsyncHandler< CreateConnectionRequest, CreateConnectionResponse>, java.util.concurrent.Future> futureSupplier = client.postFutureSupplier(interceptedRequest, ib, transformer); if (this.authenticationDetailsProvider instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) { return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper< CreateConnectionRequest, CreateConnectionResponse>( (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) this.authenticationDetailsProvider, handlerToUse, futureSupplier) { @Override protected void beforeRetryAction() {} }; } else { return futureSupplier.apply(handlerToUse); } } @Override public java.util.concurrent.Future createConnectionValidation( CreateConnectionValidationRequest request, final com.oracle.bmc.responses.AsyncHandler< CreateConnectionValidationRequest, CreateConnectionValidationResponse> handler) { LOG.trace("Called async createConnectionValidation"); final CreateConnectionValidationRequest interceptedRequest = CreateConnectionValidationConverter.interceptRequest(request); final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = CreateConnectionValidationConverter.fromRequest(client, interceptedRequest); final com.google.common.base.Function< javax.ws.rs.core.Response, CreateConnectionValidationResponse> transformer = CreateConnectionValidationConverter.fromResponse(); com.oracle.bmc.http.internal.RetryTokenUtils.addRetryToken(ib); com.oracle.bmc.responses.AsyncHandler< CreateConnectionValidationRequest, CreateConnectionValidationResponse> handlerToUse = handler; java.util.function.Function< com.oracle.bmc.responses.AsyncHandler< CreateConnectionValidationRequest, CreateConnectionValidationResponse>, java.util.concurrent.Future> futureSupplier = client.postFutureSupplier(interceptedRequest, ib, transformer); if (this.authenticationDetailsProvider instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) { return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper< CreateConnectionValidationRequest, CreateConnectionValidationResponse>( (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) this.authenticationDetailsProvider, handlerToUse, futureSupplier) { @Override protected void beforeRetryAction() {} }; } else { return futureSupplier.apply(handlerToUse); } } @Override public java.util.concurrent.Future createDataAsset( CreateDataAssetRequest request, final com.oracle.bmc.responses.AsyncHandler< CreateDataAssetRequest, CreateDataAssetResponse> handler) { LOG.trace("Called async createDataAsset"); final CreateDataAssetRequest interceptedRequest = CreateDataAssetConverter.interceptRequest(request); final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = CreateDataAssetConverter.fromRequest(client, interceptedRequest); final com.google.common.base.Function transformer = CreateDataAssetConverter.fromResponse(); com.oracle.bmc.http.internal.RetryTokenUtils.addRetryToken(ib); com.oracle.bmc.responses.AsyncHandler handlerToUse = handler; java.util.function.Function< com.oracle.bmc.responses.AsyncHandler< CreateDataAssetRequest, CreateDataAssetResponse>, java.util.concurrent.Future> futureSupplier = client.postFutureSupplier(interceptedRequest, ib, transformer); if (this.authenticationDetailsProvider instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) { return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper< CreateDataAssetRequest, CreateDataAssetResponse>( (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) this.authenticationDetailsProvider, handlerToUse, futureSupplier) { @Override protected void beforeRetryAction() {} }; } else { return futureSupplier.apply(handlerToUse); } } @Override public java.util.concurrent.Future createDataFlow( CreateDataFlowRequest request, final com.oracle.bmc.responses.AsyncHandler< CreateDataFlowRequest, CreateDataFlowResponse> handler) { LOG.trace("Called async createDataFlow"); final CreateDataFlowRequest interceptedRequest = CreateDataFlowConverter.interceptRequest(request); final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = CreateDataFlowConverter.fromRequest(client, interceptedRequest); final com.google.common.base.Function transformer = CreateDataFlowConverter.fromResponse(); com.oracle.bmc.http.internal.RetryTokenUtils.addRetryToken(ib); com.oracle.bmc.responses.AsyncHandler handlerToUse = handler; java.util.function.Function< com.oracle.bmc.responses.AsyncHandler< CreateDataFlowRequest, CreateDataFlowResponse>, java.util.concurrent.Future> futureSupplier = client.postFutureSupplier(interceptedRequest, ib, transformer); if (this.authenticationDetailsProvider instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) { return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper< CreateDataFlowRequest, CreateDataFlowResponse>( (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) this.authenticationDetailsProvider, handlerToUse, futureSupplier) { @Override protected void beforeRetryAction() {} }; } else { return futureSupplier.apply(handlerToUse); } } @Override public java.util.concurrent.Future createDataFlowValidation( CreateDataFlowValidationRequest request, final com.oracle.bmc.responses.AsyncHandler< CreateDataFlowValidationRequest, CreateDataFlowValidationResponse> handler) { LOG.trace("Called async createDataFlowValidation"); final CreateDataFlowValidationRequest interceptedRequest = CreateDataFlowValidationConverter.interceptRequest(request); final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = CreateDataFlowValidationConverter.fromRequest(client, interceptedRequest); final com.google.common.base.Function< javax.ws.rs.core.Response, CreateDataFlowValidationResponse> transformer = CreateDataFlowValidationConverter.fromResponse(); com.oracle.bmc.http.internal.RetryTokenUtils.addRetryToken(ib); com.oracle.bmc.responses.AsyncHandler< CreateDataFlowValidationRequest, CreateDataFlowValidationResponse> handlerToUse = handler; java.util.function.Function< com.oracle.bmc.responses.AsyncHandler< CreateDataFlowValidationRequest, CreateDataFlowValidationResponse>, java.util.concurrent.Future> futureSupplier = client.postFutureSupplier(interceptedRequest, ib, transformer); if (this.authenticationDetailsProvider instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) { return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper< CreateDataFlowValidationRequest, CreateDataFlowValidationResponse>( (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) this.authenticationDetailsProvider, handlerToUse, futureSupplier) { @Override protected void beforeRetryAction() {} }; } else { return futureSupplier.apply(handlerToUse); } } @Override public java.util.concurrent.Future createEntityShape( CreateEntityShapeRequest request, final com.oracle.bmc.responses.AsyncHandler< CreateEntityShapeRequest, CreateEntityShapeResponse> handler) { LOG.trace("Called async createEntityShape"); final CreateEntityShapeRequest interceptedRequest = CreateEntityShapeConverter.interceptRequest(request); final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = CreateEntityShapeConverter.fromRequest(client, interceptedRequest); final com.google.common.base.Function transformer = CreateEntityShapeConverter.fromResponse(); com.oracle.bmc.http.internal.RetryTokenUtils.addRetryToken(ib); com.oracle.bmc.responses.AsyncHandler handlerToUse = handler; java.util.function.Function< com.oracle.bmc.responses.AsyncHandler< CreateEntityShapeRequest, CreateEntityShapeResponse>, java.util.concurrent.Future> futureSupplier = client.postFutureSupplier(interceptedRequest, ib, transformer); if (this.authenticationDetailsProvider instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) { return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper< CreateEntityShapeRequest, CreateEntityShapeResponse>( (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) this.authenticationDetailsProvider, handlerToUse, futureSupplier) { @Override protected void beforeRetryAction() {} }; } else { return futureSupplier.apply(handlerToUse); } } @Override public java.util.concurrent.Future createExternalPublication( CreateExternalPublicationRequest request, final com.oracle.bmc.responses.AsyncHandler< CreateExternalPublicationRequest, CreateExternalPublicationResponse> handler) { LOG.trace("Called async createExternalPublication"); final CreateExternalPublicationRequest interceptedRequest = CreateExternalPublicationConverter.interceptRequest(request); final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = CreateExternalPublicationConverter.fromRequest(client, interceptedRequest); final com.google.common.base.Function< javax.ws.rs.core.Response, CreateExternalPublicationResponse> transformer = CreateExternalPublicationConverter.fromResponse(); com.oracle.bmc.http.internal.RetryTokenUtils.addRetryToken(ib); com.oracle.bmc.responses.AsyncHandler< CreateExternalPublicationRequest, CreateExternalPublicationResponse> handlerToUse = handler; java.util.function.Function< com.oracle.bmc.responses.AsyncHandler< CreateExternalPublicationRequest, CreateExternalPublicationResponse>, java.util.concurrent.Future> futureSupplier = client.postFutureSupplier(interceptedRequest, ib, transformer); if (this.authenticationDetailsProvider instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) { return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper< CreateExternalPublicationRequest, CreateExternalPublicationResponse>( (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) this.authenticationDetailsProvider, handlerToUse, futureSupplier) { @Override protected void beforeRetryAction() {} }; } else { return futureSupplier.apply(handlerToUse); } } @Override public java.util.concurrent.Future createExternalPublicationValidation( CreateExternalPublicationValidationRequest request, final com.oracle.bmc.responses.AsyncHandler< CreateExternalPublicationValidationRequest, CreateExternalPublicationValidationResponse> handler) { LOG.trace("Called async createExternalPublicationValidation"); final CreateExternalPublicationValidationRequest interceptedRequest = CreateExternalPublicationValidationConverter.interceptRequest(request); final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = CreateExternalPublicationValidationConverter.fromRequest( client, interceptedRequest); final com.google.common.base.Function< javax.ws.rs.core.Response, CreateExternalPublicationValidationResponse> transformer = CreateExternalPublicationValidationConverter.fromResponse(); com.oracle.bmc.http.internal.RetryTokenUtils.addRetryToken(ib); com.oracle.bmc.responses.AsyncHandler< CreateExternalPublicationValidationRequest, CreateExternalPublicationValidationResponse> handlerToUse = handler; java.util.function.Function< com.oracle.bmc.responses.AsyncHandler< CreateExternalPublicationValidationRequest, CreateExternalPublicationValidationResponse>, java.util.concurrent.Future> futureSupplier = client.postFutureSupplier(interceptedRequest, ib, transformer); if (this.authenticationDetailsProvider instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) { return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper< CreateExternalPublicationValidationRequest, CreateExternalPublicationValidationResponse>( (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) this.authenticationDetailsProvider, handlerToUse, futureSupplier) { @Override protected void beforeRetryAction() {} }; } else { return futureSupplier.apply(handlerToUse); } } @Override public java.util.concurrent.Future createFolder( CreateFolderRequest request, final com.oracle.bmc.responses.AsyncHandler handler) { LOG.trace("Called async createFolder"); final CreateFolderRequest interceptedRequest = CreateFolderConverter.interceptRequest(request); final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = CreateFolderConverter.fromRequest(client, interceptedRequest); final com.google.common.base.Function transformer = CreateFolderConverter.fromResponse(); com.oracle.bmc.http.internal.RetryTokenUtils.addRetryToken(ib); com.oracle.bmc.responses.AsyncHandler handlerToUse = handler; java.util.function.Function< com.oracle.bmc.responses.AsyncHandler< CreateFolderRequest, CreateFolderResponse>, java.util.concurrent.Future> futureSupplier = client.postFutureSupplier(interceptedRequest, ib, transformer); if (this.authenticationDetailsProvider instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) { return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper< CreateFolderRequest, CreateFolderResponse>( (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) this.authenticationDetailsProvider, handlerToUse, futureSupplier) { @Override protected void beforeRetryAction() {} }; } else { return futureSupplier.apply(handlerToUse); } } @Override public java.util.concurrent.Future createPatch( CreatePatchRequest request, final com.oracle.bmc.responses.AsyncHandler handler) { LOG.trace("Called async createPatch"); final CreatePatchRequest interceptedRequest = CreatePatchConverter.interceptRequest(request); final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = CreatePatchConverter.fromRequest(client, interceptedRequest); final com.google.common.base.Function transformer = CreatePatchConverter.fromResponse(); com.oracle.bmc.http.internal.RetryTokenUtils.addRetryToken(ib); com.oracle.bmc.responses.AsyncHandler handlerToUse = handler; java.util.function.Function< com.oracle.bmc.responses.AsyncHandler< CreatePatchRequest, CreatePatchResponse>, java.util.concurrent.Future> futureSupplier = client.postFutureSupplier(interceptedRequest, ib, transformer); if (this.authenticationDetailsProvider instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) { return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper< CreatePatchRequest, CreatePatchResponse>( (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) this.authenticationDetailsProvider, handlerToUse, futureSupplier) { @Override protected void beforeRetryAction() {} }; } else { return futureSupplier.apply(handlerToUse); } } @Override public java.util.concurrent.Future createPipeline( CreatePipelineRequest request, final com.oracle.bmc.responses.AsyncHandler< CreatePipelineRequest, CreatePipelineResponse> handler) { LOG.trace("Called async createPipeline"); final CreatePipelineRequest interceptedRequest = CreatePipelineConverter.interceptRequest(request); final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = CreatePipelineConverter.fromRequest(client, interceptedRequest); final com.google.common.base.Function transformer = CreatePipelineConverter.fromResponse(); com.oracle.bmc.http.internal.RetryTokenUtils.addRetryToken(ib); com.oracle.bmc.responses.AsyncHandler handlerToUse = handler; java.util.function.Function< com.oracle.bmc.responses.AsyncHandler< CreatePipelineRequest, CreatePipelineResponse>, java.util.concurrent.Future> futureSupplier = client.postFutureSupplier(interceptedRequest, ib, transformer); if (this.authenticationDetailsProvider instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) { return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper< CreatePipelineRequest, CreatePipelineResponse>( (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) this.authenticationDetailsProvider, handlerToUse, futureSupplier) { @Override protected void beforeRetryAction() {} }; } else { return futureSupplier.apply(handlerToUse); } } @Override public java.util.concurrent.Future createPipelineValidation( CreatePipelineValidationRequest request, final com.oracle.bmc.responses.AsyncHandler< CreatePipelineValidationRequest, CreatePipelineValidationResponse> handler) { LOG.trace("Called async createPipelineValidation"); final CreatePipelineValidationRequest interceptedRequest = CreatePipelineValidationConverter.interceptRequest(request); final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = CreatePipelineValidationConverter.fromRequest(client, interceptedRequest); final com.google.common.base.Function< javax.ws.rs.core.Response, CreatePipelineValidationResponse> transformer = CreatePipelineValidationConverter.fromResponse(); com.oracle.bmc.http.internal.RetryTokenUtils.addRetryToken(ib); com.oracle.bmc.responses.AsyncHandler< CreatePipelineValidationRequest, CreatePipelineValidationResponse> handlerToUse = handler; java.util.function.Function< com.oracle.bmc.responses.AsyncHandler< CreatePipelineValidationRequest, CreatePipelineValidationResponse>, java.util.concurrent.Future> futureSupplier = client.postFutureSupplier(interceptedRequest, ib, transformer); if (this.authenticationDetailsProvider instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) { return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper< CreatePipelineValidationRequest, CreatePipelineValidationResponse>( (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) this.authenticationDetailsProvider, handlerToUse, futureSupplier) { @Override protected void beforeRetryAction() {} }; } else { return futureSupplier.apply(handlerToUse); } } @Override public java.util.concurrent.Future createProject( CreateProjectRequest request, final com.oracle.bmc.responses.AsyncHandler handler) { LOG.trace("Called async createProject"); final CreateProjectRequest interceptedRequest = CreateProjectConverter.interceptRequest(request); final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = CreateProjectConverter.fromRequest(client, interceptedRequest); final com.google.common.base.Function transformer = CreateProjectConverter.fromResponse(); com.oracle.bmc.http.internal.RetryTokenUtils.addRetryToken(ib); com.oracle.bmc.responses.AsyncHandler handlerToUse = handler; java.util.function.Function< com.oracle.bmc.responses.AsyncHandler< CreateProjectRequest, CreateProjectResponse>, java.util.concurrent.Future> futureSupplier = client.postFutureSupplier(interceptedRequest, ib, transformer); if (this.authenticationDetailsProvider instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) { return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper< CreateProjectRequest, CreateProjectResponse>( (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) this.authenticationDetailsProvider, handlerToUse, futureSupplier) { @Override protected void beforeRetryAction() {} }; } else { return futureSupplier.apply(handlerToUse); } } @Override public java.util.concurrent.Future createTask( CreateTaskRequest request, final com.oracle.bmc.responses.AsyncHandler handler) { LOG.trace("Called async createTask"); final CreateTaskRequest interceptedRequest = CreateTaskConverter.interceptRequest(request); final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = CreateTaskConverter.fromRequest(client, interceptedRequest); final com.google.common.base.Function transformer = CreateTaskConverter.fromResponse(); com.oracle.bmc.http.internal.RetryTokenUtils.addRetryToken(ib); com.oracle.bmc.responses.AsyncHandler handlerToUse = handler; java.util.function.Function< com.oracle.bmc.responses.AsyncHandler< CreateTaskRequest, CreateTaskResponse>, java.util.concurrent.Future> futureSupplier = client.postFutureSupplier(interceptedRequest, ib, transformer); if (this.authenticationDetailsProvider instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) { return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper< CreateTaskRequest, CreateTaskResponse>( (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) this.authenticationDetailsProvider, handlerToUse, futureSupplier) { @Override protected void beforeRetryAction() {} }; } else { return futureSupplier.apply(handlerToUse); } } @Override public java.util.concurrent.Future createTaskRun( CreateTaskRunRequest request, final com.oracle.bmc.responses.AsyncHandler handler) { LOG.trace("Called async createTaskRun"); final CreateTaskRunRequest interceptedRequest = CreateTaskRunConverter.interceptRequest(request); final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = CreateTaskRunConverter.fromRequest(client, interceptedRequest); final com.google.common.base.Function transformer = CreateTaskRunConverter.fromResponse(); com.oracle.bmc.http.internal.RetryTokenUtils.addRetryToken(ib); com.oracle.bmc.responses.AsyncHandler handlerToUse = handler; java.util.function.Function< com.oracle.bmc.responses.AsyncHandler< CreateTaskRunRequest, CreateTaskRunResponse>, java.util.concurrent.Future> futureSupplier = client.postFutureSupplier(interceptedRequest, ib, transformer); if (this.authenticationDetailsProvider instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) { return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper< CreateTaskRunRequest, CreateTaskRunResponse>( (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) this.authenticationDetailsProvider, handlerToUse, futureSupplier) { @Override protected void beforeRetryAction() {} }; } else { return futureSupplier.apply(handlerToUse); } } @Override public java.util.concurrent.Future createTaskValidation( CreateTaskValidationRequest request, final com.oracle.bmc.responses.AsyncHandler< CreateTaskValidationRequest, CreateTaskValidationResponse> handler) { LOG.trace("Called async createTaskValidation"); final CreateTaskValidationRequest interceptedRequest = CreateTaskValidationConverter.interceptRequest(request); final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = CreateTaskValidationConverter.fromRequest(client, interceptedRequest); final com.google.common.base.Function< javax.ws.rs.core.Response, CreateTaskValidationResponse> transformer = CreateTaskValidationConverter.fromResponse(); com.oracle.bmc.http.internal.RetryTokenUtils.addRetryToken(ib); com.oracle.bmc.responses.AsyncHandler< CreateTaskValidationRequest, CreateTaskValidationResponse> handlerToUse = handler; java.util.function.Function< com.oracle.bmc.responses.AsyncHandler< CreateTaskValidationRequest, CreateTaskValidationResponse>, java.util.concurrent.Future> futureSupplier = client.postFutureSupplier(interceptedRequest, ib, transformer); if (this.authenticationDetailsProvider instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) { return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper< CreateTaskValidationRequest, CreateTaskValidationResponse>( (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) this.authenticationDetailsProvider, handlerToUse, futureSupplier) { @Override protected void beforeRetryAction() {} }; } else { return futureSupplier.apply(handlerToUse); } } @Override public java.util.concurrent.Future createWorkspace( CreateWorkspaceRequest request, final com.oracle.bmc.responses.AsyncHandler< CreateWorkspaceRequest, CreateWorkspaceResponse> handler) { LOG.trace("Called async createWorkspace"); final CreateWorkspaceRequest interceptedRequest = CreateWorkspaceConverter.interceptRequest(request); final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = CreateWorkspaceConverter.fromRequest(client, interceptedRequest); final com.google.common.base.Function transformer = CreateWorkspaceConverter.fromResponse(); com.oracle.bmc.http.internal.RetryTokenUtils.addRetryToken(ib); com.oracle.bmc.responses.AsyncHandler handlerToUse = handler; java.util.function.Function< com.oracle.bmc.responses.AsyncHandler< CreateWorkspaceRequest, CreateWorkspaceResponse>, java.util.concurrent.Future> futureSupplier = client.postFutureSupplier(interceptedRequest, ib, transformer); if (this.authenticationDetailsProvider instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) { return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper< CreateWorkspaceRequest, CreateWorkspaceResponse>( (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) this.authenticationDetailsProvider, handlerToUse, futureSupplier) { @Override protected void beforeRetryAction() {} }; } else { return futureSupplier.apply(handlerToUse); } } @Override public java.util.concurrent.Future deleteApplication( DeleteApplicationRequest request, final com.oracle.bmc.responses.AsyncHandler< DeleteApplicationRequest, DeleteApplicationResponse> handler) { LOG.trace("Called async deleteApplication"); final DeleteApplicationRequest interceptedRequest = DeleteApplicationConverter.interceptRequest(request); final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = DeleteApplicationConverter.fromRequest(client, interceptedRequest); final com.google.common.base.Function transformer = DeleteApplicationConverter.fromResponse(); com.oracle.bmc.responses.AsyncHandler handlerToUse = handler; java.util.function.Function< com.oracle.bmc.responses.AsyncHandler< DeleteApplicationRequest, DeleteApplicationResponse>, java.util.concurrent.Future> futureSupplier = client.deleteFutureSupplier(interceptedRequest, ib, transformer); if (this.authenticationDetailsProvider instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) { return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper< DeleteApplicationRequest, DeleteApplicationResponse>( (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) this.authenticationDetailsProvider, handlerToUse, futureSupplier) { @Override protected void beforeRetryAction() {} }; } else { return futureSupplier.apply(handlerToUse); } } @Override public java.util.concurrent.Future deleteConnection( DeleteConnectionRequest request, final com.oracle.bmc.responses.AsyncHandler< DeleteConnectionRequest, DeleteConnectionResponse> handler) { LOG.trace("Called async deleteConnection"); final DeleteConnectionRequest interceptedRequest = DeleteConnectionConverter.interceptRequest(request); final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = DeleteConnectionConverter.fromRequest(client, interceptedRequest); final com.google.common.base.Function transformer = DeleteConnectionConverter.fromResponse(); com.oracle.bmc.responses.AsyncHandler handlerToUse = handler; java.util.function.Function< com.oracle.bmc.responses.AsyncHandler< DeleteConnectionRequest, DeleteConnectionResponse>, java.util.concurrent.Future> futureSupplier = client.deleteFutureSupplier(interceptedRequest, ib, transformer); if (this.authenticationDetailsProvider instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) { return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper< DeleteConnectionRequest, DeleteConnectionResponse>( (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) this.authenticationDetailsProvider, handlerToUse, futureSupplier) { @Override protected void beforeRetryAction() {} }; } else { return futureSupplier.apply(handlerToUse); } } @Override public java.util.concurrent.Future deleteConnectionValidation( DeleteConnectionValidationRequest request, final com.oracle.bmc.responses.AsyncHandler< DeleteConnectionValidationRequest, DeleteConnectionValidationResponse> handler) { LOG.trace("Called async deleteConnectionValidation"); final DeleteConnectionValidationRequest interceptedRequest = DeleteConnectionValidationConverter.interceptRequest(request); final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = DeleteConnectionValidationConverter.fromRequest(client, interceptedRequest); final com.google.common.base.Function< javax.ws.rs.core.Response, DeleteConnectionValidationResponse> transformer = DeleteConnectionValidationConverter.fromResponse(); com.oracle.bmc.responses.AsyncHandler< DeleteConnectionValidationRequest, DeleteConnectionValidationResponse> handlerToUse = handler; java.util.function.Function< com.oracle.bmc.responses.AsyncHandler< DeleteConnectionValidationRequest, DeleteConnectionValidationResponse>, java.util.concurrent.Future> futureSupplier = client.deleteFutureSupplier(interceptedRequest, ib, transformer); if (this.authenticationDetailsProvider instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) { return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper< DeleteConnectionValidationRequest, DeleteConnectionValidationResponse>( (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) this.authenticationDetailsProvider, handlerToUse, futureSupplier) { @Override protected void beforeRetryAction() {} }; } else { return futureSupplier.apply(handlerToUse); } } @Override public java.util.concurrent.Future deleteDataAsset( DeleteDataAssetRequest request, final com.oracle.bmc.responses.AsyncHandler< DeleteDataAssetRequest, DeleteDataAssetResponse> handler) { LOG.trace("Called async deleteDataAsset"); final DeleteDataAssetRequest interceptedRequest = DeleteDataAssetConverter.interceptRequest(request); final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = DeleteDataAssetConverter.fromRequest(client, interceptedRequest); final com.google.common.base.Function transformer = DeleteDataAssetConverter.fromResponse(); com.oracle.bmc.responses.AsyncHandler handlerToUse = handler; java.util.function.Function< com.oracle.bmc.responses.AsyncHandler< DeleteDataAssetRequest, DeleteDataAssetResponse>, java.util.concurrent.Future> futureSupplier = client.deleteFutureSupplier(interceptedRequest, ib, transformer); if (this.authenticationDetailsProvider instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) { return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper< DeleteDataAssetRequest, DeleteDataAssetResponse>( (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) this.authenticationDetailsProvider, handlerToUse, futureSupplier) { @Override protected void beforeRetryAction() {} }; } else { return futureSupplier.apply(handlerToUse); } } @Override public java.util.concurrent.Future deleteDataFlow( DeleteDataFlowRequest request, final com.oracle.bmc.responses.AsyncHandler< DeleteDataFlowRequest, DeleteDataFlowResponse> handler) { LOG.trace("Called async deleteDataFlow"); final DeleteDataFlowRequest interceptedRequest = DeleteDataFlowConverter.interceptRequest(request); final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = DeleteDataFlowConverter.fromRequest(client, interceptedRequest); final com.google.common.base.Function transformer = DeleteDataFlowConverter.fromResponse(); com.oracle.bmc.responses.AsyncHandler handlerToUse = handler; java.util.function.Function< com.oracle.bmc.responses.AsyncHandler< DeleteDataFlowRequest, DeleteDataFlowResponse>, java.util.concurrent.Future> futureSupplier = client.deleteFutureSupplier(interceptedRequest, ib, transformer); if (this.authenticationDetailsProvider instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) { return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper< DeleteDataFlowRequest, DeleteDataFlowResponse>( (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) this.authenticationDetailsProvider, handlerToUse, futureSupplier) { @Override protected void beforeRetryAction() {} }; } else { return futureSupplier.apply(handlerToUse); } } @Override public java.util.concurrent.Future deleteDataFlowValidation( DeleteDataFlowValidationRequest request, final com.oracle.bmc.responses.AsyncHandler< DeleteDataFlowValidationRequest, DeleteDataFlowValidationResponse> handler) { LOG.trace("Called async deleteDataFlowValidation"); final DeleteDataFlowValidationRequest interceptedRequest = DeleteDataFlowValidationConverter.interceptRequest(request); final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = DeleteDataFlowValidationConverter.fromRequest(client, interceptedRequest); final com.google.common.base.Function< javax.ws.rs.core.Response, DeleteDataFlowValidationResponse> transformer = DeleteDataFlowValidationConverter.fromResponse(); com.oracle.bmc.responses.AsyncHandler< DeleteDataFlowValidationRequest, DeleteDataFlowValidationResponse> handlerToUse = handler; java.util.function.Function< com.oracle.bmc.responses.AsyncHandler< DeleteDataFlowValidationRequest, DeleteDataFlowValidationResponse>, java.util.concurrent.Future> futureSupplier = client.deleteFutureSupplier(interceptedRequest, ib, transformer); if (this.authenticationDetailsProvider instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) { return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper< DeleteDataFlowValidationRequest, DeleteDataFlowValidationResponse>( (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) this.authenticationDetailsProvider, handlerToUse, futureSupplier) { @Override protected void beforeRetryAction() {} }; } else { return futureSupplier.apply(handlerToUse); } } @Override public java.util.concurrent.Future deleteExternalPublication( DeleteExternalPublicationRequest request, final com.oracle.bmc.responses.AsyncHandler< DeleteExternalPublicationRequest, DeleteExternalPublicationResponse> handler) { LOG.trace("Called async deleteExternalPublication"); final DeleteExternalPublicationRequest interceptedRequest = DeleteExternalPublicationConverter.interceptRequest(request); final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = DeleteExternalPublicationConverter.fromRequest(client, interceptedRequest); final com.google.common.base.Function< javax.ws.rs.core.Response, DeleteExternalPublicationResponse> transformer = DeleteExternalPublicationConverter.fromResponse(); com.oracle.bmc.responses.AsyncHandler< DeleteExternalPublicationRequest, DeleteExternalPublicationResponse> handlerToUse = handler; java.util.function.Function< com.oracle.bmc.responses.AsyncHandler< DeleteExternalPublicationRequest, DeleteExternalPublicationResponse>, java.util.concurrent.Future> futureSupplier = client.deleteFutureSupplier(interceptedRequest, ib, transformer); if (this.authenticationDetailsProvider instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) { return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper< DeleteExternalPublicationRequest, DeleteExternalPublicationResponse>( (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) this.authenticationDetailsProvider, handlerToUse, futureSupplier) { @Override protected void beforeRetryAction() {} }; } else { return futureSupplier.apply(handlerToUse); } } @Override public java.util.concurrent.Future deleteExternalPublicationValidation( DeleteExternalPublicationValidationRequest request, final com.oracle.bmc.responses.AsyncHandler< DeleteExternalPublicationValidationRequest, DeleteExternalPublicationValidationResponse> handler) { LOG.trace("Called async deleteExternalPublicationValidation"); final DeleteExternalPublicationValidationRequest interceptedRequest = DeleteExternalPublicationValidationConverter.interceptRequest(request); final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = DeleteExternalPublicationValidationConverter.fromRequest( client, interceptedRequest); final com.google.common.base.Function< javax.ws.rs.core.Response, DeleteExternalPublicationValidationResponse> transformer = DeleteExternalPublicationValidationConverter.fromResponse(); com.oracle.bmc.responses.AsyncHandler< DeleteExternalPublicationValidationRequest, DeleteExternalPublicationValidationResponse> handlerToUse = handler; java.util.function.Function< com.oracle.bmc.responses.AsyncHandler< DeleteExternalPublicationValidationRequest, DeleteExternalPublicationValidationResponse>, java.util.concurrent.Future> futureSupplier = client.deleteFutureSupplier(interceptedRequest, ib, transformer); if (this.authenticationDetailsProvider instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) { return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper< DeleteExternalPublicationValidationRequest, DeleteExternalPublicationValidationResponse>( (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) this.authenticationDetailsProvider, handlerToUse, futureSupplier) { @Override protected void beforeRetryAction() {} }; } else { return futureSupplier.apply(handlerToUse); } } @Override public java.util.concurrent.Future deleteFolder( DeleteFolderRequest request, final com.oracle.bmc.responses.AsyncHandler handler) { LOG.trace("Called async deleteFolder"); final DeleteFolderRequest interceptedRequest = DeleteFolderConverter.interceptRequest(request); final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = DeleteFolderConverter.fromRequest(client, interceptedRequest); final com.google.common.base.Function transformer = DeleteFolderConverter.fromResponse(); com.oracle.bmc.responses.AsyncHandler handlerToUse = handler; java.util.function.Function< com.oracle.bmc.responses.AsyncHandler< DeleteFolderRequest, DeleteFolderResponse>, java.util.concurrent.Future> futureSupplier = client.deleteFutureSupplier(interceptedRequest, ib, transformer); if (this.authenticationDetailsProvider instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) { return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper< DeleteFolderRequest, DeleteFolderResponse>( (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) this.authenticationDetailsProvider, handlerToUse, futureSupplier) { @Override protected void beforeRetryAction() {} }; } else { return futureSupplier.apply(handlerToUse); } } @Override public java.util.concurrent.Future deletePatch( DeletePatchRequest request, final com.oracle.bmc.responses.AsyncHandler handler) { LOG.trace("Called async deletePatch"); final DeletePatchRequest interceptedRequest = DeletePatchConverter.interceptRequest(request); final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = DeletePatchConverter.fromRequest(client, interceptedRequest); final com.google.common.base.Function transformer = DeletePatchConverter.fromResponse(); com.oracle.bmc.responses.AsyncHandler handlerToUse = handler; java.util.function.Function< com.oracle.bmc.responses.AsyncHandler< DeletePatchRequest, DeletePatchResponse>, java.util.concurrent.Future> futureSupplier = client.deleteFutureSupplier(interceptedRequest, ib, transformer); if (this.authenticationDetailsProvider instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) { return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper< DeletePatchRequest, DeletePatchResponse>( (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) this.authenticationDetailsProvider, handlerToUse, futureSupplier) { @Override protected void beforeRetryAction() {} }; } else { return futureSupplier.apply(handlerToUse); } } @Override public java.util.concurrent.Future deletePipeline( DeletePipelineRequest request, final com.oracle.bmc.responses.AsyncHandler< DeletePipelineRequest, DeletePipelineResponse> handler) { LOG.trace("Called async deletePipeline"); final DeletePipelineRequest interceptedRequest = DeletePipelineConverter.interceptRequest(request); final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = DeletePipelineConverter.fromRequest(client, interceptedRequest); final com.google.common.base.Function transformer = DeletePipelineConverter.fromResponse(); com.oracle.bmc.responses.AsyncHandler handlerToUse = handler; java.util.function.Function< com.oracle.bmc.responses.AsyncHandler< DeletePipelineRequest, DeletePipelineResponse>, java.util.concurrent.Future> futureSupplier = client.deleteFutureSupplier(interceptedRequest, ib, transformer); if (this.authenticationDetailsProvider instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) { return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper< DeletePipelineRequest, DeletePipelineResponse>( (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) this.authenticationDetailsProvider, handlerToUse, futureSupplier) { @Override protected void beforeRetryAction() {} }; } else { return futureSupplier.apply(handlerToUse); } } @Override public java.util.concurrent.Future deletePipelineValidation( DeletePipelineValidationRequest request, final com.oracle.bmc.responses.AsyncHandler< DeletePipelineValidationRequest, DeletePipelineValidationResponse> handler) { LOG.trace("Called async deletePipelineValidation"); final DeletePipelineValidationRequest interceptedRequest = DeletePipelineValidationConverter.interceptRequest(request); final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = DeletePipelineValidationConverter.fromRequest(client, interceptedRequest); final com.google.common.base.Function< javax.ws.rs.core.Response, DeletePipelineValidationResponse> transformer = DeletePipelineValidationConverter.fromResponse(); com.oracle.bmc.responses.AsyncHandler< DeletePipelineValidationRequest, DeletePipelineValidationResponse> handlerToUse = handler; java.util.function.Function< com.oracle.bmc.responses.AsyncHandler< DeletePipelineValidationRequest, DeletePipelineValidationResponse>, java.util.concurrent.Future> futureSupplier = client.deleteFutureSupplier(interceptedRequest, ib, transformer); if (this.authenticationDetailsProvider instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) { return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper< DeletePipelineValidationRequest, DeletePipelineValidationResponse>( (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) this.authenticationDetailsProvider, handlerToUse, futureSupplier) { @Override protected void beforeRetryAction() {} }; } else { return futureSupplier.apply(handlerToUse); } } @Override public java.util.concurrent.Future deleteProject( DeleteProjectRequest request, final com.oracle.bmc.responses.AsyncHandler handler) { LOG.trace("Called async deleteProject"); final DeleteProjectRequest interceptedRequest = DeleteProjectConverter.interceptRequest(request); final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = DeleteProjectConverter.fromRequest(client, interceptedRequest); final com.google.common.base.Function transformer = DeleteProjectConverter.fromResponse(); com.oracle.bmc.responses.AsyncHandler handlerToUse = handler; java.util.function.Function< com.oracle.bmc.responses.AsyncHandler< DeleteProjectRequest, DeleteProjectResponse>, java.util.concurrent.Future> futureSupplier = client.deleteFutureSupplier(interceptedRequest, ib, transformer); if (this.authenticationDetailsProvider instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) { return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper< DeleteProjectRequest, DeleteProjectResponse>( (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) this.authenticationDetailsProvider, handlerToUse, futureSupplier) { @Override protected void beforeRetryAction() {} }; } else { return futureSupplier.apply(handlerToUse); } } @Override public java.util.concurrent.Future deleteTask( DeleteTaskRequest request, final com.oracle.bmc.responses.AsyncHandler handler) { LOG.trace("Called async deleteTask"); final DeleteTaskRequest interceptedRequest = DeleteTaskConverter.interceptRequest(request); final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = DeleteTaskConverter.fromRequest(client, interceptedRequest); final com.google.common.base.Function transformer = DeleteTaskConverter.fromResponse(); com.oracle.bmc.responses.AsyncHandler handlerToUse = handler; java.util.function.Function< com.oracle.bmc.responses.AsyncHandler< DeleteTaskRequest, DeleteTaskResponse>, java.util.concurrent.Future> futureSupplier = client.deleteFutureSupplier(interceptedRequest, ib, transformer); if (this.authenticationDetailsProvider instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) { return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper< DeleteTaskRequest, DeleteTaskResponse>( (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) this.authenticationDetailsProvider, handlerToUse, futureSupplier) { @Override protected void beforeRetryAction() {} }; } else { return futureSupplier.apply(handlerToUse); } } @Override public java.util.concurrent.Future deleteTaskRun( DeleteTaskRunRequest request, final com.oracle.bmc.responses.AsyncHandler handler) { LOG.trace("Called async deleteTaskRun"); final DeleteTaskRunRequest interceptedRequest = DeleteTaskRunConverter.interceptRequest(request); final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = DeleteTaskRunConverter.fromRequest(client, interceptedRequest); final com.google.common.base.Function transformer = DeleteTaskRunConverter.fromResponse(); com.oracle.bmc.responses.AsyncHandler handlerToUse = handler; java.util.function.Function< com.oracle.bmc.responses.AsyncHandler< DeleteTaskRunRequest, DeleteTaskRunResponse>, java.util.concurrent.Future> futureSupplier = client.deleteFutureSupplier(interceptedRequest, ib, transformer); if (this.authenticationDetailsProvider instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) { return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper< DeleteTaskRunRequest, DeleteTaskRunResponse>( (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) this.authenticationDetailsProvider, handlerToUse, futureSupplier) { @Override protected void beforeRetryAction() {} }; } else { return futureSupplier.apply(handlerToUse); } } @Override public java.util.concurrent.Future deleteTaskValidation( DeleteTaskValidationRequest request, final com.oracle.bmc.responses.AsyncHandler< DeleteTaskValidationRequest, DeleteTaskValidationResponse> handler) { LOG.trace("Called async deleteTaskValidation"); final DeleteTaskValidationRequest interceptedRequest = DeleteTaskValidationConverter.interceptRequest(request); final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = DeleteTaskValidationConverter.fromRequest(client, interceptedRequest); final com.google.common.base.Function< javax.ws.rs.core.Response, DeleteTaskValidationResponse> transformer = DeleteTaskValidationConverter.fromResponse(); com.oracle.bmc.responses.AsyncHandler< DeleteTaskValidationRequest, DeleteTaskValidationResponse> handlerToUse = handler; java.util.function.Function< com.oracle.bmc.responses.AsyncHandler< DeleteTaskValidationRequest, DeleteTaskValidationResponse>, java.util.concurrent.Future> futureSupplier = client.deleteFutureSupplier(interceptedRequest, ib, transformer); if (this.authenticationDetailsProvider instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) { return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper< DeleteTaskValidationRequest, DeleteTaskValidationResponse>( (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) this.authenticationDetailsProvider, handlerToUse, futureSupplier) { @Override protected void beforeRetryAction() {} }; } else { return futureSupplier.apply(handlerToUse); } } @Override public java.util.concurrent.Future deleteWorkspace( DeleteWorkspaceRequest request, final com.oracle.bmc.responses.AsyncHandler< DeleteWorkspaceRequest, DeleteWorkspaceResponse> handler) { LOG.trace("Called async deleteWorkspace"); final DeleteWorkspaceRequest interceptedRequest = DeleteWorkspaceConverter.interceptRequest(request); final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = DeleteWorkspaceConverter.fromRequest(client, interceptedRequest); final com.google.common.base.Function transformer = DeleteWorkspaceConverter.fromResponse(); com.oracle.bmc.responses.AsyncHandler handlerToUse = handler; java.util.function.Function< com.oracle.bmc.responses.AsyncHandler< DeleteWorkspaceRequest, DeleteWorkspaceResponse>, java.util.concurrent.Future> futureSupplier = client.deleteFutureSupplier(interceptedRequest, ib, transformer); if (this.authenticationDetailsProvider instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) { return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper< DeleteWorkspaceRequest, DeleteWorkspaceResponse>( (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) this.authenticationDetailsProvider, handlerToUse, futureSupplier) { @Override protected void beforeRetryAction() {} }; } else { return futureSupplier.apply(handlerToUse); } } @Override public java.util.concurrent.Future getApplication( GetApplicationRequest request, final com.oracle.bmc.responses.AsyncHandler< GetApplicationRequest, GetApplicationResponse> handler) { LOG.trace("Called async getApplication"); final GetApplicationRequest interceptedRequest = GetApplicationConverter.interceptRequest(request); final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = GetApplicationConverter.fromRequest(client, interceptedRequest); final com.google.common.base.Function transformer = GetApplicationConverter.fromResponse(); com.oracle.bmc.responses.AsyncHandler handlerToUse = handler; java.util.function.Function< com.oracle.bmc.responses.AsyncHandler< GetApplicationRequest, GetApplicationResponse>, java.util.concurrent.Future> futureSupplier = client.getFutureSupplier(interceptedRequest, ib, transformer); if (this.authenticationDetailsProvider instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) { return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper< GetApplicationRequest, GetApplicationResponse>( (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) this.authenticationDetailsProvider, handlerToUse, futureSupplier) { @Override protected void beforeRetryAction() {} }; } else { return futureSupplier.apply(handlerToUse); } } @Override public java.util.concurrent.Future getConnection( GetConnectionRequest request, final com.oracle.bmc.responses.AsyncHandler handler) { LOG.trace("Called async getConnection"); final GetConnectionRequest interceptedRequest = GetConnectionConverter.interceptRequest(request); final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = GetConnectionConverter.fromRequest(client, interceptedRequest); final com.google.common.base.Function transformer = GetConnectionConverter.fromResponse(); com.oracle.bmc.responses.AsyncHandler handlerToUse = handler; java.util.function.Function< com.oracle.bmc.responses.AsyncHandler< GetConnectionRequest, GetConnectionResponse>, java.util.concurrent.Future> futureSupplier = client.getFutureSupplier(interceptedRequest, ib, transformer); if (this.authenticationDetailsProvider instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) { return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper< GetConnectionRequest, GetConnectionResponse>( (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) this.authenticationDetailsProvider, handlerToUse, futureSupplier) { @Override protected void beforeRetryAction() {} }; } else { return futureSupplier.apply(handlerToUse); } } @Override public java.util.concurrent.Future getConnectionValidation( GetConnectionValidationRequest request, final com.oracle.bmc.responses.AsyncHandler< GetConnectionValidationRequest, GetConnectionValidationResponse> handler) { LOG.trace("Called async getConnectionValidation"); final GetConnectionValidationRequest interceptedRequest = GetConnectionValidationConverter.interceptRequest(request); final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = GetConnectionValidationConverter.fromRequest(client, interceptedRequest); final com.google.common.base.Function< javax.ws.rs.core.Response, GetConnectionValidationResponse> transformer = GetConnectionValidationConverter.fromResponse(); com.oracle.bmc.responses.AsyncHandler< GetConnectionValidationRequest, GetConnectionValidationResponse> handlerToUse = handler; java.util.function.Function< com.oracle.bmc.responses.AsyncHandler< GetConnectionValidationRequest, GetConnectionValidationResponse>, java.util.concurrent.Future> futureSupplier = client.getFutureSupplier(interceptedRequest, ib, transformer); if (this.authenticationDetailsProvider instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) { return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper< GetConnectionValidationRequest, GetConnectionValidationResponse>( (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) this.authenticationDetailsProvider, handlerToUse, futureSupplier) { @Override protected void beforeRetryAction() {} }; } else { return futureSupplier.apply(handlerToUse); } } @Override public java.util.concurrent.Future getCountStatistic( GetCountStatisticRequest request, final com.oracle.bmc.responses.AsyncHandler< GetCountStatisticRequest, GetCountStatisticResponse> handler) { LOG.trace("Called async getCountStatistic"); final GetCountStatisticRequest interceptedRequest = GetCountStatisticConverter.interceptRequest(request); final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = GetCountStatisticConverter.fromRequest(client, interceptedRequest); final com.google.common.base.Function transformer = GetCountStatisticConverter.fromResponse(); com.oracle.bmc.responses.AsyncHandler handlerToUse = handler; java.util.function.Function< com.oracle.bmc.responses.AsyncHandler< GetCountStatisticRequest, GetCountStatisticResponse>, java.util.concurrent.Future> futureSupplier = client.getFutureSupplier(interceptedRequest, ib, transformer); if (this.authenticationDetailsProvider instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) { return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper< GetCountStatisticRequest, GetCountStatisticResponse>( (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) this.authenticationDetailsProvider, handlerToUse, futureSupplier) { @Override protected void beforeRetryAction() {} }; } else { return futureSupplier.apply(handlerToUse); } } @Override public java.util.concurrent.Future getDataAsset( GetDataAssetRequest request, final com.oracle.bmc.responses.AsyncHandler handler) { LOG.trace("Called async getDataAsset"); final GetDataAssetRequest interceptedRequest = GetDataAssetConverter.interceptRequest(request); final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = GetDataAssetConverter.fromRequest(client, interceptedRequest); final com.google.common.base.Function transformer = GetDataAssetConverter.fromResponse(); com.oracle.bmc.responses.AsyncHandler handlerToUse = handler; java.util.function.Function< com.oracle.bmc.responses.AsyncHandler< GetDataAssetRequest, GetDataAssetResponse>, java.util.concurrent.Future> futureSupplier = client.getFutureSupplier(interceptedRequest, ib, transformer); if (this.authenticationDetailsProvider instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) { return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper< GetDataAssetRequest, GetDataAssetResponse>( (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) this.authenticationDetailsProvider, handlerToUse, futureSupplier) { @Override protected void beforeRetryAction() {} }; } else { return futureSupplier.apply(handlerToUse); } } @Override public java.util.concurrent.Future getDataEntity( GetDataEntityRequest request, final com.oracle.bmc.responses.AsyncHandler handler) { LOG.trace("Called async getDataEntity"); final GetDataEntityRequest interceptedRequest = GetDataEntityConverter.interceptRequest(request); final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = GetDataEntityConverter.fromRequest(client, interceptedRequest); final com.google.common.base.Function transformer = GetDataEntityConverter.fromResponse(); com.oracle.bmc.responses.AsyncHandler handlerToUse = handler; java.util.function.Function< com.oracle.bmc.responses.AsyncHandler< GetDataEntityRequest, GetDataEntityResponse>, java.util.concurrent.Future> futureSupplier = client.getFutureSupplier(interceptedRequest, ib, transformer); if (this.authenticationDetailsProvider instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) { return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper< GetDataEntityRequest, GetDataEntityResponse>( (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) this.authenticationDetailsProvider, handlerToUse, futureSupplier) { @Override protected void beforeRetryAction() {} }; } else { return futureSupplier.apply(handlerToUse); } } @Override public java.util.concurrent.Future getDataFlow( GetDataFlowRequest request, final com.oracle.bmc.responses.AsyncHandler handler) { LOG.trace("Called async getDataFlow"); final GetDataFlowRequest interceptedRequest = GetDataFlowConverter.interceptRequest(request); final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = GetDataFlowConverter.fromRequest(client, interceptedRequest); final com.google.common.base.Function transformer = GetDataFlowConverter.fromResponse(); com.oracle.bmc.responses.AsyncHandler handlerToUse = handler; java.util.function.Function< com.oracle.bmc.responses.AsyncHandler< GetDataFlowRequest, GetDataFlowResponse>, java.util.concurrent.Future> futureSupplier = client.getFutureSupplier(interceptedRequest, ib, transformer); if (this.authenticationDetailsProvider instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) { return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper< GetDataFlowRequest, GetDataFlowResponse>( (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) this.authenticationDetailsProvider, handlerToUse, futureSupplier) { @Override protected void beforeRetryAction() {} }; } else { return futureSupplier.apply(handlerToUse); } } @Override public java.util.concurrent.Future getDataFlowValidation( GetDataFlowValidationRequest request, final com.oracle.bmc.responses.AsyncHandler< GetDataFlowValidationRequest, GetDataFlowValidationResponse> handler) { LOG.trace("Called async getDataFlowValidation"); final GetDataFlowValidationRequest interceptedRequest = GetDataFlowValidationConverter.interceptRequest(request); final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = GetDataFlowValidationConverter.fromRequest(client, interceptedRequest); final com.google.common.base.Function< javax.ws.rs.core.Response, GetDataFlowValidationResponse> transformer = GetDataFlowValidationConverter.fromResponse(); com.oracle.bmc.responses.AsyncHandler< GetDataFlowValidationRequest, GetDataFlowValidationResponse> handlerToUse = handler; java.util.function.Function< com.oracle.bmc.responses.AsyncHandler< GetDataFlowValidationRequest, GetDataFlowValidationResponse>, java.util.concurrent.Future> futureSupplier = client.getFutureSupplier(interceptedRequest, ib, transformer); if (this.authenticationDetailsProvider instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) { return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper< GetDataFlowValidationRequest, GetDataFlowValidationResponse>( (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) this.authenticationDetailsProvider, handlerToUse, futureSupplier) { @Override protected void beforeRetryAction() {} }; } else { return futureSupplier.apply(handlerToUse); } } @Override public java.util.concurrent.Future getDependentObject( GetDependentObjectRequest request, final com.oracle.bmc.responses.AsyncHandler< GetDependentObjectRequest, GetDependentObjectResponse> handler) { LOG.trace("Called async getDependentObject"); final GetDependentObjectRequest interceptedRequest = GetDependentObjectConverter.interceptRequest(request); final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = GetDependentObjectConverter.fromRequest(client, interceptedRequest); final com.google.common.base.Function transformer = GetDependentObjectConverter.fromResponse(); com.oracle.bmc.responses.AsyncHandler handlerToUse = handler; java.util.function.Function< com.oracle.bmc.responses.AsyncHandler< GetDependentObjectRequest, GetDependentObjectResponse>, java.util.concurrent.Future> futureSupplier = client.getFutureSupplier(interceptedRequest, ib, transformer); if (this.authenticationDetailsProvider instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) { return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper< GetDependentObjectRequest, GetDependentObjectResponse>( (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) this.authenticationDetailsProvider, handlerToUse, futureSupplier) { @Override protected void beforeRetryAction() {} }; } else { return futureSupplier.apply(handlerToUse); } } @Override public java.util.concurrent.Future getExternalPublication( GetExternalPublicationRequest request, final com.oracle.bmc.responses.AsyncHandler< GetExternalPublicationRequest, GetExternalPublicationResponse> handler) { LOG.trace("Called async getExternalPublication"); final GetExternalPublicationRequest interceptedRequest = GetExternalPublicationConverter.interceptRequest(request); final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = GetExternalPublicationConverter.fromRequest(client, interceptedRequest); final com.google.common.base.Function< javax.ws.rs.core.Response, GetExternalPublicationResponse> transformer = GetExternalPublicationConverter.fromResponse(); com.oracle.bmc.responses.AsyncHandler< GetExternalPublicationRequest, GetExternalPublicationResponse> handlerToUse = handler; java.util.function.Function< com.oracle.bmc.responses.AsyncHandler< GetExternalPublicationRequest, GetExternalPublicationResponse>, java.util.concurrent.Future> futureSupplier = client.getFutureSupplier(interceptedRequest, ib, transformer); if (this.authenticationDetailsProvider instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) { return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper< GetExternalPublicationRequest, GetExternalPublicationResponse>( (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) this.authenticationDetailsProvider, handlerToUse, futureSupplier) { @Override protected void beforeRetryAction() {} }; } else { return futureSupplier.apply(handlerToUse); } } @Override public java.util.concurrent.Future getExternalPublicationValidation( GetExternalPublicationValidationRequest request, final com.oracle.bmc.responses.AsyncHandler< GetExternalPublicationValidationRequest, GetExternalPublicationValidationResponse> handler) { LOG.trace("Called async getExternalPublicationValidation"); final GetExternalPublicationValidationRequest interceptedRequest = GetExternalPublicationValidationConverter.interceptRequest(request); final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = GetExternalPublicationValidationConverter.fromRequest(client, interceptedRequest); final com.google.common.base.Function< javax.ws.rs.core.Response, GetExternalPublicationValidationResponse> transformer = GetExternalPublicationValidationConverter.fromResponse(); com.oracle.bmc.responses.AsyncHandler< GetExternalPublicationValidationRequest, GetExternalPublicationValidationResponse> handlerToUse = handler; java.util.function.Function< com.oracle.bmc.responses.AsyncHandler< GetExternalPublicationValidationRequest, GetExternalPublicationValidationResponse>, java.util.concurrent.Future> futureSupplier = client.getFutureSupplier(interceptedRequest, ib, transformer); if (this.authenticationDetailsProvider instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) { return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper< GetExternalPublicationValidationRequest, GetExternalPublicationValidationResponse>( (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) this.authenticationDetailsProvider, handlerToUse, futureSupplier) { @Override protected void beforeRetryAction() {} }; } else { return futureSupplier.apply(handlerToUse); } } @Override public java.util.concurrent.Future getFolder( GetFolderRequest request, final com.oracle.bmc.responses.AsyncHandler handler) { LOG.trace("Called async getFolder"); final GetFolderRequest interceptedRequest = GetFolderConverter.interceptRequest(request); final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = GetFolderConverter.fromRequest(client, interceptedRequest); final com.google.common.base.Function transformer = GetFolderConverter.fromResponse(); com.oracle.bmc.responses.AsyncHandler handlerToUse = handler; java.util.function.Function< com.oracle.bmc.responses.AsyncHandler, java.util.concurrent.Future> futureSupplier = client.getFutureSupplier(interceptedRequest, ib, transformer); if (this.authenticationDetailsProvider instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) { return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper< GetFolderRequest, GetFolderResponse>( (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) this.authenticationDetailsProvider, handlerToUse, futureSupplier) { @Override protected void beforeRetryAction() {} }; } else { return futureSupplier.apply(handlerToUse); } } @Override public java.util.concurrent.Future getPatch( GetPatchRequest request, final com.oracle.bmc.responses.AsyncHandler handler) { LOG.trace("Called async getPatch"); final GetPatchRequest interceptedRequest = GetPatchConverter.interceptRequest(request); final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = GetPatchConverter.fromRequest(client, interceptedRequest); final com.google.common.base.Function transformer = GetPatchConverter.fromResponse(); com.oracle.bmc.responses.AsyncHandler handlerToUse = handler; java.util.function.Function< com.oracle.bmc.responses.AsyncHandler, java.util.concurrent.Future> futureSupplier = client.getFutureSupplier(interceptedRequest, ib, transformer); if (this.authenticationDetailsProvider instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) { return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper< GetPatchRequest, GetPatchResponse>( (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) this.authenticationDetailsProvider, handlerToUse, futureSupplier) { @Override protected void beforeRetryAction() {} }; } else { return futureSupplier.apply(handlerToUse); } } @Override public java.util.concurrent.Future getPipeline( GetPipelineRequest request, final com.oracle.bmc.responses.AsyncHandler handler) { LOG.trace("Called async getPipeline"); final GetPipelineRequest interceptedRequest = GetPipelineConverter.interceptRequest(request); final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = GetPipelineConverter.fromRequest(client, interceptedRequest); final com.google.common.base.Function transformer = GetPipelineConverter.fromResponse(); com.oracle.bmc.responses.AsyncHandler handlerToUse = handler; java.util.function.Function< com.oracle.bmc.responses.AsyncHandler< GetPipelineRequest, GetPipelineResponse>, java.util.concurrent.Future> futureSupplier = client.getFutureSupplier(interceptedRequest, ib, transformer); if (this.authenticationDetailsProvider instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) { return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper< GetPipelineRequest, GetPipelineResponse>( (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) this.authenticationDetailsProvider, handlerToUse, futureSupplier) { @Override protected void beforeRetryAction() {} }; } else { return futureSupplier.apply(handlerToUse); } } @Override public java.util.concurrent.Future getPipelineValidation( GetPipelineValidationRequest request, final com.oracle.bmc.responses.AsyncHandler< GetPipelineValidationRequest, GetPipelineValidationResponse> handler) { LOG.trace("Called async getPipelineValidation"); final GetPipelineValidationRequest interceptedRequest = GetPipelineValidationConverter.interceptRequest(request); final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = GetPipelineValidationConverter.fromRequest(client, interceptedRequest); final com.google.common.base.Function< javax.ws.rs.core.Response, GetPipelineValidationResponse> transformer = GetPipelineValidationConverter.fromResponse(); com.oracle.bmc.responses.AsyncHandler< GetPipelineValidationRequest, GetPipelineValidationResponse> handlerToUse = handler; java.util.function.Function< com.oracle.bmc.responses.AsyncHandler< GetPipelineValidationRequest, GetPipelineValidationResponse>, java.util.concurrent.Future> futureSupplier = client.getFutureSupplier(interceptedRequest, ib, transformer); if (this.authenticationDetailsProvider instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) { return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper< GetPipelineValidationRequest, GetPipelineValidationResponse>( (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) this.authenticationDetailsProvider, handlerToUse, futureSupplier) { @Override protected void beforeRetryAction() {} }; } else { return futureSupplier.apply(handlerToUse); } } @Override public java.util.concurrent.Future getProject( GetProjectRequest request, final com.oracle.bmc.responses.AsyncHandler handler) { LOG.trace("Called async getProject"); final GetProjectRequest interceptedRequest = GetProjectConverter.interceptRequest(request); final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = GetProjectConverter.fromRequest(client, interceptedRequest); final com.google.common.base.Function transformer = GetProjectConverter.fromResponse(); com.oracle.bmc.responses.AsyncHandler handlerToUse = handler; java.util.function.Function< com.oracle.bmc.responses.AsyncHandler< GetProjectRequest, GetProjectResponse>, java.util.concurrent.Future> futureSupplier = client.getFutureSupplier(interceptedRequest, ib, transformer); if (this.authenticationDetailsProvider instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) { return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper< GetProjectRequest, GetProjectResponse>( (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) this.authenticationDetailsProvider, handlerToUse, futureSupplier) { @Override protected void beforeRetryAction() {} }; } else { return futureSupplier.apply(handlerToUse); } } @Override public java.util.concurrent.Future getPublishedObject( GetPublishedObjectRequest request, final com.oracle.bmc.responses.AsyncHandler< GetPublishedObjectRequest, GetPublishedObjectResponse> handler) { LOG.trace("Called async getPublishedObject"); final GetPublishedObjectRequest interceptedRequest = GetPublishedObjectConverter.interceptRequest(request); final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = GetPublishedObjectConverter.fromRequest(client, interceptedRequest); final com.google.common.base.Function transformer = GetPublishedObjectConverter.fromResponse(); com.oracle.bmc.responses.AsyncHandler handlerToUse = handler; java.util.function.Function< com.oracle.bmc.responses.AsyncHandler< GetPublishedObjectRequest, GetPublishedObjectResponse>, java.util.concurrent.Future> futureSupplier = client.getFutureSupplier(interceptedRequest, ib, transformer); if (this.authenticationDetailsProvider instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) { return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper< GetPublishedObjectRequest, GetPublishedObjectResponse>( (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) this.authenticationDetailsProvider, handlerToUse, futureSupplier) { @Override protected void beforeRetryAction() {} }; } else { return futureSupplier.apply(handlerToUse); } } @Override public java.util.concurrent.Future getReference( GetReferenceRequest request, final com.oracle.bmc.responses.AsyncHandler handler) { LOG.trace("Called async getReference"); final GetReferenceRequest interceptedRequest = GetReferenceConverter.interceptRequest(request); final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = GetReferenceConverter.fromRequest(client, interceptedRequest); final com.google.common.base.Function transformer = GetReferenceConverter.fromResponse(); com.oracle.bmc.responses.AsyncHandler handlerToUse = handler; java.util.function.Function< com.oracle.bmc.responses.AsyncHandler< GetReferenceRequest, GetReferenceResponse>, java.util.concurrent.Future> futureSupplier = client.getFutureSupplier(interceptedRequest, ib, transformer); if (this.authenticationDetailsProvider instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) { return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper< GetReferenceRequest, GetReferenceResponse>( (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) this.authenticationDetailsProvider, handlerToUse, futureSupplier) { @Override protected void beforeRetryAction() {} }; } else { return futureSupplier.apply(handlerToUse); } } @Override public java.util.concurrent.Future getSchema( GetSchemaRequest request, final com.oracle.bmc.responses.AsyncHandler handler) { LOG.trace("Called async getSchema"); final GetSchemaRequest interceptedRequest = GetSchemaConverter.interceptRequest(request); final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = GetSchemaConverter.fromRequest(client, interceptedRequest); final com.google.common.base.Function transformer = GetSchemaConverter.fromResponse(); com.oracle.bmc.responses.AsyncHandler handlerToUse = handler; java.util.function.Function< com.oracle.bmc.responses.AsyncHandler, java.util.concurrent.Future> futureSupplier = client.getFutureSupplier(interceptedRequest, ib, transformer); if (this.authenticationDetailsProvider instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) { return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper< GetSchemaRequest, GetSchemaResponse>( (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) this.authenticationDetailsProvider, handlerToUse, futureSupplier) { @Override protected void beforeRetryAction() {} }; } else { return futureSupplier.apply(handlerToUse); } } @Override public java.util.concurrent.Future getTask( GetTaskRequest request, final com.oracle.bmc.responses.AsyncHandler handler) { LOG.trace("Called async getTask"); final GetTaskRequest interceptedRequest = GetTaskConverter.interceptRequest(request); final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = GetTaskConverter.fromRequest(client, interceptedRequest); final com.google.common.base.Function transformer = GetTaskConverter.fromResponse(); com.oracle.bmc.responses.AsyncHandler handlerToUse = handler; java.util.function.Function< com.oracle.bmc.responses.AsyncHandler, java.util.concurrent.Future> futureSupplier = client.getFutureSupplier(interceptedRequest, ib, transformer); if (this.authenticationDetailsProvider instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) { return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper< GetTaskRequest, GetTaskResponse>( (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) this.authenticationDetailsProvider, handlerToUse, futureSupplier) { @Override protected void beforeRetryAction() {} }; } else { return futureSupplier.apply(handlerToUse); } } @Override public java.util.concurrent.Future getTaskRun( GetTaskRunRequest request, final com.oracle.bmc.responses.AsyncHandler handler) { LOG.trace("Called async getTaskRun"); final GetTaskRunRequest interceptedRequest = GetTaskRunConverter.interceptRequest(request); final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = GetTaskRunConverter.fromRequest(client, interceptedRequest); final com.google.common.base.Function transformer = GetTaskRunConverter.fromResponse(); com.oracle.bmc.responses.AsyncHandler handlerToUse = handler; java.util.function.Function< com.oracle.bmc.responses.AsyncHandler< GetTaskRunRequest, GetTaskRunResponse>, java.util.concurrent.Future> futureSupplier = client.getFutureSupplier(interceptedRequest, ib, transformer); if (this.authenticationDetailsProvider instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) { return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper< GetTaskRunRequest, GetTaskRunResponse>( (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) this.authenticationDetailsProvider, handlerToUse, futureSupplier) { @Override protected void beforeRetryAction() {} }; } else { return futureSupplier.apply(handlerToUse); } } @Override public java.util.concurrent.Future getTaskValidation( GetTaskValidationRequest request, final com.oracle.bmc.responses.AsyncHandler< GetTaskValidationRequest, GetTaskValidationResponse> handler) { LOG.trace("Called async getTaskValidation"); final GetTaskValidationRequest interceptedRequest = GetTaskValidationConverter.interceptRequest(request); final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = GetTaskValidationConverter.fromRequest(client, interceptedRequest); final com.google.common.base.Function transformer = GetTaskValidationConverter.fromResponse(); com.oracle.bmc.responses.AsyncHandler handlerToUse = handler; java.util.function.Function< com.oracle.bmc.responses.AsyncHandler< GetTaskValidationRequest, GetTaskValidationResponse>, java.util.concurrent.Future> futureSupplier = client.getFutureSupplier(interceptedRequest, ib, transformer); if (this.authenticationDetailsProvider instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) { return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper< GetTaskValidationRequest, GetTaskValidationResponse>( (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) this.authenticationDetailsProvider, handlerToUse, futureSupplier) { @Override protected void beforeRetryAction() {} }; } else { return futureSupplier.apply(handlerToUse); } } @Override public java.util.concurrent.Future getWorkRequest( GetWorkRequestRequest request, final com.oracle.bmc.responses.AsyncHandler< GetWorkRequestRequest, GetWorkRequestResponse> handler) { LOG.trace("Called async getWorkRequest"); final GetWorkRequestRequest interceptedRequest = GetWorkRequestConverter.interceptRequest(request); final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = GetWorkRequestConverter.fromRequest(client, interceptedRequest); final com.google.common.base.Function transformer = GetWorkRequestConverter.fromResponse(); com.oracle.bmc.responses.AsyncHandler handlerToUse = handler; java.util.function.Function< com.oracle.bmc.responses.AsyncHandler< GetWorkRequestRequest, GetWorkRequestResponse>, java.util.concurrent.Future> futureSupplier = client.getFutureSupplier(interceptedRequest, ib, transformer); if (this.authenticationDetailsProvider instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) { return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper< GetWorkRequestRequest, GetWorkRequestResponse>( (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) this.authenticationDetailsProvider, handlerToUse, futureSupplier) { @Override protected void beforeRetryAction() {} }; } else { return futureSupplier.apply(handlerToUse); } } @Override public java.util.concurrent.Future getWorkspace( GetWorkspaceRequest request, final com.oracle.bmc.responses.AsyncHandler handler) { LOG.trace("Called async getWorkspace"); final GetWorkspaceRequest interceptedRequest = GetWorkspaceConverter.interceptRequest(request); final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = GetWorkspaceConverter.fromRequest(client, interceptedRequest); final com.google.common.base.Function transformer = GetWorkspaceConverter.fromResponse(); com.oracle.bmc.responses.AsyncHandler handlerToUse = handler; java.util.function.Function< com.oracle.bmc.responses.AsyncHandler< GetWorkspaceRequest, GetWorkspaceResponse>, java.util.concurrent.Future> futureSupplier = client.getFutureSupplier(interceptedRequest, ib, transformer); if (this.authenticationDetailsProvider instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) { return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper< GetWorkspaceRequest, GetWorkspaceResponse>( (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) this.authenticationDetailsProvider, handlerToUse, futureSupplier) { @Override protected void beforeRetryAction() {} }; } else { return futureSupplier.apply(handlerToUse); } } @Override public java.util.concurrent.Future listApplications( ListApplicationsRequest request, final com.oracle.bmc.responses.AsyncHandler< ListApplicationsRequest, ListApplicationsResponse> handler) { LOG.trace("Called async listApplications"); final ListApplicationsRequest interceptedRequest = ListApplicationsConverter.interceptRequest(request); final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = ListApplicationsConverter.fromRequest(client, interceptedRequest); final com.google.common.base.Function transformer = ListApplicationsConverter.fromResponse(); com.oracle.bmc.responses.AsyncHandler handlerToUse = handler; java.util.function.Function< com.oracle.bmc.responses.AsyncHandler< ListApplicationsRequest, ListApplicationsResponse>, java.util.concurrent.Future> futureSupplier = client.getFutureSupplier(interceptedRequest, ib, transformer); if (this.authenticationDetailsProvider instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) { return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper< ListApplicationsRequest, ListApplicationsResponse>( (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) this.authenticationDetailsProvider, handlerToUse, futureSupplier) { @Override protected void beforeRetryAction() {} }; } else { return futureSupplier.apply(handlerToUse); } } @Override public java.util.concurrent.Future listConnectionValidations( ListConnectionValidationsRequest request, final com.oracle.bmc.responses.AsyncHandler< ListConnectionValidationsRequest, ListConnectionValidationsResponse> handler) { LOG.trace("Called async listConnectionValidations"); final ListConnectionValidationsRequest interceptedRequest = ListConnectionValidationsConverter.interceptRequest(request); final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = ListConnectionValidationsConverter.fromRequest(client, interceptedRequest); final com.google.common.base.Function< javax.ws.rs.core.Response, ListConnectionValidationsResponse> transformer = ListConnectionValidationsConverter.fromResponse(); com.oracle.bmc.responses.AsyncHandler< ListConnectionValidationsRequest, ListConnectionValidationsResponse> handlerToUse = handler; java.util.function.Function< com.oracle.bmc.responses.AsyncHandler< ListConnectionValidationsRequest, ListConnectionValidationsResponse>, java.util.concurrent.Future> futureSupplier = client.getFutureSupplier(interceptedRequest, ib, transformer); if (this.authenticationDetailsProvider instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) { return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper< ListConnectionValidationsRequest, ListConnectionValidationsResponse>( (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) this.authenticationDetailsProvider, handlerToUse, futureSupplier) { @Override protected void beforeRetryAction() {} }; } else { return futureSupplier.apply(handlerToUse); } } @Override public java.util.concurrent.Future listConnections( ListConnectionsRequest request, final com.oracle.bmc.responses.AsyncHandler< ListConnectionsRequest, ListConnectionsResponse> handler) { LOG.trace("Called async listConnections"); final ListConnectionsRequest interceptedRequest = ListConnectionsConverter.interceptRequest(request); final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = ListConnectionsConverter.fromRequest(client, interceptedRequest); final com.google.common.base.Function transformer = ListConnectionsConverter.fromResponse(); com.oracle.bmc.responses.AsyncHandler handlerToUse = handler; java.util.function.Function< com.oracle.bmc.responses.AsyncHandler< ListConnectionsRequest, ListConnectionsResponse>, java.util.concurrent.Future> futureSupplier = client.getFutureSupplier(interceptedRequest, ib, transformer); if (this.authenticationDetailsProvider instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) { return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper< ListConnectionsRequest, ListConnectionsResponse>( (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) this.authenticationDetailsProvider, handlerToUse, futureSupplier) { @Override protected void beforeRetryAction() {} }; } else { return futureSupplier.apply(handlerToUse); } } @Override public java.util.concurrent.Future listDataAssets( ListDataAssetsRequest request, final com.oracle.bmc.responses.AsyncHandler< ListDataAssetsRequest, ListDataAssetsResponse> handler) { LOG.trace("Called async listDataAssets"); final ListDataAssetsRequest interceptedRequest = ListDataAssetsConverter.interceptRequest(request); final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = ListDataAssetsConverter.fromRequest(client, interceptedRequest); final com.google.common.base.Function transformer = ListDataAssetsConverter.fromResponse(); com.oracle.bmc.responses.AsyncHandler handlerToUse = handler; java.util.function.Function< com.oracle.bmc.responses.AsyncHandler< ListDataAssetsRequest, ListDataAssetsResponse>, java.util.concurrent.Future> futureSupplier = client.getFutureSupplier(interceptedRequest, ib, transformer); if (this.authenticationDetailsProvider instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) { return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper< ListDataAssetsRequest, ListDataAssetsResponse>( (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) this.authenticationDetailsProvider, handlerToUse, futureSupplier) { @Override protected void beforeRetryAction() {} }; } else { return futureSupplier.apply(handlerToUse); } } @Override public java.util.concurrent.Future listDataEntities( ListDataEntitiesRequest request, final com.oracle.bmc.responses.AsyncHandler< ListDataEntitiesRequest, ListDataEntitiesResponse> handler) { LOG.trace("Called async listDataEntities"); final ListDataEntitiesRequest interceptedRequest = ListDataEntitiesConverter.interceptRequest(request); final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = ListDataEntitiesConverter.fromRequest(client, interceptedRequest); final com.google.common.base.Function transformer = ListDataEntitiesConverter.fromResponse(); com.oracle.bmc.responses.AsyncHandler handlerToUse = handler; java.util.function.Function< com.oracle.bmc.responses.AsyncHandler< ListDataEntitiesRequest, ListDataEntitiesResponse>, java.util.concurrent.Future> futureSupplier = client.getFutureSupplier(interceptedRequest, ib, transformer); if (this.authenticationDetailsProvider instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) { return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper< ListDataEntitiesRequest, ListDataEntitiesResponse>( (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) this.authenticationDetailsProvider, handlerToUse, futureSupplier) { @Override protected void beforeRetryAction() {} }; } else { return futureSupplier.apply(handlerToUse); } } @Override public java.util.concurrent.Future listDataFlowValidations( ListDataFlowValidationsRequest request, final com.oracle.bmc.responses.AsyncHandler< ListDataFlowValidationsRequest, ListDataFlowValidationsResponse> handler) { LOG.trace("Called async listDataFlowValidations"); final ListDataFlowValidationsRequest interceptedRequest = ListDataFlowValidationsConverter.interceptRequest(request); final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = ListDataFlowValidationsConverter.fromRequest(client, interceptedRequest); final com.google.common.base.Function< javax.ws.rs.core.Response, ListDataFlowValidationsResponse> transformer = ListDataFlowValidationsConverter.fromResponse(); com.oracle.bmc.responses.AsyncHandler< ListDataFlowValidationsRequest, ListDataFlowValidationsResponse> handlerToUse = handler; java.util.function.Function< com.oracle.bmc.responses.AsyncHandler< ListDataFlowValidationsRequest, ListDataFlowValidationsResponse>, java.util.concurrent.Future> futureSupplier = client.getFutureSupplier(interceptedRequest, ib, transformer); if (this.authenticationDetailsProvider instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) { return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper< ListDataFlowValidationsRequest, ListDataFlowValidationsResponse>( (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) this.authenticationDetailsProvider, handlerToUse, futureSupplier) { @Override protected void beforeRetryAction() {} }; } else { return futureSupplier.apply(handlerToUse); } } @Override public java.util.concurrent.Future listDataFlows( ListDataFlowsRequest request, final com.oracle.bmc.responses.AsyncHandler handler) { LOG.trace("Called async listDataFlows"); final ListDataFlowsRequest interceptedRequest = ListDataFlowsConverter.interceptRequest(request); final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = ListDataFlowsConverter.fromRequest(client, interceptedRequest); final com.google.common.base.Function transformer = ListDataFlowsConverter.fromResponse(); com.oracle.bmc.responses.AsyncHandler handlerToUse = handler; java.util.function.Function< com.oracle.bmc.responses.AsyncHandler< ListDataFlowsRequest, ListDataFlowsResponse>, java.util.concurrent.Future> futureSupplier = client.getFutureSupplier(interceptedRequest, ib, transformer); if (this.authenticationDetailsProvider instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) { return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper< ListDataFlowsRequest, ListDataFlowsResponse>( (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) this.authenticationDetailsProvider, handlerToUse, futureSupplier) { @Override protected void beforeRetryAction() {} }; } else { return futureSupplier.apply(handlerToUse); } } @Override public java.util.concurrent.Future listDependentObjects( ListDependentObjectsRequest request, final com.oracle.bmc.responses.AsyncHandler< ListDependentObjectsRequest, ListDependentObjectsResponse> handler) { LOG.trace("Called async listDependentObjects"); final ListDependentObjectsRequest interceptedRequest = ListDependentObjectsConverter.interceptRequest(request); final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = ListDependentObjectsConverter.fromRequest(client, interceptedRequest); final com.google.common.base.Function< javax.ws.rs.core.Response, ListDependentObjectsResponse> transformer = ListDependentObjectsConverter.fromResponse(); com.oracle.bmc.responses.AsyncHandler< ListDependentObjectsRequest, ListDependentObjectsResponse> handlerToUse = handler; java.util.function.Function< com.oracle.bmc.responses.AsyncHandler< ListDependentObjectsRequest, ListDependentObjectsResponse>, java.util.concurrent.Future> futureSupplier = client.getFutureSupplier(interceptedRequest, ib, transformer); if (this.authenticationDetailsProvider instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) { return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper< ListDependentObjectsRequest, ListDependentObjectsResponse>( (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) this.authenticationDetailsProvider, handlerToUse, futureSupplier) { @Override protected void beforeRetryAction() {} }; } else { return futureSupplier.apply(handlerToUse); } } @Override public java.util.concurrent.Future listExternalPublicationValidations( ListExternalPublicationValidationsRequest request, final com.oracle.bmc.responses.AsyncHandler< ListExternalPublicationValidationsRequest, ListExternalPublicationValidationsResponse> handler) { LOG.trace("Called async listExternalPublicationValidations"); final ListExternalPublicationValidationsRequest interceptedRequest = ListExternalPublicationValidationsConverter.interceptRequest(request); final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = ListExternalPublicationValidationsConverter.fromRequest(client, interceptedRequest); final com.google.common.base.Function< javax.ws.rs.core.Response, ListExternalPublicationValidationsResponse> transformer = ListExternalPublicationValidationsConverter.fromResponse(); com.oracle.bmc.responses.AsyncHandler< ListExternalPublicationValidationsRequest, ListExternalPublicationValidationsResponse> handlerToUse = handler; java.util.function.Function< com.oracle.bmc.responses.AsyncHandler< ListExternalPublicationValidationsRequest, ListExternalPublicationValidationsResponse>, java.util.concurrent.Future> futureSupplier = client.getFutureSupplier(interceptedRequest, ib, transformer); if (this.authenticationDetailsProvider instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) { return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper< ListExternalPublicationValidationsRequest, ListExternalPublicationValidationsResponse>( (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) this.authenticationDetailsProvider, handlerToUse, futureSupplier) { @Override protected void beforeRetryAction() {} }; } else { return futureSupplier.apply(handlerToUse); } } @Override public java.util.concurrent.Future listExternalPublications( ListExternalPublicationsRequest request, final com.oracle.bmc.responses.AsyncHandler< ListExternalPublicationsRequest, ListExternalPublicationsResponse> handler) { LOG.trace("Called async listExternalPublications"); final ListExternalPublicationsRequest interceptedRequest = ListExternalPublicationsConverter.interceptRequest(request); final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = ListExternalPublicationsConverter.fromRequest(client, interceptedRequest); final com.google.common.base.Function< javax.ws.rs.core.Response, ListExternalPublicationsResponse> transformer = ListExternalPublicationsConverter.fromResponse(); com.oracle.bmc.responses.AsyncHandler< ListExternalPublicationsRequest, ListExternalPublicationsResponse> handlerToUse = handler; java.util.function.Function< com.oracle.bmc.responses.AsyncHandler< ListExternalPublicationsRequest, ListExternalPublicationsResponse>, java.util.concurrent.Future> futureSupplier = client.getFutureSupplier(interceptedRequest, ib, transformer); if (this.authenticationDetailsProvider instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) { return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper< ListExternalPublicationsRequest, ListExternalPublicationsResponse>( (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) this.authenticationDetailsProvider, handlerToUse, futureSupplier) { @Override protected void beforeRetryAction() {} }; } else { return futureSupplier.apply(handlerToUse); } } @Override public java.util.concurrent.Future listFolders( ListFoldersRequest request, final com.oracle.bmc.responses.AsyncHandler handler) { LOG.trace("Called async listFolders"); final ListFoldersRequest interceptedRequest = ListFoldersConverter.interceptRequest(request); final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = ListFoldersConverter.fromRequest(client, interceptedRequest); final com.google.common.base.Function transformer = ListFoldersConverter.fromResponse(); com.oracle.bmc.responses.AsyncHandler handlerToUse = handler; java.util.function.Function< com.oracle.bmc.responses.AsyncHandler< ListFoldersRequest, ListFoldersResponse>, java.util.concurrent.Future> futureSupplier = client.getFutureSupplier(interceptedRequest, ib, transformer); if (this.authenticationDetailsProvider instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) { return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper< ListFoldersRequest, ListFoldersResponse>( (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) this.authenticationDetailsProvider, handlerToUse, futureSupplier) { @Override protected void beforeRetryAction() {} }; } else { return futureSupplier.apply(handlerToUse); } } @Override public java.util.concurrent.Future listPatchChanges( ListPatchChangesRequest request, final com.oracle.bmc.responses.AsyncHandler< ListPatchChangesRequest, ListPatchChangesResponse> handler) { LOG.trace("Called async listPatchChanges"); final ListPatchChangesRequest interceptedRequest = ListPatchChangesConverter.interceptRequest(request); final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = ListPatchChangesConverter.fromRequest(client, interceptedRequest); final com.google.common.base.Function transformer = ListPatchChangesConverter.fromResponse(); com.oracle.bmc.responses.AsyncHandler handlerToUse = handler; java.util.function.Function< com.oracle.bmc.responses.AsyncHandler< ListPatchChangesRequest, ListPatchChangesResponse>, java.util.concurrent.Future> futureSupplier = client.getFutureSupplier(interceptedRequest, ib, transformer); if (this.authenticationDetailsProvider instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) { return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper< ListPatchChangesRequest, ListPatchChangesResponse>( (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) this.authenticationDetailsProvider, handlerToUse, futureSupplier) { @Override protected void beforeRetryAction() {} }; } else { return futureSupplier.apply(handlerToUse); } } @Override public java.util.concurrent.Future listPatches( ListPatchesRequest request, final com.oracle.bmc.responses.AsyncHandler handler) { LOG.trace("Called async listPatches"); final ListPatchesRequest interceptedRequest = ListPatchesConverter.interceptRequest(request); final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = ListPatchesConverter.fromRequest(client, interceptedRequest); final com.google.common.base.Function transformer = ListPatchesConverter.fromResponse(); com.oracle.bmc.responses.AsyncHandler handlerToUse = handler; java.util.function.Function< com.oracle.bmc.responses.AsyncHandler< ListPatchesRequest, ListPatchesResponse>, java.util.concurrent.Future> futureSupplier = client.getFutureSupplier(interceptedRequest, ib, transformer); if (this.authenticationDetailsProvider instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) { return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper< ListPatchesRequest, ListPatchesResponse>( (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) this.authenticationDetailsProvider, handlerToUse, futureSupplier) { @Override protected void beforeRetryAction() {} }; } else { return futureSupplier.apply(handlerToUse); } } @Override public java.util.concurrent.Future listPipelineValidations( ListPipelineValidationsRequest request, final com.oracle.bmc.responses.AsyncHandler< ListPipelineValidationsRequest, ListPipelineValidationsResponse> handler) { LOG.trace("Called async listPipelineValidations"); final ListPipelineValidationsRequest interceptedRequest = ListPipelineValidationsConverter.interceptRequest(request); final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = ListPipelineValidationsConverter.fromRequest(client, interceptedRequest); final com.google.common.base.Function< javax.ws.rs.core.Response, ListPipelineValidationsResponse> transformer = ListPipelineValidationsConverter.fromResponse(); com.oracle.bmc.responses.AsyncHandler< ListPipelineValidationsRequest, ListPipelineValidationsResponse> handlerToUse = handler; java.util.function.Function< com.oracle.bmc.responses.AsyncHandler< ListPipelineValidationsRequest, ListPipelineValidationsResponse>, java.util.concurrent.Future> futureSupplier = client.getFutureSupplier(interceptedRequest, ib, transformer); if (this.authenticationDetailsProvider instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) { return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper< ListPipelineValidationsRequest, ListPipelineValidationsResponse>( (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) this.authenticationDetailsProvider, handlerToUse, futureSupplier) { @Override protected void beforeRetryAction() {} }; } else { return futureSupplier.apply(handlerToUse); } } @Override public java.util.concurrent.Future listPipelines( ListPipelinesRequest request, final com.oracle.bmc.responses.AsyncHandler handler) { LOG.trace("Called async listPipelines"); final ListPipelinesRequest interceptedRequest = ListPipelinesConverter.interceptRequest(request); final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = ListPipelinesConverter.fromRequest(client, interceptedRequest); final com.google.common.base.Function transformer = ListPipelinesConverter.fromResponse(); com.oracle.bmc.responses.AsyncHandler handlerToUse = handler; java.util.function.Function< com.oracle.bmc.responses.AsyncHandler< ListPipelinesRequest, ListPipelinesResponse>, java.util.concurrent.Future> futureSupplier = client.getFutureSupplier(interceptedRequest, ib, transformer); if (this.authenticationDetailsProvider instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) { return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper< ListPipelinesRequest, ListPipelinesResponse>( (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) this.authenticationDetailsProvider, handlerToUse, futureSupplier) { @Override protected void beforeRetryAction() {} }; } else { return futureSupplier.apply(handlerToUse); } } @Override public java.util.concurrent.Future listProjects( ListProjectsRequest request, final com.oracle.bmc.responses.AsyncHandler handler) { LOG.trace("Called async listProjects"); final ListProjectsRequest interceptedRequest = ListProjectsConverter.interceptRequest(request); final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = ListProjectsConverter.fromRequest(client, interceptedRequest); final com.google.common.base.Function transformer = ListProjectsConverter.fromResponse(); com.oracle.bmc.responses.AsyncHandler handlerToUse = handler; java.util.function.Function< com.oracle.bmc.responses.AsyncHandler< ListProjectsRequest, ListProjectsResponse>, java.util.concurrent.Future> futureSupplier = client.getFutureSupplier(interceptedRequest, ib, transformer); if (this.authenticationDetailsProvider instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) { return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper< ListProjectsRequest, ListProjectsResponse>( (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) this.authenticationDetailsProvider, handlerToUse, futureSupplier) { @Override protected void beforeRetryAction() {} }; } else { return futureSupplier.apply(handlerToUse); } } @Override public java.util.concurrent.Future listPublishedObjects( ListPublishedObjectsRequest request, final com.oracle.bmc.responses.AsyncHandler< ListPublishedObjectsRequest, ListPublishedObjectsResponse> handler) { LOG.trace("Called async listPublishedObjects"); final ListPublishedObjectsRequest interceptedRequest = ListPublishedObjectsConverter.interceptRequest(request); final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = ListPublishedObjectsConverter.fromRequest(client, interceptedRequest); final com.google.common.base.Function< javax.ws.rs.core.Response, ListPublishedObjectsResponse> transformer = ListPublishedObjectsConverter.fromResponse(); com.oracle.bmc.responses.AsyncHandler< ListPublishedObjectsRequest, ListPublishedObjectsResponse> handlerToUse = handler; java.util.function.Function< com.oracle.bmc.responses.AsyncHandler< ListPublishedObjectsRequest, ListPublishedObjectsResponse>, java.util.concurrent.Future> futureSupplier = client.getFutureSupplier(interceptedRequest, ib, transformer); if (this.authenticationDetailsProvider instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) { return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper< ListPublishedObjectsRequest, ListPublishedObjectsResponse>( (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) this.authenticationDetailsProvider, handlerToUse, futureSupplier) { @Override protected void beforeRetryAction() {} }; } else { return futureSupplier.apply(handlerToUse); } } @Override public java.util.concurrent.Future listReferences( ListReferencesRequest request, final com.oracle.bmc.responses.AsyncHandler< ListReferencesRequest, ListReferencesResponse> handler) { LOG.trace("Called async listReferences"); final ListReferencesRequest interceptedRequest = ListReferencesConverter.interceptRequest(request); final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = ListReferencesConverter.fromRequest(client, interceptedRequest); final com.google.common.base.Function transformer = ListReferencesConverter.fromResponse(); com.oracle.bmc.responses.AsyncHandler handlerToUse = handler; java.util.function.Function< com.oracle.bmc.responses.AsyncHandler< ListReferencesRequest, ListReferencesResponse>, java.util.concurrent.Future> futureSupplier = client.getFutureSupplier(interceptedRequest, ib, transformer); if (this.authenticationDetailsProvider instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) { return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper< ListReferencesRequest, ListReferencesResponse>( (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) this.authenticationDetailsProvider, handlerToUse, futureSupplier) { @Override protected void beforeRetryAction() {} }; } else { return futureSupplier.apply(handlerToUse); } } @Override public java.util.concurrent.Future listSchemas( ListSchemasRequest request, final com.oracle.bmc.responses.AsyncHandler handler) { LOG.trace("Called async listSchemas"); final ListSchemasRequest interceptedRequest = ListSchemasConverter.interceptRequest(request); final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = ListSchemasConverter.fromRequest(client, interceptedRequest); final com.google.common.base.Function transformer = ListSchemasConverter.fromResponse(); com.oracle.bmc.responses.AsyncHandler handlerToUse = handler; java.util.function.Function< com.oracle.bmc.responses.AsyncHandler< ListSchemasRequest, ListSchemasResponse>, java.util.concurrent.Future> futureSupplier = client.getFutureSupplier(interceptedRequest, ib, transformer); if (this.authenticationDetailsProvider instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) { return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper< ListSchemasRequest, ListSchemasResponse>( (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) this.authenticationDetailsProvider, handlerToUse, futureSupplier) { @Override protected void beforeRetryAction() {} }; } else { return futureSupplier.apply(handlerToUse); } } @Override public java.util.concurrent.Future listTaskRunLogs( ListTaskRunLogsRequest request, final com.oracle.bmc.responses.AsyncHandler< ListTaskRunLogsRequest, ListTaskRunLogsResponse> handler) { LOG.trace("Called async listTaskRunLogs"); final ListTaskRunLogsRequest interceptedRequest = ListTaskRunLogsConverter.interceptRequest(request); final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = ListTaskRunLogsConverter.fromRequest(client, interceptedRequest); final com.google.common.base.Function transformer = ListTaskRunLogsConverter.fromResponse(); com.oracle.bmc.responses.AsyncHandler handlerToUse = handler; java.util.function.Function< com.oracle.bmc.responses.AsyncHandler< ListTaskRunLogsRequest, ListTaskRunLogsResponse>, java.util.concurrent.Future> futureSupplier = client.getFutureSupplier(interceptedRequest, ib, transformer); if (this.authenticationDetailsProvider instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) { return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper< ListTaskRunLogsRequest, ListTaskRunLogsResponse>( (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) this.authenticationDetailsProvider, handlerToUse, futureSupplier) { @Override protected void beforeRetryAction() {} }; } else { return futureSupplier.apply(handlerToUse); } } @Override public java.util.concurrent.Future listTaskRuns( ListTaskRunsRequest request, final com.oracle.bmc.responses.AsyncHandler handler) { LOG.trace("Called async listTaskRuns"); final ListTaskRunsRequest interceptedRequest = ListTaskRunsConverter.interceptRequest(request); final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = ListTaskRunsConverter.fromRequest(client, interceptedRequest); final com.google.common.base.Function transformer = ListTaskRunsConverter.fromResponse(); com.oracle.bmc.responses.AsyncHandler handlerToUse = handler; java.util.function.Function< com.oracle.bmc.responses.AsyncHandler< ListTaskRunsRequest, ListTaskRunsResponse>, java.util.concurrent.Future> futureSupplier = client.getFutureSupplier(interceptedRequest, ib, transformer); if (this.authenticationDetailsProvider instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) { return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper< ListTaskRunsRequest, ListTaskRunsResponse>( (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) this.authenticationDetailsProvider, handlerToUse, futureSupplier) { @Override protected void beforeRetryAction() {} }; } else { return futureSupplier.apply(handlerToUse); } } @Override public java.util.concurrent.Future listTaskValidations( ListTaskValidationsRequest request, final com.oracle.bmc.responses.AsyncHandler< ListTaskValidationsRequest, ListTaskValidationsResponse> handler) { LOG.trace("Called async listTaskValidations"); final ListTaskValidationsRequest interceptedRequest = ListTaskValidationsConverter.interceptRequest(request); final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = ListTaskValidationsConverter.fromRequest(client, interceptedRequest); final com.google.common.base.Function< javax.ws.rs.core.Response, ListTaskValidationsResponse> transformer = ListTaskValidationsConverter.fromResponse(); com.oracle.bmc.responses.AsyncHandler< ListTaskValidationsRequest, ListTaskValidationsResponse> handlerToUse = handler; java.util.function.Function< com.oracle.bmc.responses.AsyncHandler< ListTaskValidationsRequest, ListTaskValidationsResponse>, java.util.concurrent.Future> futureSupplier = client.getFutureSupplier(interceptedRequest, ib, transformer); if (this.authenticationDetailsProvider instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) { return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper< ListTaskValidationsRequest, ListTaskValidationsResponse>( (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) this.authenticationDetailsProvider, handlerToUse, futureSupplier) { @Override protected void beforeRetryAction() {} }; } else { return futureSupplier.apply(handlerToUse); } } @Override public java.util.concurrent.Future listTasks( ListTasksRequest request, final com.oracle.bmc.responses.AsyncHandler handler) { LOG.trace("Called async listTasks"); final ListTasksRequest interceptedRequest = ListTasksConverter.interceptRequest(request); final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = ListTasksConverter.fromRequest(client, interceptedRequest); final com.google.common.base.Function transformer = ListTasksConverter.fromResponse(); com.oracle.bmc.responses.AsyncHandler handlerToUse = handler; java.util.function.Function< com.oracle.bmc.responses.AsyncHandler, java.util.concurrent.Future> futureSupplier = client.getFutureSupplier(interceptedRequest, ib, transformer); if (this.authenticationDetailsProvider instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) { return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper< ListTasksRequest, ListTasksResponse>( (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) this.authenticationDetailsProvider, handlerToUse, futureSupplier) { @Override protected void beforeRetryAction() {} }; } else { return futureSupplier.apply(handlerToUse); } } @Override public java.util.concurrent.Future listWorkRequestErrors( ListWorkRequestErrorsRequest request, final com.oracle.bmc.responses.AsyncHandler< ListWorkRequestErrorsRequest, ListWorkRequestErrorsResponse> handler) { LOG.trace("Called async listWorkRequestErrors"); final ListWorkRequestErrorsRequest interceptedRequest = ListWorkRequestErrorsConverter.interceptRequest(request); final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = ListWorkRequestErrorsConverter.fromRequest(client, interceptedRequest); final com.google.common.base.Function< javax.ws.rs.core.Response, ListWorkRequestErrorsResponse> transformer = ListWorkRequestErrorsConverter.fromResponse(); com.oracle.bmc.responses.AsyncHandler< ListWorkRequestErrorsRequest, ListWorkRequestErrorsResponse> handlerToUse = handler; java.util.function.Function< com.oracle.bmc.responses.AsyncHandler< ListWorkRequestErrorsRequest, ListWorkRequestErrorsResponse>, java.util.concurrent.Future> futureSupplier = client.getFutureSupplier(interceptedRequest, ib, transformer); if (this.authenticationDetailsProvider instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) { return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper< ListWorkRequestErrorsRequest, ListWorkRequestErrorsResponse>( (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) this.authenticationDetailsProvider, handlerToUse, futureSupplier) { @Override protected void beforeRetryAction() {} }; } else { return futureSupplier.apply(handlerToUse); } } @Override public java.util.concurrent.Future listWorkRequestLogs( ListWorkRequestLogsRequest request, final com.oracle.bmc.responses.AsyncHandler< ListWorkRequestLogsRequest, ListWorkRequestLogsResponse> handler) { LOG.trace("Called async listWorkRequestLogs"); final ListWorkRequestLogsRequest interceptedRequest = ListWorkRequestLogsConverter.interceptRequest(request); final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = ListWorkRequestLogsConverter.fromRequest(client, interceptedRequest); final com.google.common.base.Function< javax.ws.rs.core.Response, ListWorkRequestLogsResponse> transformer = ListWorkRequestLogsConverter.fromResponse(); com.oracle.bmc.responses.AsyncHandler< ListWorkRequestLogsRequest, ListWorkRequestLogsResponse> handlerToUse = handler; java.util.function.Function< com.oracle.bmc.responses.AsyncHandler< ListWorkRequestLogsRequest, ListWorkRequestLogsResponse>, java.util.concurrent.Future> futureSupplier = client.getFutureSupplier(interceptedRequest, ib, transformer); if (this.authenticationDetailsProvider instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) { return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper< ListWorkRequestLogsRequest, ListWorkRequestLogsResponse>( (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) this.authenticationDetailsProvider, handlerToUse, futureSupplier) { @Override protected void beforeRetryAction() {} }; } else { return futureSupplier.apply(handlerToUse); } } @Override public java.util.concurrent.Future listWorkRequests( ListWorkRequestsRequest request, final com.oracle.bmc.responses.AsyncHandler< ListWorkRequestsRequest, ListWorkRequestsResponse> handler) { LOG.trace("Called async listWorkRequests"); final ListWorkRequestsRequest interceptedRequest = ListWorkRequestsConverter.interceptRequest(request); final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = ListWorkRequestsConverter.fromRequest(client, interceptedRequest); final com.google.common.base.Function transformer = ListWorkRequestsConverter.fromResponse(); com.oracle.bmc.responses.AsyncHandler handlerToUse = handler; java.util.function.Function< com.oracle.bmc.responses.AsyncHandler< ListWorkRequestsRequest, ListWorkRequestsResponse>, java.util.concurrent.Future> futureSupplier = client.getFutureSupplier(interceptedRequest, ib, transformer); if (this.authenticationDetailsProvider instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) { return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper< ListWorkRequestsRequest, ListWorkRequestsResponse>( (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) this.authenticationDetailsProvider, handlerToUse, futureSupplier) { @Override protected void beforeRetryAction() {} }; } else { return futureSupplier.apply(handlerToUse); } } @Override public java.util.concurrent.Future listWorkspaces( ListWorkspacesRequest request, final com.oracle.bmc.responses.AsyncHandler< ListWorkspacesRequest, ListWorkspacesResponse> handler) { LOG.trace("Called async listWorkspaces"); final ListWorkspacesRequest interceptedRequest = ListWorkspacesConverter.interceptRequest(request); final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = ListWorkspacesConverter.fromRequest(client, interceptedRequest); final com.google.common.base.Function transformer = ListWorkspacesConverter.fromResponse(); com.oracle.bmc.responses.AsyncHandler handlerToUse = handler; java.util.function.Function< com.oracle.bmc.responses.AsyncHandler< ListWorkspacesRequest, ListWorkspacesResponse>, java.util.concurrent.Future> futureSupplier = client.getFutureSupplier(interceptedRequest, ib, transformer); if (this.authenticationDetailsProvider instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) { return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper< ListWorkspacesRequest, ListWorkspacesResponse>( (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) this.authenticationDetailsProvider, handlerToUse, futureSupplier) { @Override protected void beforeRetryAction() {} }; } else { return futureSupplier.apply(handlerToUse); } } @Override public java.util.concurrent.Future startWorkspace( StartWorkspaceRequest request, final com.oracle.bmc.responses.AsyncHandler< StartWorkspaceRequest, StartWorkspaceResponse> handler) { LOG.trace("Called async startWorkspace"); final StartWorkspaceRequest interceptedRequest = StartWorkspaceConverter.interceptRequest(request); final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = StartWorkspaceConverter.fromRequest(client, interceptedRequest); final com.google.common.base.Function transformer = StartWorkspaceConverter.fromResponse(); com.oracle.bmc.http.internal.RetryTokenUtils.addRetryToken(ib); com.oracle.bmc.responses.AsyncHandler handlerToUse = handler; java.util.function.Function< com.oracle.bmc.responses.AsyncHandler< StartWorkspaceRequest, StartWorkspaceResponse>, java.util.concurrent.Future> futureSupplier = client.postFutureSupplier(interceptedRequest, ib, transformer); if (this.authenticationDetailsProvider instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) { return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper< StartWorkspaceRequest, StartWorkspaceResponse>( (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) this.authenticationDetailsProvider, handlerToUse, futureSupplier) { @Override protected void beforeRetryAction() {} }; } else { return futureSupplier.apply(handlerToUse); } } @Override public java.util.concurrent.Future stopWorkspace( StopWorkspaceRequest request, final com.oracle.bmc.responses.AsyncHandler handler) { LOG.trace("Called async stopWorkspace"); final StopWorkspaceRequest interceptedRequest = StopWorkspaceConverter.interceptRequest(request); final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = StopWorkspaceConverter.fromRequest(client, interceptedRequest); final com.google.common.base.Function transformer = StopWorkspaceConverter.fromResponse(); com.oracle.bmc.http.internal.RetryTokenUtils.addRetryToken(ib); com.oracle.bmc.responses.AsyncHandler handlerToUse = handler; java.util.function.Function< com.oracle.bmc.responses.AsyncHandler< StopWorkspaceRequest, StopWorkspaceResponse>, java.util.concurrent.Future> futureSupplier = client.postFutureSupplier(interceptedRequest, ib, transformer); if (this.authenticationDetailsProvider instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) { return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper< StopWorkspaceRequest, StopWorkspaceResponse>( (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) this.authenticationDetailsProvider, handlerToUse, futureSupplier) { @Override protected void beforeRetryAction() {} }; } else { return futureSupplier.apply(handlerToUse); } } @Override public java.util.concurrent.Future updateApplication( UpdateApplicationRequest request, final com.oracle.bmc.responses.AsyncHandler< UpdateApplicationRequest, UpdateApplicationResponse> handler) { LOG.trace("Called async updateApplication"); final UpdateApplicationRequest interceptedRequest = UpdateApplicationConverter.interceptRequest(request); final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = UpdateApplicationConverter.fromRequest(client, interceptedRequest); final com.google.common.base.Function transformer = UpdateApplicationConverter.fromResponse(); com.oracle.bmc.responses.AsyncHandler handlerToUse = handler; java.util.function.Function< com.oracle.bmc.responses.AsyncHandler< UpdateApplicationRequest, UpdateApplicationResponse>, java.util.concurrent.Future> futureSupplier = client.putFutureSupplier(interceptedRequest, ib, transformer); if (this.authenticationDetailsProvider instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) { return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper< UpdateApplicationRequest, UpdateApplicationResponse>( (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) this.authenticationDetailsProvider, handlerToUse, futureSupplier) { @Override protected void beforeRetryAction() {} }; } else { return futureSupplier.apply(handlerToUse); } } @Override public java.util.concurrent.Future updateConnection( UpdateConnectionRequest request, final com.oracle.bmc.responses.AsyncHandler< UpdateConnectionRequest, UpdateConnectionResponse> handler) { LOG.trace("Called async updateConnection"); final UpdateConnectionRequest interceptedRequest = UpdateConnectionConverter.interceptRequest(request); final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = UpdateConnectionConverter.fromRequest(client, interceptedRequest); final com.google.common.base.Function transformer = UpdateConnectionConverter.fromResponse(); com.oracle.bmc.responses.AsyncHandler handlerToUse = handler; java.util.function.Function< com.oracle.bmc.responses.AsyncHandler< UpdateConnectionRequest, UpdateConnectionResponse>, java.util.concurrent.Future> futureSupplier = client.putFutureSupplier(interceptedRequest, ib, transformer); if (this.authenticationDetailsProvider instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) { return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper< UpdateConnectionRequest, UpdateConnectionResponse>( (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) this.authenticationDetailsProvider, handlerToUse, futureSupplier) { @Override protected void beforeRetryAction() {} }; } else { return futureSupplier.apply(handlerToUse); } } @Override public java.util.concurrent.Future updateDataAsset( UpdateDataAssetRequest request, final com.oracle.bmc.responses.AsyncHandler< UpdateDataAssetRequest, UpdateDataAssetResponse> handler) { LOG.trace("Called async updateDataAsset"); final UpdateDataAssetRequest interceptedRequest = UpdateDataAssetConverter.interceptRequest(request); final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = UpdateDataAssetConverter.fromRequest(client, interceptedRequest); final com.google.common.base.Function transformer = UpdateDataAssetConverter.fromResponse(); com.oracle.bmc.responses.AsyncHandler handlerToUse = handler; java.util.function.Function< com.oracle.bmc.responses.AsyncHandler< UpdateDataAssetRequest, UpdateDataAssetResponse>, java.util.concurrent.Future> futureSupplier = client.putFutureSupplier(interceptedRequest, ib, transformer); if (this.authenticationDetailsProvider instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) { return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper< UpdateDataAssetRequest, UpdateDataAssetResponse>( (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) this.authenticationDetailsProvider, handlerToUse, futureSupplier) { @Override protected void beforeRetryAction() {} }; } else { return futureSupplier.apply(handlerToUse); } } @Override public java.util.concurrent.Future updateDataFlow( UpdateDataFlowRequest request, final com.oracle.bmc.responses.AsyncHandler< UpdateDataFlowRequest, UpdateDataFlowResponse> handler) { LOG.trace("Called async updateDataFlow"); final UpdateDataFlowRequest interceptedRequest = UpdateDataFlowConverter.interceptRequest(request); final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = UpdateDataFlowConverter.fromRequest(client, interceptedRequest); final com.google.common.base.Function transformer = UpdateDataFlowConverter.fromResponse(); com.oracle.bmc.responses.AsyncHandler handlerToUse = handler; java.util.function.Function< com.oracle.bmc.responses.AsyncHandler< UpdateDataFlowRequest, UpdateDataFlowResponse>, java.util.concurrent.Future> futureSupplier = client.putFutureSupplier(interceptedRequest, ib, transformer); if (this.authenticationDetailsProvider instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) { return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper< UpdateDataFlowRequest, UpdateDataFlowResponse>( (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) this.authenticationDetailsProvider, handlerToUse, futureSupplier) { @Override protected void beforeRetryAction() {} }; } else { return futureSupplier.apply(handlerToUse); } } @Override public java.util.concurrent.Future updateExternalPublication( UpdateExternalPublicationRequest request, final com.oracle.bmc.responses.AsyncHandler< UpdateExternalPublicationRequest, UpdateExternalPublicationResponse> handler) { LOG.trace("Called async updateExternalPublication"); final UpdateExternalPublicationRequest interceptedRequest = UpdateExternalPublicationConverter.interceptRequest(request); final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = UpdateExternalPublicationConverter.fromRequest(client, interceptedRequest); final com.google.common.base.Function< javax.ws.rs.core.Response, UpdateExternalPublicationResponse> transformer = UpdateExternalPublicationConverter.fromResponse(); com.oracle.bmc.responses.AsyncHandler< UpdateExternalPublicationRequest, UpdateExternalPublicationResponse> handlerToUse = handler; java.util.function.Function< com.oracle.bmc.responses.AsyncHandler< UpdateExternalPublicationRequest, UpdateExternalPublicationResponse>, java.util.concurrent.Future> futureSupplier = client.putFutureSupplier(interceptedRequest, ib, transformer); if (this.authenticationDetailsProvider instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) { return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper< UpdateExternalPublicationRequest, UpdateExternalPublicationResponse>( (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) this.authenticationDetailsProvider, handlerToUse, futureSupplier) { @Override protected void beforeRetryAction() {} }; } else { return futureSupplier.apply(handlerToUse); } } @Override public java.util.concurrent.Future updateFolder( UpdateFolderRequest request, final com.oracle.bmc.responses.AsyncHandler handler) { LOG.trace("Called async updateFolder"); final UpdateFolderRequest interceptedRequest = UpdateFolderConverter.interceptRequest(request); final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = UpdateFolderConverter.fromRequest(client, interceptedRequest); final com.google.common.base.Function transformer = UpdateFolderConverter.fromResponse(); com.oracle.bmc.responses.AsyncHandler handlerToUse = handler; java.util.function.Function< com.oracle.bmc.responses.AsyncHandler< UpdateFolderRequest, UpdateFolderResponse>, java.util.concurrent.Future> futureSupplier = client.putFutureSupplier(interceptedRequest, ib, transformer); if (this.authenticationDetailsProvider instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) { return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper< UpdateFolderRequest, UpdateFolderResponse>( (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) this.authenticationDetailsProvider, handlerToUse, futureSupplier) { @Override protected void beforeRetryAction() {} }; } else { return futureSupplier.apply(handlerToUse); } } @Override public java.util.concurrent.Future updatePipeline( UpdatePipelineRequest request, final com.oracle.bmc.responses.AsyncHandler< UpdatePipelineRequest, UpdatePipelineResponse> handler) { LOG.trace("Called async updatePipeline"); final UpdatePipelineRequest interceptedRequest = UpdatePipelineConverter.interceptRequest(request); final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = UpdatePipelineConverter.fromRequest(client, interceptedRequest); final com.google.common.base.Function transformer = UpdatePipelineConverter.fromResponse(); com.oracle.bmc.responses.AsyncHandler handlerToUse = handler; java.util.function.Function< com.oracle.bmc.responses.AsyncHandler< UpdatePipelineRequest, UpdatePipelineResponse>, java.util.concurrent.Future> futureSupplier = client.putFutureSupplier(interceptedRequest, ib, transformer); if (this.authenticationDetailsProvider instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) { return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper< UpdatePipelineRequest, UpdatePipelineResponse>( (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) this.authenticationDetailsProvider, handlerToUse, futureSupplier) { @Override protected void beforeRetryAction() {} }; } else { return futureSupplier.apply(handlerToUse); } } @Override public java.util.concurrent.Future updateProject( UpdateProjectRequest request, final com.oracle.bmc.responses.AsyncHandler handler) { LOG.trace("Called async updateProject"); final UpdateProjectRequest interceptedRequest = UpdateProjectConverter.interceptRequest(request); final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = UpdateProjectConverter.fromRequest(client, interceptedRequest); final com.google.common.base.Function transformer = UpdateProjectConverter.fromResponse(); com.oracle.bmc.responses.AsyncHandler handlerToUse = handler; java.util.function.Function< com.oracle.bmc.responses.AsyncHandler< UpdateProjectRequest, UpdateProjectResponse>, java.util.concurrent.Future> futureSupplier = client.putFutureSupplier(interceptedRequest, ib, transformer); if (this.authenticationDetailsProvider instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) { return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper< UpdateProjectRequest, UpdateProjectResponse>( (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) this.authenticationDetailsProvider, handlerToUse, futureSupplier) { @Override protected void beforeRetryAction() {} }; } else { return futureSupplier.apply(handlerToUse); } } @Override public java.util.concurrent.Future updateReference( UpdateReferenceRequest request, final com.oracle.bmc.responses.AsyncHandler< UpdateReferenceRequest, UpdateReferenceResponse> handler) { LOG.trace("Called async updateReference"); final UpdateReferenceRequest interceptedRequest = UpdateReferenceConverter.interceptRequest(request); final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = UpdateReferenceConverter.fromRequest(client, interceptedRequest); final com.google.common.base.Function transformer = UpdateReferenceConverter.fromResponse(); com.oracle.bmc.http.internal.RetryTokenUtils.addRetryToken(ib); com.oracle.bmc.responses.AsyncHandler handlerToUse = handler; java.util.function.Function< com.oracle.bmc.responses.AsyncHandler< UpdateReferenceRequest, UpdateReferenceResponse>, java.util.concurrent.Future> futureSupplier = client.putFutureSupplier(interceptedRequest, ib, transformer); if (this.authenticationDetailsProvider instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) { return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper< UpdateReferenceRequest, UpdateReferenceResponse>( (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) this.authenticationDetailsProvider, handlerToUse, futureSupplier) { @Override protected void beforeRetryAction() {} }; } else { return futureSupplier.apply(handlerToUse); } } @Override public java.util.concurrent.Future updateTask( UpdateTaskRequest request, final com.oracle.bmc.responses.AsyncHandler handler) { LOG.trace("Called async updateTask"); final UpdateTaskRequest interceptedRequest = UpdateTaskConverter.interceptRequest(request); final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = UpdateTaskConverter.fromRequest(client, interceptedRequest); final com.google.common.base.Function transformer = UpdateTaskConverter.fromResponse(); com.oracle.bmc.responses.AsyncHandler handlerToUse = handler; java.util.function.Function< com.oracle.bmc.responses.AsyncHandler< UpdateTaskRequest, UpdateTaskResponse>, java.util.concurrent.Future> futureSupplier = client.putFutureSupplier(interceptedRequest, ib, transformer); if (this.authenticationDetailsProvider instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) { return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper< UpdateTaskRequest, UpdateTaskResponse>( (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) this.authenticationDetailsProvider, handlerToUse, futureSupplier) { @Override protected void beforeRetryAction() {} }; } else { return futureSupplier.apply(handlerToUse); } } @Override public java.util.concurrent.Future updateTaskRun( UpdateTaskRunRequest request, final com.oracle.bmc.responses.AsyncHandler handler) { LOG.trace("Called async updateTaskRun"); final UpdateTaskRunRequest interceptedRequest = UpdateTaskRunConverter.interceptRequest(request); final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = UpdateTaskRunConverter.fromRequest(client, interceptedRequest); final com.google.common.base.Function transformer = UpdateTaskRunConverter.fromResponse(); com.oracle.bmc.responses.AsyncHandler handlerToUse = handler; java.util.function.Function< com.oracle.bmc.responses.AsyncHandler< UpdateTaskRunRequest, UpdateTaskRunResponse>, java.util.concurrent.Future> futureSupplier = client.putFutureSupplier(interceptedRequest, ib, transformer); if (this.authenticationDetailsProvider instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) { return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper< UpdateTaskRunRequest, UpdateTaskRunResponse>( (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) this.authenticationDetailsProvider, handlerToUse, futureSupplier) { @Override protected void beforeRetryAction() {} }; } else { return futureSupplier.apply(handlerToUse); } } @Override public java.util.concurrent.Future updateWorkspace( UpdateWorkspaceRequest request, final com.oracle.bmc.responses.AsyncHandler< UpdateWorkspaceRequest, UpdateWorkspaceResponse> handler) { LOG.trace("Called async updateWorkspace"); final UpdateWorkspaceRequest interceptedRequest = UpdateWorkspaceConverter.interceptRequest(request); final com.oracle.bmc.http.internal.WrappedInvocationBuilder ib = UpdateWorkspaceConverter.fromRequest(client, interceptedRequest); final com.google.common.base.Function transformer = UpdateWorkspaceConverter.fromResponse(); com.oracle.bmc.responses.AsyncHandler handlerToUse = handler; java.util.function.Function< com.oracle.bmc.responses.AsyncHandler< UpdateWorkspaceRequest, UpdateWorkspaceResponse>, java.util.concurrent.Future> futureSupplier = client.putFutureSupplier(interceptedRequest, ib, transformer); if (this.authenticationDetailsProvider instanceof com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) { return new com.oracle.bmc.util.internal.RefreshAuthTokenWrapper< UpdateWorkspaceRequest, UpdateWorkspaceResponse>( (com.oracle.bmc.auth.RefreshableOnNotAuthenticatedProvider) this.authenticationDetailsProvider, handlerToUse, futureSupplier) { @Override protected void beforeRetryAction() {} }; } else { return futureSupplier.apply(handlerToUse); } } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy