| 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 an
ApiFuture. |
| ApiService |
An object with an operational state, plus asynchronous
ApiService.startAsync() and
ApiService.stopAsync() lifecycle methods to transition between states. |
| Class | Description |
|---|---|
| AbstractApiFuture<V> |
Abstract implementation of ApiFuture that mirrors
AbstractFuture in Guava. |
| AbstractApiService |
Base class for
ApiService. |
| ApiFutures |
Static utility methods for the
ApiFuture interface. |
| ApiFutureToListenableFuture<V> |
INTERNAL USE ONLY.
|
| ApiService.Listener |
A listener for the various state changes that a
ApiService goes through in its
lifecycle. |
| CurrentMillisClock |
Implementation of the
ApiClock interface, which uses System.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> |
An
ApiFuture whose result can be set. |
| Enum | Description |
|---|---|
| ApiService.State |
The lifecycle states of a service.
|
| 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.
|