Package com.google.api.core
package com.google.api.core
-
ClassDescriptionAbstract implementation of ApiFuture that mirrors
AbstractFuturein Guava.Base class forApiService.ApiAsyncFunction<I,O> Transforms a value, possibly asynchronously.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.A callback for accepting the results of anApiFuture.Static utility methods for theApiFutureinterface.INTERNAL USE ONLY.An object with an operational state, plus asynchronousApiService.startAsync()andApiService.stopAsync()lifecycle methods to transition between states.A listener for the various state changes that aApiServicegoes through in its lifecycle.The lifecycle states of a service.Indicates a public API that can change at any time, and has no guarantee of API stability and backward-compatibility.Implementation of theApiClockinterface, which usesSystem.currentTimeMillis()as time source.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.Indicates a public API that is stable for callers to use, but has no guarantee of stability for extension.INTERNAL USE ONLY.Default implementation of the ApiClock interface, using call to System.nanoTime().AnApiFuturewhose result can be set.