org.codehaus.gpars

groovyx.gpars.scheduler
Class FJRunnableTask

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

class FJRunnableTask
extends AsyncAction

Adapts Runnable instances to the Fork Join framework.

Authors:
Vaclav Pech Date: Jun 16, 2009


Field Summary
private java.lang.Runnable runnable

 
Constructor Summary
FJRunnableTask(java.lang.Runnable runnable)

 
Method Summary
protected void compute()

 

Field Detail

runnable

private final java.lang.Runnable runnable


 
Constructor Detail

FJRunnableTask

public FJRunnableTask(java.lang.Runnable runnable)


 
Method Detail

compute

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


 

Copyright © 2008–2010 Václav Pech. All Rights Reserved.