这两个方法演示了一个场景:将五个消息输入到消息队列,然后取出并处理具有最高优先级的消息。
The two methods demonstrate a scenario in which five messages are input to a message queue and the one with the highest priority is taken out of the queue and processed.
在本例中,实现隔离的方法是:向单独的使用者分配单独的队列,并确保服务提供商按照优先顺序服务所有队列。
Here, isolation can be achieved by assigning separate queues to separate consumers, and ensuring that the service provider serves all queues in a prioritized manner.
队列延时可以使用用户优先级进行管理。访问延时可以使用介质访问方法(该方法支持多个优先级)内的用户优先级进行管理。
Queueing delays can be managed using user priority. Access delays can be managed using user priority in media access methods that support more than one access priority.
应用推荐