execFuture(ExecutorService s){}
Purpose
Schedules a block of code on a target ExecutorService.Examples
class SampleController { def action = { evt = null -> def result = execFuture { // long computation } … result.get() } }
(Quick Reference)
execFuture(ExecutorService s){}PurposeSchedules a block of code on a target ExecutorService.Examplesclass SampleController { def action = { evt = null -> def result = execFuture { // long computation } … result.get() } } DescriptionSee the threading section for more information about this method and others like it. |
AddonsCommand LineGriffon Shell |