org.gudy.azureus2.core3.util
Class NonDaemonTaskRunner.taskWrapper

java.lang.Object
  extended by org.gudy.azureus2.core3.util.NonDaemonTaskRunner.taskWrapper
Enclosing class:
NonDaemonTaskRunner

protected static class NonDaemonTaskRunner.taskWrapper
extends Object


Field Summary
protected  Throwable exception
           
protected  Object result
           
protected  AESemaphore sem
           
protected  NonDaemonTask task
           
 
Constructor Summary
protected NonDaemonTaskRunner.taskWrapper(NonDaemonTask _task)
           
 
Method Summary
protected  void run()
           
protected  Object waitForResult()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

task

protected final NonDaemonTask task

sem

protected final AESemaphore sem

result

protected Object result

exception

protected Throwable exception
Constructor Detail

NonDaemonTaskRunner.taskWrapper

protected NonDaemonTaskRunner.taskWrapper(NonDaemonTask _task)
Method Detail

run

protected void run()

waitForResult

protected Object waitForResult()
                        throws Throwable
Throws:
Throwable