Package org.onosproject.net.behaviour
Interface QueueDescription
-
- All Superinterfaces:
Annotated,Description
- All Known Implementing Classes:
DefaultQueueDescription
@Beta public interface QueueDescription extends Description, Annotated
Default implementation of immutable Queue description.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceQueueDescription.Builderstatic classQueueDescription.TypeDenotes the type of the Queue.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Optional<Long>burst()Returns burst, Valid only in specific type.Optional<Integer>dscp()Returns dscp in range 0 to 63.Optional<Bandwidth>maxRate()Returns max rate, Valid only in specific type.Optional<Bandwidth>minRate()Returns min rate, Valid only in specific type.Optional<Long>priority()Returns priority, Valid only in specific type.QueueIdqueueId()Returns queue identifier.EnumSet<QueueDescription.Type>type()Returns type.-
Methods inherited from interface org.onosproject.net.Description
annotations
-
-
-
-
Method Detail
-
queueId
QueueId queueId()
Returns queue identifier.- Returns:
- queue identifier
-
type
EnumSet<QueueDescription.Type> type()
Returns type.- Returns:
- type
-
maxRate
Optional<Bandwidth> maxRate()
Returns max rate, Valid only in specific type.- Returns:
- Maximum allowed bandwidth, in bit/s.
-
minRate
Optional<Bandwidth> minRate()
Returns min rate, Valid only in specific type.- Returns:
- Minimum guaranteed bandwidth, in bit/s.
-
burst
Optional<Long> burst()
Returns burst, Valid only in specific type.- Returns:
- Burst size, in bits
-
-