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

This commit is contained in:
luca
2024-06-26 14:18:24 +08:00
parent f48e977283
commit 3d80c13c29
2 changed files with 10 additions and 0 deletions
@@ -123,4 +123,8 @@ public final class TaskBus {
return executor;
}
public static ExecutorService getExecutor(int hash){
return executors[calTaskExecutorIndex(hash)];
}
}