站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss RULES 3.0.6 API 英文版文档

BetaMemoryFactory - JBoss RULES 3.0.6 API 英文版文档


org.drools.reteoo.beta
Class BetaMemoryFactory

java.lang.Object
  extended by org.drools.reteoo.beta.BetaMemoryFactory

public class BetaMemoryFactory
extends java.lang.Object

MemoryFactory A factory for Beta memories, both left and right


Constructor Summary
protected BetaMemoryFactory()
           
 
Method Summary
static BetaLeftMemory newLeftMemory(RuleBaseConfiguration config, BetaNodeBinder binder)
          Creates and returns a new BetaLeftMemory instance.
static BetaRightMemory newRightMemory(RuleBaseConfiguration config, BetaNodeBinder binder)
          Creates and returns a new BetaRightMemory instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BetaMemoryFactory

protected BetaMemoryFactory()
Method Detail

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