public class StreamProcessor extends Object implements IStreamProcessor
| Constructor and Description |
|---|
StreamProcessor(DumpyDB dumpyDB) |
| Modifier and Type | Method and Description |
|---|---|
<ERROR extends Exception> |
isRunning() |
<TYPE,ERROR extends Exception> |
process(IJob iJob,
IStream<TYPE,ERROR> iStream)
Producer/Consumer pattern, with 1 Producer N Consumers.
|
<ERROR extends Exception> |
start() |
void |
stop() |
public StreamProcessor(DumpyDB dumpyDB)
public <ERROR extends Exception> void start() throws ERROR extends Exception
start in interface org.irenical.lifecycle.LifeCycleERROR extends Exceptionpublic void stop()
throws Exception
stop in interface org.irenical.lifecycle.LifeCycleExceptionpublic <ERROR extends Exception> boolean isRunning() throws ERROR extends Exception
isRunning in interface org.irenical.lifecycle.LifeCycleERROR extends ExceptionCopyright © 2017 Irenical. All rights reserved.