Class VipStatusHandler

  • All Implemented Interfaces:
    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 Detail

      • 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​(java.util.concurrent.Executor executor,
                                VipStatusConfig vipConfig,
                                com.yahoo.jdisc.Metric metric)
      • VipStatusHandler

        public VipStatusHandler​(java.util.concurrent.Executor executor,
                                VipStatusConfig vipConfig,
                                com.yahoo.jdisc.Metric metric,
                                VipStatus vipStatus)