Package org.drools.core.reteoo
Class ReteooFactHandleFactory
- java.lang.Object
-
- org.drools.core.common.AbstractFactHandleFactory
-
- org.drools.core.reteoo.ReteooFactHandleFactory
-
- All Implemented Interfaces:
Serializable
,FactHandleFactory
public class ReteooFactHandleFactory extends AbstractFactHandleFactory implements Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ReteooFactHandleFactory()
ReteooFactHandleFactory(long id, long counter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DefaultFactHandle
createDefaultFactHandle(long id, Object initialFact, long recency, WorkingMemoryEntryPoint wmEntryPoint)
Class
getFactHandleType()
InternalFactHandle
newFactHandle(long id, Object object, long recency, ObjectTypeConf conf, InternalWorkingMemory workingMemory, WorkingMemoryEntryPoint wmEntryPoint)
FactHandleFactory
newInstance()
FactHandleFactory
newInstance(long id, long counter)
-
Methods inherited from class org.drools.core.common.AbstractFactHandleFactory
clear, destroyFactHandle, doRecycleIds, getId, getNextId, getNextRecency, getRecency, increaseFactHandleRecency, newFactHandle, newFactHandle, stopRecycleIds
-
-
-
-
Method Detail
-
newFactHandle
public InternalFactHandle newFactHandle(long id, Object object, long recency, ObjectTypeConf conf, InternalWorkingMemory workingMemory, WorkingMemoryEntryPoint wmEntryPoint)
- Specified by:
newFactHandle
in interfaceFactHandleFactory
- Specified by:
newFactHandle
in classAbstractFactHandleFactory
-
createDefaultFactHandle
public DefaultFactHandle createDefaultFactHandle(long id, Object initialFact, long recency, WorkingMemoryEntryPoint wmEntryPoint)
- Specified by:
createDefaultFactHandle
in interfaceFactHandleFactory
-
newInstance
public FactHandleFactory newInstance()
- Specified by:
newInstance
in interfaceFactHandleFactory
- Specified by:
newInstance
in classAbstractFactHandleFactory
- Returns:
- a fresh instance of the fact handle factory, with any IDs reset etc.
-
newInstance
public FactHandleFactory newInstance(long id, long counter)
- Specified by:
newInstance
in interfaceFactHandleFactory
-
getFactHandleType
public Class getFactHandleType()
- Specified by:
getFactHandleType
in interfaceFactHandleFactory
-
-