|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jsr166y.ForkJoinTask<V> jsr166y.RecursiveTask<V> groovyx.gpars.pa.CallAsyncTask<V>
public final class CallAsyncTask<V>
A helper class to wrap closures for callAsync on GParsPool
Field Summary | |
---|---|
private groovy.lang.Closure<V> |
code
|
Constructor Summary | |
---|---|
CallAsyncTask(groovy.lang.Closure<V> code)
|
Method Summary | |
---|---|
protected V |
compute()
|
Methods inherited from class jsr166y.RecursiveTask |
---|
exec, getRawResult, setRawResult |
Methods inherited from class jsr166y.ForkJoinTask |
---|
adapt, adapt, adapt, cancel, complete, completeExceptionally, fork, get, get, getException, getPool, getQueuedTaskCount, getSurplusQueuedTaskCount, helpQuiesce, inForkJoinPool, invoke, invokeAll, invokeAll, invokeAll, isCancelled, isCompletedAbnormally, isCompletedNormally, isDone, join, peekNextLocalTask, pollNextLocalTask, pollTask, quietlyInvoke, quietlyJoin, reinitialize, tryUnfork |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final groovy.lang.Closure<V> code
Constructor Detail |
---|
public CallAsyncTask(groovy.lang.Closure<V> code)
Method Detail |
---|
protected V compute()
compute
in class jsr166y.RecursiveTask<V>
|
Copyright © 2008–2012 Václav Pech. All Rights Reserved. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |