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 StreamReceiver
InterruptedException
public String getStreamId()
getStreamId
in interface StreamReceiver
getStreamId
in interface StreamElement
public SchedulerQueue<StreamEvent> getWindow()
getWindow
in interface StreamElement
Copyright © 2012. All Rights Reserved.