mirror of
https://github.com/tiennm99/zfoo.git
synced 2026-10-13 02:14:52 +00:00
feat[executor]:add method to get executor based on hash
This commit is contained in:
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)];
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user