Dispatch a request, satisfying Promise p with the response;
the returned Future is satisfied when the dispatch is complete:
only one request is admitted at any given time.
Dispatch a request, satisfying Promise p with the response;
the returned Future is satisfied when the dispatch is complete:
only one request is admitted at any given time.
Note that GenSerialClientDispatcher manages interrupts,
satisfying p should it be interrupted -- implementors beware:
use only updateIfEmpty variants for satisfying the Promise.
GenSerialClientDispatcher will also attempt to satisfy the promise
if the returned Future[Unit] fails.
This is the method to override/implement to create your own Service.
This is the method to override/implement to create your own Service.
Determines whether this Service is available (can accept requests
with a reasonable likelihood of success).
Determines whether this Service is available (can accept requests
with a reasonable likelihood of success).
The current availability Status of this Service.
The current availability Status of this Service.
Dispatches requests.
this construct makes no guarantees with regard to concurrent dispatches. For implementations that require serial dispatch see the GenSerialClientDispatcher.