@Beta public final class DefaultQueueDescription extends AbstractDescription implements QueueDescription
Modifier and Type | Class and Description |
---|---|
static class |
DefaultQueueDescription.Builder |
QueueDescription.Type
Modifier and Type | Field and Description |
---|---|
static int |
MAX_DSCP |
static int |
MIN_DSCP |
Modifier and Type | Method and Description |
---|---|
static DefaultQueueDescription.Builder |
builder() |
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.
|
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
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.lang.String |
toString() |
java.util.EnumSet<QueueDescription.Type> |
type()
Returns type.
|
annotations
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
annotations
public static final int MIN_DSCP
public static final int MAX_DSCP
public QueueId queueId()
QueueDescription
queueId
in interface QueueDescription
public java.util.EnumSet<QueueDescription.Type> type()
QueueDescription
type
in interface QueueDescription
public java.util.Optional<java.lang.Integer> dscp()
QueueDescription
dscp
in interface QueueDescription
public java.util.Optional<Bandwidth> maxRate()
QueueDescription
maxRate
in interface QueueDescription
public java.util.Optional<Bandwidth> minRate()
QueueDescription
minRate
in interface QueueDescription
public java.util.Optional<java.lang.Long> burst()
QueueDescription
burst
in interface QueueDescription
public java.util.Optional<java.lang.Long> priority()
QueueDescription
priority
in interface QueueDescription
public int hashCode()
hashCode
in class AbstractDescription
public boolean equals(java.lang.Object obj)
equals
in class AbstractDescription
public java.lang.String toString()
toString
in class java.lang.Object
public static DefaultQueueDescription.Builder builder()