|
org.codehaus.gpars | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
java.lang.Object groovyx.gpars.AsyncFun
@java.lang.annotation.Documented @java.lang.annotation.Retention(RetentionPolicy.RUNTIME) @java.lang.annotation.Target({ElementType.FIELD}) @org.codehaus.groovy.transform.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, int), java.lang.Object#wait(long), java.lang.Object#wait(), 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 |
---|
public boolean blocking
public java.lang.Class value
Copyright © 2008–2013 Václav Pech. All Rights Reserved.