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 interface
QueueDescription.Builder
static class
QueueDescription.Type
Denotes the type of the Queue.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Optional<java.lang.Long>
burst()
Returns burst, Valid only in specific type.java.util.Optional<java.lang.Integer>
dscp()
Returns dscp in range 0 to 63.java.util.Optional<Bandwidth>
maxRate()
Returns max rate, Valid only in specific type.java.util.Optional<Bandwidth>
minRate()
Returns min rate, Valid only in specific type.java.util.Optional<java.lang.Long>
priority()
Returns priority, Valid only in specific type.QueueId
queueId()
Returns queue identifier.java.util.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
-
dscp
java.util.Optional<java.lang.Integer> dscp()
Returns dscp in range 0 to 63.- Returns:
- dscp
-
type
java.util.EnumSet<QueueDescription.Type> type()
Returns type.- Returns:
- type
-
maxRate
java.util.Optional<Bandwidth> maxRate()
Returns max rate, Valid only in specific type.- Returns:
- Maximum allowed bandwidth, in bit/s.
-
minRate
java.util.Optional<Bandwidth> minRate()
Returns min rate, Valid only in specific type.- Returns:
- Minimum guaranteed bandwidth, in bit/s.
-
burst
java.util.Optional<java.lang.Long> burst()
Returns burst, Valid only in specific type.- Returns:
- Burst size, in bits
-
priority
java.util.Optional<java.lang.Long> priority()
Returns priority, Valid only in specific type. small number have higher priority, in range 0 to 0xFFFFFFFF- Returns:
- priority
-
-