org.codehaus.gpars

groovyx.gpars
[Groovy] Class GParsPool.MyCancellableRecursiveTask

java.lang.Object
  jsr166y.RecursiveTask
      groovyx.gpars.GParsPool.MyCancellableRecursiveTask

static final class GParsPool.MyCancellableRecursiveTask
extends RecursiveTask

Field Summary
private groovy.lang.Closure code

private java.lang.Thread myThread

 
Constructor Summary
GParsPool.MyCancellableRecursiveTask(groovy.lang.Closure code)

 
Method Summary
boolean cancel(boolean mayInterruptIfRunning)

java.lang.Object compute()

 

Field Detail

code

private final groovy.lang.Closure code


myThread

private java.lang.Thread myThread


 
Constructor Detail

GParsPool.MyCancellableRecursiveTask

GParsPool.MyCancellableRecursiveTask(groovy.lang.Closure code)


 
Method Detail

cancel

@java.lang.Override
boolean cancel(boolean mayInterruptIfRunning)


compute

@java.lang.Override
java.lang.Object compute()


 

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