给 Controller、Service、Domain、Endpoint 等类注入 runAsync、callAsync 等异步执行方法
各方法的详细使用说明参见 https://github.com/basejump/grails-executor
| Type | Name and description |
|---|---|
concurrent.Future |
callAsync(Closure clos) |
grails.plugin.executor.PersistenceContextExecutorWrapper |
getExecutorService() |
concurrent.Future |
runAsync(Runnable runme) |