Interface LowLevelProcessor<A,V>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description V
compute(ComputableTask<A,V> c, A taskArg)
Waits if necessary for the computation to complete, and then retrieves its result.
-
-
-
Method Detail
-
compute
V compute(ComputableTask<A,V> c, A taskArg) throws InterruptedException
Waits if necessary for the computation to complete, and then retrieves its result.- Parameters:
taskArg
- argument for computation- Throws:
InterruptedException
- if the current thread was interrupted while waiting
-
-