public class AddRemoveRule extends Object
Constructor and Description |
---|
AddRemoveRule() |
Modifier and Type | Method and Description |
---|---|
static void |
addRule(TerminalNode tn,
InternalWorkingMemory[] wms,
InternalRuleBase ruleBase) |
static void |
correctSegmentMemoryAfterSplitOnAdd(SegmentMemory sm) |
static void |
correctSegmentMemoryAfterSplitOnRemove(SegmentMemory sm) |
static void |
deleteFacts(LeftTupleSink startNode,
InternalWorkingMemory wm) |
static LeftTupleSource |
getNetworkSplitPoint(TerminalNode tn) |
static int |
getSegmentPos(LeftTupleSource lts,
Rule removingRule) |
static void |
mergeSegment(SegmentMemory sm1,
SegmentMemory sm2) |
static void |
processLeftTuples(LeftTupleSource node,
LeftTupleSink peerNode,
SegmentMemory smem,
InternalWorkingMemory wm,
boolean insert)
Populates the SegmentMemory with staged LeftTuples.
|
static void |
removeRule(TerminalNode tn,
InternalWorkingMemory[] wms,
InternalRuleBase ruleBase) |
static SegmentMemory |
splitSegment(SegmentMemory sm1,
LeftTupleSource splitNode) |
public static void addRule(TerminalNode tn, InternalWorkingMemory[] wms, InternalRuleBase ruleBase)
public static void removeRule(TerminalNode tn, InternalWorkingMemory[] wms, InternalRuleBase ruleBase)
public static void correctSegmentMemoryAfterSplitOnAdd(SegmentMemory sm)
public static void correctSegmentMemoryAfterSplitOnRemove(SegmentMemory sm)
public static int getSegmentPos(LeftTupleSource lts, Rule removingRule)
public static void deleteFacts(LeftTupleSink startNode, InternalWorkingMemory wm)
public static void processLeftTuples(LeftTupleSource node, LeftTupleSink peerNode, SegmentMemory smem, InternalWorkingMemory wm, boolean insert)
node
- peerNode
- smem
- wm
- insert
- public static LeftTupleSource getNetworkSplitPoint(TerminalNode tn)
public static SegmentMemory splitSegment(SegmentMemory sm1, LeftTupleSource splitNode)
public static void mergeSegment(SegmentMemory sm1, SegmentMemory sm2)
Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.