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).
Relinquishes the use of this service instance.
Relinquishes the use of this service instance. Behavior is undefined if apply() is called after resources are relinquished.
(Since version 7.0.0) Use close() instead
Dispatch requests one at a time; concurrent requests are queued.