Package com.google.api.gax.core (2.72.2)

GitHub Repository

Classes

ClassDescription
com.google.api.gax.core.BackgroundResourceAggregationTreats a collection of background resources as a single background resource.
com.google.api.gax.core.BaseBackgroundResourceA Background resource that does nothing.
com.google.api.gax.core.DistributionDistribution records values from0 (inclusive) toendValue (exclusive) and computes their percentiles.

Methods may be called concurrently.

com.google.api.gax.core.ExecutorAsBackgroundResourceExecutorAsBackgroundResource wraps anExecutorService so that it can be used as aBackgroundResource.
com.google.api.gax.core.FixedCredentialsProviderFixedCredentialsProvider is a CredentialsProvider which always provides the same credentials.
com.google.api.gax.core.FixedExecutorProviderFixedExecutorProvider is an ExecutorProvider which always returns the same executor.
com.google.api.gax.core.GaxPropertiesProvides properties of the GAX library.
com.google.api.gax.core.GoogleCredentialsProviderGoogleCredentialsProvider acquires credentials using Application Default Credentials.

For more information on Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.

com.google.api.gax.core.GoogleCredentialsProvider.Builder
com.google.api.gax.core.InstantiatingExecutorProviderInstantiatingChannelProvider is an ExecutorProvider which constructs a new ScheduledExecutorService every time getExecutor() is called.
com.google.api.gax.core.InstantiatingExecutorProvider.Builder
com.google.api.gax.core.NoCredentialsProviderNoCredentialsProvider is a CredentialsProvider which always returns null.

Interfaces

InterfaceDescription
com.google.api.gax.core.BackgroundResourceRepresents a resource running in the background that needs to be shut down for resources to be released.
com.google.api.gax.core.CredentialsProviderProvides an interface to hold and acquire the credentials that will be used to call the service.
com.google.api.gax.core.ExecutorProviderProvides an interface to either build a ScheduledExecutorService or provide a fixed ScheduledExecutorService that will be used to make calls to a service.

Exceptions

ExceptionDescription
com.google.api.gax.core.ResourceCloseExceptionAn exception occurs when some background resource is not able to close properly.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-12-17 UTC.