if( this.ruleBase.getConfiguration().getEventProcessingMode().equals(EventProcessingOption.STREAM) ) {
lmem.linkNode(this);
List<PathMemory> pmems = lmem.getSegmentMemory().getPathMemories();
PathMemory pmm = pmems!=null && !pmems.isEmpty() ? pmems.get(0) : null;
if( pmm != null && pmm.getRuleAgendaItem() != null ) {
RuleAgendaItem item = pmm.getRuleAgendaItem();
item.getRuleExecutor().reEvaluateNetwork( this, new org.drools.core.util.LinkedList<StackEntry>(), false);
}
}
LeftInputAdapterNode.doInsertObject( handle, pCtx, lian, this, lmem, false, queryObject.isOpen() );
List<PathMemory> pmems = lmem.getSegmentMemory().getPathMemories();
for ( int i = 0, length = pmems.size(); i < length; i++ ) {
PathMemory rm = pmems.get( i );
RuleAgendaItem evaluator = agenda.createRuleAgendaItem(Integer.MAX_VALUE, rm, (TerminalNode) rm.getNetworkNode());
evaluator.getRuleExecutor().setDirty(true);
evaluator.getRuleExecutor().evaluateNetworkAndFire(this, null, 0, -1);
}
return tnodes;
}