perf[scheduler]: 删除不必要的方法

This commit is contained in:
jaysunxiao committed 2021-10-10 14:13:45 +08:00
1 parent d2817aaab4
commit b31186c8d3
2 files changed
+1 -20

No files matched your search

@@ -25,7 +25,7 @@ public abstract class IdUtils {
private static final AtomicInteger ATOMIC_INTEGER = new AtomicInteger(0);
/**
* 本地int的id,如果达到最大值则重新从最小值重新计算
* 获取本地int的唯一id,如果达到最大值则重新从最小值重新计算,线程安全
*/
public static int getLocalIntId() {
return ATOMIC_INTEGER.incrementAndGet();