|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StreamFactory
The StreamFactory interface provides a factory interface for the scheduler. Since it is the streams themselves that calculate their schedules, the base.Stream class will be overwritten many times, and the factory will provide a way for the user to request an arbitrary arrangement of different Stream scheduling algorithms.
Method Summary | |
---|---|
boolean |
needsSchedule()
Whether a schedule should be computed for objects created by this factory. |
StreamInterface |
newFrom(Iterator streamIter,
Iterator parent)
Given an iterator, create an appropriate stream out of it. |
Method Detail |
---|
StreamInterface newFrom(Iterator streamIter, Iterator parent)
boolean needsSchedule()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |