当前页面:
在线文档首页 >
JBoss RULES 4.0.0.11754MR2 API 英文版文档
AbstractFactHandleFactory (Drools 4.0.0.11754MR2 API) - JBoss RULES 4.0.0.11754MR2 API 英文版文档
org.drools.common
Class AbstractFactHandleFactory
java.lang.Object
org.drools.common.AbstractFactHandleFactory
- All Implemented Interfaces:
- Serializable, FactHandleFactory
- Direct Known Subclasses:
- Jsr94FactHandleFactory, ReteooFactHandleFactory
public abstract class AbstractFactHandleFactory
- extends Object
- implements FactHandleFactory
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
factHandlePool
protected final PrimitiveLongStack factHandlePool
AbstractFactHandleFactory
public AbstractFactHandleFactory()
newFactHandle
public final InternalFactHandle newFactHandle(Object object)
- Description copied from interface:
FactHandleFactory
- Construct a handle with a new id.
- Specified by:
newFactHandle
in interface FactHandleFactory
- Returns:
- The handle.
newFactHandle
protected final InternalFactHandle newFactHandle(long id,
Object object)
newFactHandle
protected abstract InternalFactHandle newFactHandle(long id,
Object object,
long recency)
increaseFactHandleRecency
public final void increaseFactHandleRecency(InternalFactHandle factHandle)
- Description copied from interface:
FactHandleFactory
- Increases the recency of the FactHandle
- Specified by:
increaseFactHandleRecency
in interface FactHandleFactory
- Parameters:
factHandle
- The fact handle to have its recency increased.
destroyFactHandle
public void destroyFactHandle(InternalFactHandle factHandle)
- Specified by:
destroyFactHandle
in interface FactHandleFactory
newInstance
public abstract FactHandleFactory newInstance()
- Specified by:
newInstance
in interface FactHandleFactory
- Returns:
- a fresh instance of the fact handle factory, with any IDs reset etc.
Copyright © 2001-2007
JBoss Inc.. All Rights Reserved.