Package com.google.api.core
-
Interface Summary Interface Description ApiAsyncFunction<I,O> Transforms a value, possibly asynchronously.ApiClock An interface for getting the current value of a high-resolution time source, in nanoseconds.ApiFunction<F,T> Legacy version of Function.ApiFuture<V> A Future that can have a listener added.ApiFutureCallback<V> A callback for accepting the results of anApiFuture
.ApiService An object with an operational state, plus asynchronousApiService.startAsync()
andApiService.stopAsync()
lifecycle methods to transition between states. -
Class Summary Class Description AbstractApiFuture<V> Abstract implementation of ApiFuture that mirrorsAbstractFuture
in Guava.AbstractApiService Base class forApiService
.ApiFutures Static utility methods for theApiFuture
interface.ApiFutureToListenableFuture<V> INTERNAL USE ONLY.ApiService.Listener A listener for the various state changes that aApiService
goes through in its lifecycle.CurrentMillisClock Implementation of theApiClock
interface, which usesSystem.currentTimeMillis()
as time source.ForwardingApiFuture<T> ListenableFutureToApiFuture<V> INTERNAL USE ONLY.NanoClock Default implementation of the ApiClock interface, using call to System.nanoTime().SettableApiFuture<V> AnApiFuture
whose result can be set. -
Enum Summary Enum Description ApiService.State The lifecycle states of a service. -
Annotation Types Summary Annotation Type Description BetaApi Indicates a public API that can change at any time, and has no guarantee of API stability and backward-compatibility.InternalApi Annotates a program element (class, method, package etc) which is internal to its containing library, not part of the public API, and should not be used by users of the library.InternalExtensionOnly Indicates a public API that is stable for callers to use, but has no guarantee of stability for extension.ObsoleteApi Indicates a public API is obsolete, and will be deprecated in a future version.