Interface QueueDescription.Builder

    • Method Detail

      • queueId

        QueueDescription.Builder queueId​(QueueId queueId)
        Returns queue description builder with given name.
        Parameters:
        queueId - queue identifier
        Returns:
        queue description builder
      • dscp

        QueueDescription.Builder dscp​(Integer dscp)
        Returns queue description builder with given dscp.
        Parameters:
        dscp - dscp
        Returns:
        queue description builder
      • maxRate

        QueueDescription.Builder maxRate​(Bandwidth maxRate)
        Returns queue description builder with max rate.
        Parameters:
        maxRate - Maximum allowed bandwidth
        Returns:
        queue description builder
      • minRate

        QueueDescription.Builder minRate​(Bandwidth minRate)
        Returns queue description builder with a given min rate.
        Parameters:
        minRate - Minimum guaranteed bandwidth
        Returns:
        queue description builder
      • burst

        QueueDescription.Builder burst​(Long burst)
        Returns queue description builder with a given burst.
        Parameters:
        burst - burst size
        Returns:
        queue description builder
      • priority

        QueueDescription.Builder priority​(Long priority)
        Returns queue description builder with a given priority. small number have higher priority, in range 0 to 0xFFFFFFFF
        Parameters:
        priority - priority
        Returns:
        queue description builder
      • build

        QueueDescription build()
        Builds an immutable bridge description.
        Returns:
        queue description