当前页面:
在线文档首页 >
JBoss RULES 3.0.6 API 英文版文档
BetaMemoryFactory - JBoss RULES 3.0.6 API 英文版文档
org.drools.reteoo.beta
Class BetaMemoryFactory
java.lang.Object
org.drools.reteoo.beta.BetaMemoryFactory
public class BetaMemoryFactory
- extends java.lang.Object
MemoryFactory
A factory for Beta memories, both left and right
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BetaMemoryFactory
protected BetaMemoryFactory()
newLeftMemory
public static BetaLeftMemory newLeftMemory(RuleBaseConfiguration config,
BetaNodeBinder binder)
- Creates and returns a new BetaLeftMemory instance. If indexing
is enabled, the returned memory will be indexed according to
the constraints in the given binder.
- Parameters:
binder
- the binder whose constraints needs to be indexed
- Returns:
- the newly created BetaLeftMemory
newRightMemory
public static BetaRightMemory newRightMemory(RuleBaseConfiguration config,
BetaNodeBinder binder)
- Creates and returns a new BetaRightMemory instance. If indexing
is enabled, the returned memory will be indexed according to
the constraints in the given binder.
- Parameters:
binder
- the binder whose constraints needs to be indexed
- Returns:
- the newly created BetaRightMemory