Package com.google.api.core
Interface ApiFutureCallback<V>
-
public interface ApiFutureCallback<V>
A callback for accepting the results of anApiFuture
.It is similar to Guava's
FutureCallback
, redeclared so that Guava can be shaded.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onFailure(Throwable t)
void
onSuccess(V result)
-