AbstractFuture
in Guava.ApiService
.ApiService.Listener
to be executed on the given
executor.ApiFuture
.ApiFuture
interface.ApiService.startAsync()
and
ApiService.stopAsync()
lifecycle methods to transition between states.ApiService
goes through in its
lifecycle.ApiService
to reach the running state.ApiService
to reach the running state for no
more than the given time.ApiService
to reach the terminated state.ApiService
to reach a terminal state (either terminated
or failed
) for no more than the given time.ApiClock
interface, which uses System.currentTimeMillis()
as time source.Throwable
that caused this service to fail.PathTemplate.matchFromFullName(String)
.PathTemplate.instantiate(Map)
with a vararg parameter for keys and values.PathTemplate.instantiate(Map)
but allows for unbound variables, which are substituted
using their original syntax.true
if this service is running.TemplatedResourceName.resolve(Class, String)
method.ApiFuture
whose result can be set.ApiService.State.NEW
, this initiates service startup and returns
immediately.ResourceName
with an unknown format.UntypedResourceName
.