Interface DynamicLatencyAdjuster

All Known Implementing Classes:
DynamicLatencyAdjuster.Default, WriteLatencyAdjuster

public interface DynamicLatencyAdjuster
Adjusts local RPC latency using runtime information.
  • Method Details

    • adjust

      int adjust(LocalRpcService service, Object request, int latencyMs)
      Parameters:
      service - The service on which the rpc is being invoked.
      request - The request that was provided to the service.
      latencyMs - The latency to adjust.
      Returns:
      The adjusted latency.