Returns the address which this endpoint connects to.
Reserve the use of a given service instance.
Reserve the use of a given service instance. This pins the underlying channel and the returned service has exclusive use of its underlying connection. To relinquish the use of the reserved Service, the user must call Service.close().
Signals to the endpoint that it should close and rebuild its underlying resources.
Signals to the endpoint that it should close and rebuild
its underlying resources. That is, close
is terminal
but remake
is not.
Reserve the use of a given service instance using ClientConnection.nil.
Reserve the use of a given service instance using ClientConnection.nil. This pins the underlying resources and the returned service has exclusive use of its underlying connection. To relinquish the use of the reserved Service, the user must call Service.close().
Apply f
on created services, returning the resulting Future in their
stead.
Apply f
on created services, returning the resulting Future in their
stead. This is useful for implementing common factory wrappers that
only need to modify or operate on the underlying service.
Return true
if and only if status is currently Status.Open.
Return true
if and only if status is currently Status.Open.
Map created services.
Map created services. Useful for implementing common styles of factory wrappers.
The current availability Status of this ServiceFactory
The current availability Status of this ServiceFactory
Make a service that after dispatching a request on that service, releases the service.
Make a service that after dispatching a request on that service, releases the service.
A specialized ServiceFactory which admits that it backs a concrete endpoint. The extra information and functionality provided here is used by Finagle's load balancers.