Class StandardNode

    • Field Detail

      • children

        protected final java.util.List<Receiver> children
      • childMailboxes

        protected final java.util.List<Mailbox> childMailboxes
        Since:
        2.2
    • Constructor Detail

      • StandardNode

        public StandardNode​(ReteContainer reteContainer)
    • Method Detail

      • propagateUpdate

        protected void propagateUpdate​(Direction direction,
                                       Tuple updateElement,
                                       Timestamp timestamp)
        Since:
        2.4
      • appendChild

        public void appendChild​(Receiver receiver)
        Description copied from interface: Supplier
        appends a receiver that will continously receive insert and revoke updates from this supplier
        Specified by:
        appendChild in interface Supplier
      • removeChild

        public void removeChild​(Receiver receiver)
        Description copied from interface: Supplier
        removes a receiver
        Specified by:
        removeChild in interface Supplier
      • getReceivers

        public java.util.Collection<Receiver> getReceivers()
        Description copied from interface: Supplier
        lists receivers
        Specified by:
        getReceivers in interface Supplier
      • getChildMailboxes

        public java.util.Collection<Mailbox> getChildMailboxes()
        Since:
        2.2
      • getPulledContents

        public java.util.Set<Tuple> getPulledContents​(boolean flush)
        Description copied from interface: Supplier
        Returns the contents of this object in this particular moment. For memoryless nodes, this may involve a costly recomputation of contents. The result is returned as a Set, even when it has multiplicities (at the output of TrimmerNode).

        Intended mainly for debug purposes; therefore flushing is performed only if explicitly requested During runtime, flushing may be preferred; see ReteContainer#pullContents(Supplier)

        Specified by:
        getPulledContents in interface Supplier
      • constructIndex

        public ProjectionIndexer constructIndex​(TupleMask mask,
                                                TraceInfo... traces)
        Description copied from interface: Supplier
        Instantiates (or reuses, depending on implementation) an index according to the given mask. Intended for internal use; clients should invoke through Library instead to enable reusing.
        Specified by:
        constructIndex in interface Supplier
      • issueError

        protected void issueError​(java.lang.String message,
                                  java.lang.Exception ex)
        Since:
        1.6