Class QueueStatisticsObserver

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final PacketQueue<T> getQueue()
      final Clock getClock()
      Unit added(T pkt) Called when a packet is added to a queue.
      Unit removed(T pkt) Registers the removal of a packet.
      Unit dropped(T pkt) Registers that a packet was dropped.
      OrderedJsonObject getStats() Gets a snapshot of the stats in JSON format.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait