mirror of
https://github.com/tiennm99/zfoo.git
synced 2026-09-10 04:20:21 +00:00
feat[executor]:add method to get executor based on hash
This commit is contained in:
@@ -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