Interface DataStream<T>

  • Type Parameters:
    T - The type of objects managed by this DataSource.
    All Superinterfaces:
    DataSource<T>

    public interface DataStream<T>
    extends DataSource<T>
    A DataSource of immutable data. By default, this Stream doesn't retain any data and just forwards the facts appended to it to the DataProcessors that are registered at the time of insertion. In particular this means that if a fact is inserted into the DataStream declared in a RuleUnitData before any RuleUnitInstance has been created from it, this fact's insertion will be simply get lost. It can be optionally buffered and retain a fixed amount of the latest appended facts.
    • Method Detail

      • append

        void append​(T value)
        Append an object to this stream of data.