Package org.drools.core.reteoo
Class ReteooFactHandleFactory
- java.lang.Object
-
- org.drools.core.common.AbstractFactHandleFactory
-
- org.drools.core.reteoo.ReteooFactHandleFactory
-
- All Implemented Interfaces:
java.io.Serializable
,FactHandleFactory
public class ReteooFactHandleFactory extends AbstractFactHandleFactory implements java.io.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 java.lang.Class
getFactHandleType()
DefaultFactHandle
newInitialFactHandle(WorkingMemoryEntryPoint wmEntryPoint)
FactHandleFactory
newInstance()
FactHandleFactory
newInstance(long id, long counter)
-
Methods inherited from class org.drools.core.common.AbstractFactHandleFactory
clear, createDefaultFactHandle, createEventFactHandle, destroyFactHandle, doRecycleIds, getId, getNextId, getNextRecency, getRecency, getWmEntryPoint, increaseFactHandleRecency, newFactHandle, newFactHandle, newFactHandle, stopRecycleIds
-
-
-
-
Method Detail
-
newInitialFactHandle
public DefaultFactHandle newInitialFactHandle(WorkingMemoryEntryPoint wmEntryPoint)
- Specified by:
newInitialFactHandle
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 java.lang.Class getFactHandleType()
- Specified by:
getFactHandleType
in interfaceFactHandleFactory
-
-