Groovy Documentation

gpars.scheduler
Class FJRunnableTask

java.lang.Object
  jsr166y.forkjoin.ForkJoinTask
      jsr166y.forkjoin.AsyncAction
          gpars.scheduler.FJRunnableTask

class FJRunnableTask
extends jsr166y.forkjoin.AsyncAction

Adapts Runnable instances to the Fork Join framework.

author:
Vaclav Pech Date: Jun 16, 2009


Constructor Summary
FJRunnableTask(Runnable runnable)

 
Method Summary
protected void compute()

 
Methods inherited from class jsr166y.forkjoin.AsyncAction
exec, finish, finish, finish, rawResult, rawResult, forkJoin, forkJoin, finishExceptionally, getException, join, fork, cancel, isCancelled, isDone, reinitialize, isStolen, quietlyJoin, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 
Methods inherited from class jsr166y.forkjoin.ForkJoinTask
getException, join, exec, finish, fork, cancel, isCancelled, isDone, rawResult, forkJoin, finishExceptionally, reinitialize, isStolen, quietlyJoin, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Constructor Detail

FJRunnableTask

public FJRunnableTask(Runnable runnable)


 
Method Detail

compute

@SuppressWarnings({"CatchGenericClass"})
@Override
protected void compute()


 

Groovy Documentation