@Beta public interface QosConfigBehaviour extends HandlerBehaviour
Modifier and Type | Method and Description |
---|---|
boolean |
addQoS(QosDescription qosDesc)
create QoS configuration on a device.
|
void |
deleteQoS(QosId qosId)
Delete a QoS configuration.
|
void |
deleteQueues(QosId qosId,
List<Long> queueKeys)
delete queue from qos.
|
QosDescription |
getQos(QosDescription qosDesc)
Obtain a qos configured on a device.
|
Collection<QosDescription> |
getQoses()
Obtain all qoses configured on a device.
|
void |
insertQueues(QosId qosId,
Map<Long,QueueDescription> queues)
bind queue to qos.
|
handler, setHandler
Collection<QosDescription> getQoses()
QosDescription getQos(QosDescription qosDesc)
qosDesc
- qos descriptionboolean addQoS(QosDescription qosDesc)
qosDesc
- qos descriptionvoid deleteQoS(QosId qosId)
qosId
- qos identifiervoid insertQueues(QosId qosId, Map<Long,QueueDescription> queues)
qosId
- the qos namequeues
- qos queues, map of QueueKey - QueueDescription