Class DefaultQosDescription

    • Method Detail

      • maxRate

        public java.util.Optional<Bandwidth> maxRate()
        Description copied from interface: QosDescription
        Returns the max rate of qos, Valid only in specific qos type.
        Specified by:
        maxRate in interface QosDescription
        Returns:
        Maximum rate shared by all queued traffic, in bit/s.
      • cir

        public java.util.Optional<java.lang.Long> cir()
        Description copied from interface: QosDescription
        Returns Committed Information Rate of Qos, Valid only in specific qos type. the CIR is measured in bytes of IP packets per second.
        Specified by:
        cir in interface QosDescription
        Returns:
        cir
      • cbs

        public java.util.Optional<java.lang.Long> cbs()
        Description copied from interface: QosDescription
        Returns Committed Burst Size of Qos, Valid only in specific qos type. the CBS is measured in bytes and represents a token bucket.
        Specified by:
        cbs in interface QosDescription
        Returns:
        cbs
      • queues

        public java.util.Optional<java.util.Map<java.lang.Long,​QueueDescription>> queues()
        Description copied from interface: QosDescription
        Returns map of integer-Queue pairs, Valid only in specific qos type.
        Specified by:
        queues in interface QosDescription
        Returns:
        queues
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object