feat[executor]:add method to get executor based on hash

This commit is contained in:
luca committed 2024-06-26 14:18:24 +08:00
1 parent f48e977283
commit 3d80c13c29
2 files changed
+10

No files matched your search

@@ -123,4 +123,8 @@ public final class TaskBus {
return executor;
}
public static ExecutorService getExecutor(int hash){
return executors[calTaskExecutorIndex(hash)];
}
}