Package org.ojalgo.concurrent
Class ProcessingService.CallableConsumer<W>
- java.lang.Object
-
- org.ojalgo.concurrent.ProcessingService.CallableConsumer<W>
-
- All Implemented Interfaces:
java.util.concurrent.Callable<java.lang.Boolean>
- Enclosing class:
- ProcessingService
static final class ProcessingService.CallableConsumer<W> extends java.lang.Object implements java.util.concurrent.Callable<java.lang.Boolean>
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.function.Consumer<W>
myConsumer
private java.util.Queue<W>
myWork
-
Constructor Summary
Constructors Constructor Description CallableConsumer(java.util.Queue<W> work, java.util.function.Consumer<W> consumer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Boolean
call()
-
-
-
Method Detail
-
call
public java.lang.Boolean call() throws java.lang.Exception
- Specified by:
call
in interfacejava.util.concurrent.Callable<W>
- Throws:
java.lang.Exception
-
-