Class VipStatusHandler

java.lang.Object
com.yahoo.jdisc.AbstractResource
com.yahoo.jdisc.handler.AbstractRequestHandler
All Implemented Interfaces:
HttpRequestHandler, com.yahoo.jdisc.handler.RequestHandler, com.yahoo.jdisc.SharedResource

public final class VipStatusHandler extends ThreadedHttpRequestHandler
Transmit status to VIP from file or memory. Bind this to "http://*/status.html" to serve VIP status requests.
Author:
Steinar Knutsen, bratseth
  • Constructor Details

    • VipStatusHandler

      @Inject public VipStatusHandler(VipStatusConfig vipConfig, com.yahoo.jdisc.Metric metric, VipStatus vipStatus)
      Create this with a dedicated thread pool to avoid returning an error to VIPs when the regular thread pool is out of capacity. This is the default behavior.
    • VipStatusHandler

      public VipStatusHandler(Executor executor, VipStatusConfig vipConfig, com.yahoo.jdisc.Metric metric)
    • VipStatusHandler

      public VipStatusHandler(Executor executor, VipStatusConfig vipConfig, com.yahoo.jdisc.Metric metric, VipStatus vipStatus)
  • Method Details