Class ResponseCollectorService.ComputedNodeStats

  • All Implemented Interfaces:
    Writeable
    Enclosing class:
    ResponseCollectorService

    public static class ResponseCollectorService.ComputedNodeStats
    extends Object
    implements Writeable
    Struct-like class encapsulating a point-in-time snapshot of a particular node's statistics. This includes the EWMA of queue size, response time, and service time.
    • Field Detail

      • nodeId

        public final String nodeId
      • queueSize

        public final int queueSize
      • responseTime

        public final double responseTime
      • serviceTime

        public final double serviceTime
    • Constructor Detail

      • ComputedNodeStats

        public ComputedNodeStats​(String nodeId,
                                 int clientNum,
                                 int queueSize,
                                 double responseTime,
                                 double serviceTime)