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 java.lang.Object code

private java.lang.Thread myThread

 
Constructor Summary
GParsPool.MyCancellableRecursiveTask(java.lang.Object code)

 
Method Summary
boolean cancel(boolean mayInterruptIfRunning)

java.lang.Object compute()

 

Field Detail

code

private final java.lang.Object code


myThread

private java.lang.Thread myThread


 
Constructor Detail

GParsPool.MyCancellableRecursiveTask

GParsPool.MyCancellableRecursiveTask(java.lang.Object code)


 
Method Detail

cancel

@Override
boolean cancel(boolean mayInterruptIfRunning)


compute

@Override
java.lang.Object compute()


 

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