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

RuleBaseConfiguration (Drools 4.0.0.11754MR2 API) - JBoss RULES 4.0.0.11754MR2 API 英文版文档


org.drools
Class RuleBaseConfiguration

java.lang.Object
  extended by org.drools.RuleBaseConfiguration
All Implemented Interfaces:
Serializable

public class RuleBaseConfiguration
extends Object
implements Serializable

drools.removeIdentities = drools.shareAlphaNodes = drools.shareBetaNodes = drools.alphaMemory drools.alphaNodeHashingThreshold = <1...n> drools.compositeKeyDepth =<1..3> drools.indexLeftBetaMemory = drools.indexRightBetaMemory = drools.assertBehaviour = drools.logicalOverride =

See Also:
Serialized Form

Nested Class Summary
static class RuleBaseConfiguration.AssertBehaviour
           
static class RuleBaseConfiguration.LogicalOverride
           
 
Constructor Summary
RuleBaseConfiguration()
           
 
Method Summary
static ExecutorService determineExecutorService(String className)
           
 int getAlphaNodeHashingThreshold()
           
 RuleBaseConfiguration.AssertBehaviour getAssertBehaviour()
           
 int getCompositeKeyDepth()
           
 ExecutorService getExecutorService()
           
 RuleBaseConfiguration.LogicalOverride getLogicalOverride()
           
 boolean getMaintainTms()
           
 boolean isAlphaMemory()
           
 boolean isImmutable()
          Returns true if this configuration object is immutable or false otherwise.
 boolean isIndexLeftBetaMemory()
           
 boolean isIndexRightBetaMemory()
           
 boolean isRemoveIdentities()
           
 boolean isShareAlphaNodes()
           
 boolean isShareBetaNodes()
           
 void makeImmutable()
          Makes the configuration object immutable.
 void setAlphaMemory(boolean alphaMemory)
           
 void setAlphaNodeHashingThreshold(int alphaNodeHashingThreshold)
           
 void setAssertBehaviour(RuleBaseConfiguration.AssertBehaviour assertBehaviour)
           
 void setCompositeKeyDepth(int compositeKeyDepth)
           
 void setExecutorService(ExecutorService executorService)
           
 void setIndexLeftBetaMemory(boolean indexLeftBetaMemory)
           
 void setIndexRightBetaMemory(boolean indexRightBetaMemory)
           
 void setLogicalOverride(RuleBaseConfiguration.LogicalOverride logicalOverride)
           
 void setMaintainTms(boolean maintainTms)
           
 void setRemoveIdentities(boolean removeIdentities)
           
 void setShareAlphaNodes(boolean shareAlphaNodes)
           
 void setShareBetaNodes(boolean shareBetaNodes)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RuleBaseConfiguration

public RuleBaseConfiguration()
Method Detail

makeImmutable

public void makeImmutable()
Makes the configuration object immutable. Once it becomes immutable, there is no way to make it mutable again. This is done to keep consistency.


isImmutable

public boolean isImmutable()
Returns true if this configuration object is immutable or false otherwise.

Returns:

getMaintainTms

public boolean getMaintainTms()

setMaintainTms

public void setMaintainTms(boolean maintainTms)

isRemoveIdentities

public boolean isRemoveIdentities()

setRemoveIdentities

public void setRemoveIdentities(boolean removeIdentities)

isAlphaMemory

public boolean isAlphaMemory()

setAlphaMemory

public void setAlphaMemory(boolean alphaMemory)

isShareAlphaNodes

public boolean isShareAlphaNodes()

setShareAlphaNodes

public void setShareAlphaNodes(boolean shareAlphaNodes)

isShareBetaNodes

public boolean isShareBetaNodes()

setShareBetaNodes

public void setShareBetaNodes(boolean shareBetaNodes)

getAlphaNodeHashingThreshold

public int getAlphaNodeHashingThreshold()

setAlphaNodeHashingThreshold

public void setAlphaNodeHashingThreshold(int alphaNodeHashingThreshold)

getAssertBehaviour

public RuleBaseConfiguration.AssertBehaviour getAssertBehaviour()

setAssertBehaviour

public void setAssertBehaviour(RuleBaseConfiguration.AssertBehaviour assertBehaviour)

getCompositeKeyDepth

public int getCompositeKeyDepth()

setCompositeKeyDepth

public void setCompositeKeyDepth(int compositeKeyDepth)

isIndexLeftBetaMemory

public boolean isIndexLeftBetaMemory()

setIndexLeftBetaMemory

public void setIndexLeftBetaMemory(boolean indexLeftBetaMemory)

isIndexRightBetaMemory

public boolean isIndexRightBetaMemory()

setIndexRightBetaMemory

public void setIndexRightBetaMemory(boolean indexRightBetaMemory)

getLogicalOverride

public RuleBaseConfiguration.LogicalOverride getLogicalOverride()

setLogicalOverride

public void setLogicalOverride(RuleBaseConfiguration.LogicalOverride logicalOverride)

getExecutorService

public ExecutorService getExecutorService()

setExecutorService

public void setExecutorService(ExecutorService executorService)

determineExecutorService

public static ExecutorService determineExecutorService(String className)


Copyright © 2001-2007 JBoss Inc.. All Rights Reserved.