Package generic.concurrent
Class QRunnableAdapter<I>
- java.lang.Object
 - 
- generic.concurrent.QRunnableAdapter<I>
 
 
- 
- 
Constructor Summary
Constructors Constructor Description QRunnableAdapter(QRunnable<I> runnable) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectprocess(I item, TaskMonitor monitor)Processes the given item in background thread provided by a GThreadPool. 
 - 
 
- 
- 
Method Detail
- 
process
public java.lang.Object process(I item, TaskMonitor monitor) throws java.lang.Exception
Description copied from interface:QCallbackProcesses the given item in background thread provided by a GThreadPool.- Specified by:
 processin interfaceQCallback<I,java.lang.Object>- Parameters:
 item- the item to process.monitor- a monitor that can be used to check for cancellation and to report progress and transient messages.- Returns:
 - The return value resulting from processing the item.
 - Throws:
 java.lang.Exception
 
 - 
 
 -