答案 0 :(得分:0)
默认情况下这是不可能的。
一种可能的解决方法:立即使用您的屏幕快照中的 servicePoints ,但是无论是否存在优先客户,都根据需要暂停/重新激活最上面的2个servicePoints。为此的功能是这样的:
public void setServiceSuspended(ServiceUnit<Q> serviceUnit,
boolean suspended)
不适当的检查以确保两个servicePoints不能同时处于活动状态。