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

Stay organized with collections Save and categorize content based on your preferences.

Classes

BackgroundResourceAggregation

Treats a collection of background resources as a single background resource.

BaseBackgroundResource

A Background resource that does nothing.

Distribution

Distribution records values from 0 (inclusive) to endValue (exclusive) and computes their percentiles.

Methods may be called concurrently.

ExecutorAsBackgroundResource

ExecutorAsBackgroundResource wraps an ExecutorService so that it can be used as a BackgroundResource.

FixedCredentialsProvider

FixedCredentialsProvider is a CredentialsProvider which always provides the same credentials.

FixedExecutorProvider

FixedExecutorProvider is an ExecutorProvider which always returns the same executor.

GaxProperties

Provides properties of the GAX library.

GoogleCredentialsProvider

GoogleCredentialsProvider acquires credentials using Application Default Credentials.

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

GoogleCredentialsProvider.Builder

InstantiatingExecutorProvider

InstantiatingChannelProvider is an ExecutorProvider which constructs a new ScheduledExecutorService every time getExecutor() is called.

InstantiatingExecutorProvider.Builder

NoCredentialsProvider

NoCredentialsProvider is a CredentialsProvider which always returns null.

Interfaces

BackgroundResource

Represents a resource running in the background that needs to be shut down for resources to be released.

CredentialsProvider

Provides an interface to hold and acquire the credentials that will be used to call the service.

ExecutorProvider

Provides an interface to either build a ScheduledExecutorService or provide a fixed ScheduledExecutorService that will be used to make calls to a service.

Exceptions

ResourceCloseException

An exception occurs when some background resource is not able to close properly.