mirror of
https://gitee.com/dromara/liteFlow.git
synced 2026-05-14 12:12:08 +08:00
DataBus 性能优化 Lock Free
This commit is contained in:
@@ -71,6 +71,7 @@ public class DataBus {
|
||||
if(ObjectUtil.isNotNull(SLOTS.get(slotIndex))){
|
||||
LOG.info("[{}]:slot[{}] released",SLOTS.get(slotIndex).getRequestId(),slotIndex);
|
||||
SLOTS.set(slotIndex, null);
|
||||
QUEUE.add(slotIndex);
|
||||
OCCUPY_COUNT.decrementAndGet();
|
||||
}else{
|
||||
LOG.warn("slot[{}] already has been released",slotIndex);
|
||||
|
||||
Reference in New Issue
Block a user