摘要:
adfa1.schedule()方法 public static void main(String[] args) { // 注意此处线程个数为1 ScheduledExecutorService executorService = Executors.newScheduledThreadPool( 阅读全文
posted @ 2020-11-03 20:03
啦啦拉扎尔
阅读(818)
评论(0)
推荐(0)
摘要:
/** * 批量获取 可以消费的消息 * 先使用一个时间戳将被消费的消息锁定,然后再使用这个时间戳去查询锁定的数据。 * * @param count * @return */public List<Queue> findActiveQueueNew(int count) { //先去更新数据 St 阅读全文
posted @ 2020-11-03 19:33
啦啦拉扎尔
阅读(807)
评论(0)
推荐(0)

浙公网安备 33010602011771号