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


Field Summary
protected  java.lang.Throwable exception
           
protected  java.lang.Object result
           
protected  AESemaphore sem
           
protected  NonDaemonTask task
           
 
Constructor Summary
protected NonDaemonTaskRunner.taskWrapper(NonDaemonTask _task)
           
 
Method Summary
protected  void run()
           
protected  java.lang.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 java.lang.Object result

exception

protected java.lang.Throwable exception
Constructor Detail

NonDaemonTaskRunner.taskWrapper

protected NonDaemonTaskRunner.taskWrapper(NonDaemonTask _task)
Method Detail

run

protected void run()

waitForResult

protected java.lang.Object waitForResult()
                                  throws java.lang.Throwable
Throws:
java.lang.Throwable