Interface EndpointChannelFactory


public interface EndpointChannelFactory
A 'staged' version of Channel, that allows implementors to precompute necessary objects (e.g. counter lookups) based on the provided endpoint, saving CPU cycles on each call.
  • Method Details

    • endpoint

      EndpointChannel endpoint(Endpoint endpoint)
      Construct a new EndpointChannel which will send all requests to the given Endpoint. This method is expected to be called once at startup time. Behaviour is undefined if called with the same endpoint many times.