public class SingleStreamReceiver extends Object implements Runnable, StreamReceiver, StreamElement
| Constructor and Description |
|---|
SingleStreamReceiver(SingleStream inputStream,
StreamProcessor firstStreamProcessor,
ThreadPoolExecutor threadPoolExecutor) |
| Modifier and Type | Method and Description |
|---|---|
String |
getStreamId() |
SchedulerQueue<StreamEvent> |
getWindow() |
void |
receive(StreamEvent streamEvent) |
void |
run() |
public SingleStreamReceiver(SingleStream inputStream, StreamProcessor firstStreamProcessor, ThreadPoolExecutor threadPoolExecutor)
public void receive(StreamEvent streamEvent) throws InterruptedException
receive in interface StreamReceiverInterruptedExceptionpublic String getStreamId()
getStreamId in interface StreamReceivergetStreamId in interface StreamElementpublic SchedulerQueue<StreamEvent> getWindow()
getWindow in interface StreamElementCopyright © 2012. All Rights Reserved.