|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface MultiSink
Defines the interface for tasks consuming multiple streams of data. It allows a task to expose multiple sinks. Classes may choose to combine this with other multi sink style interfaces where data streams of different types are to be consumed.
| Method Summary | |
|---|---|
Sink |
getSink(int instance)
Obtains one of the sinks exposed by the task. |
int |
getSinkCount()
Returns the number of sinks provided by this task. |
| Method Detail |
|---|
Sink getSink(int instance)
instance - The index of the sink to be returned.
int getSinkCount()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||