|
org.codehaus.gpars | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||
java.lang.Objectgroovyx.gpars.AsyncFun
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.FIELD})
@GroovyASTTransformationClass(classes = {AsyncFunASTTransformation.class})
public @interface AsyncFun
This annotation makes a field or local variable as an asynchronous function, and the field/variable should be evaluated only within the context of a ThreadPool.
| Optional Element Summary | |
|---|---|
boolean |
blocking
Set to true to execute the closure in blocking mode. |
java.lang.Class |
value
@default GParsPoolUtil.class |
| Method Summary |
|---|
| Methods inherited from class java.lang.Object | |
|---|---|
| java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
| Element Detail |
|---|
boolean blocking
java.lang.Class value
Copyright © 2008–2010 Václav Pech. All Rights Reserved.