Package org.drools.core.reteoo

Examples of org.drools.core.reteoo.WindowNode$WindowMemory


        }
       
        public BehaviorExpireWMAction(MarshallerReaderContext context,
                                      Action _action) {
            nodeId =_action.getBehaviorExpire().getNodeId();
            WindowNode windowNode = (WindowNode) context.sinks.get( nodeId );
           
            memory = (WindowMemory) context.wm.getNodeMemory( windowNode );      
           
            Object[] behaviorContext = ( Object[]  ) memory.behaviorContext;
           
            int i = 0; //  <==== this needs fixing
           
            this.behavior = (SlidingTimeWindow) windowNode.getBehaviors()[i];
            this.context =  ( SlidingTimeWindowContext ) behaviorContext[i];
            pctx = null;
        }
View Full Code Here

TOP

Related Classes of org.drools.core.reteoo.WindowNode$WindowMemory

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.