- 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>myConsumerprivate 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.Booleancall()
-
-
-
Method Detail
-
call
public java.lang.Boolean call() throws java.lang.Exception- Specified by:
callin interfacejava.util.concurrent.Callable<W>- Throws:
java.lang.Exception
-
-