Package org.drools.core.reteoo

Examples of org.drools.core.reteoo.PropagationQueuingNode$AssertToSinkAction


        buildAlphaNodeChain( context, utils, pattern, alphaConstraints );
       
        if ( context.getCurrentEntryPoint() != EntryPoint.DEFAULT && context.isAttachPQN() ) {
            if ( !context.getRuleBase().getConfiguration().isPhreakEnabled() ) {
                context.setObjectSource( (ObjectSource) utils.attachNode( context,
                                                                          new PropagationQueuingNode( context.getNextId(),
                                                                                                      context.getObjectSource(),
                                                                                                      context ) ) );
            }
            // the entry-point specific network nodes are attached, so, set context to default entry-point
            context.setCurrentEntryPoint( EntryPoint.DEFAULT );
View Full Code Here


        buildAlphaNodeChain( context, utils, pattern, alphaConstraints );
       
        if ( context.getCurrentEntryPoint() != EntryPoint.DEFAULT && context.isAttachPQN() ) {
            context.setObjectSource( (ObjectSource) utils.attachNode( context,
                                                                      new PropagationQueuingNode( context.getNextId(),
                                                                                                  context.getObjectSource(),
                                                                                                  context ) ) );
            // the entry-point specific network nodes are attached, so, set context to default entry-point
            context.setCurrentEntryPoint( EntryPoint.DEFAULT );
        }
View Full Code Here

    }

    public PropagationQueuingNode buildPropagationQueuingNode(final int id,
                                                              final ObjectSource objectSource,
                                                              final BuildContext context) {
        return new PropagationQueuingNode(id, objectSource, context);
    }
View Full Code Here

    }

    public PropagationQueuingNode buildPropagationQueuingNode(final int id,
                                                              final ObjectSource objectSource,
                                                              final BuildContext context) {
        return new PropagationQueuingNode(id, objectSource, context);
    }
View Full Code Here

    }

    public PropagationQueuingNode buildPropagationQueuingNode(final int id,
                                                              final ObjectSource objectSource,
                                                              final BuildContext context) {
        return new PropagationQueuingNode(id, objectSource, context);
    }
View Full Code Here

        buildAlphaNodeChain( context, utils, pattern, alphaConstraints );
       
        if ( context.getCurrentEntryPoint() != EntryPoint.DEFAULT && context.isAttachPQN() ) {
            context.setObjectSource( (ObjectSource) utils.attachNode( context,
                                                                      new PropagationQueuingNode( context.getNextId(),
                                                                                                  context.getObjectSource(),
                                                                                                  context ) ) );
            // the entry-point specific network nodes are attached, so, set context to default entry-point
            context.setCurrentEntryPoint( EntryPoint.DEFAULT );
        }
View Full Code Here

    @Override
    protected void doVisit(NetworkNode node,
                           Stack<NetworkNode> nodeStack,
                           StatefulKnowledgeSessionInfo info) {
        PropagationQueuingNode pqn = (PropagationQueuingNode) node;
        DefaultNodeInfo ni = (DefaultNodeInfo) info.getNodeInfo( node );
        PropagationQueueingNodeMemory memory = (PropagationQueueingNodeMemory) info.getSession().getNodeMemory( pqn );
        ni.setMemoryEnabled( true );
        ni.setActionQueueSize( memory.getSize() );
    }
View Full Code Here

TOP

Related Classes of org.drools.core.reteoo.PropagationQueuingNode$AssertToSinkAction

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.