@Beta public final class DefaultQosDescription extends AbstractDescription implements QosDescription
Modifier and Type | Class and Description |
---|---|
static class |
DefaultQosDescription.Builder |
QosDescription.Type
Modifier and Type | Method and Description |
---|---|
static DefaultQosDescription.Builder |
builder() |
Optional<Long> |
cbs()
Returns Committed Burst Size of Qos, Valid only in specific qos type.
|
Optional<Long> |
cir()
Returns Committed Information Rate of Qos, Valid only in specific qos type.
|
boolean |
equals(Object obj) |
int |
hashCode() |
Optional<Bandwidth> |
maxRate()
Returns the max rate of qos, Valid only in specific qos type.
|
QosId |
qosId()
Returns qos identifier.
|
Optional<Map<Long,QueueDescription>> |
queues()
Returns map of integer-Queue pairs, Valid only in specific qos type.
|
String |
toString() |
QosDescription.Type |
type()
Returns qos type.
|
annotations
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
annotations
public QosId qosId()
QosDescription
qosId
in interface QosDescription
public QosDescription.Type type()
QosDescription
type
in interface QosDescription
public Optional<Bandwidth> maxRate()
QosDescription
maxRate
in interface QosDescription
public Optional<Long> cir()
QosDescription
cir
in interface QosDescription
public Optional<Long> cbs()
QosDescription
cbs
in interface QosDescription
public Optional<Map<Long,QueueDescription>> queues()
QosDescription
queues
in interface QosDescription
public int hashCode()
hashCode
in class AbstractDescription
public boolean equals(Object obj)
equals
in class AbstractDescription
public static DefaultQosDescription.Builder builder()