|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FactHandleFactory
Factory Interface to return new FactHandle
s
FactHandle
Method Summary | |
---|---|
void |
clear(int id,
long counter)
|
void |
destroyFactHandle(InternalFactHandle factHandle)
|
AtomicInteger |
getAtomicId()
|
AtomicLong |
getAtomicRecency()
|
Class<?> |
getFactHandleType()
|
int |
getId()
|
long |
getRecency()
|
void |
increaseFactHandleRecency(InternalFactHandle factHandle)
Increases the recency of the FactHandle |
InternalFactHandle |
newFactHandle(int id,
Object object,
long recency,
ObjectTypeConf conf,
InternalWorkingMemory workingMemory,
org.drools.runtime.rule.WorkingMemoryEntryPoint wmEntryPoint)
|
InternalFactHandle |
newFactHandle(Object object,
ObjectTypeConf conf,
InternalWorkingMemory workingMemory,
org.drools.runtime.rule.WorkingMemoryEntryPoint wmEntryPoint)
Construct a handle with a new id. |
FactHandleFactory |
newInstance()
|
FactHandleFactory |
newInstance(int id,
long counter)
|
Method Detail |
---|
InternalFactHandle newFactHandle(Object object, ObjectTypeConf conf, InternalWorkingMemory workingMemory, org.drools.runtime.rule.WorkingMemoryEntryPoint wmEntryPoint)
InternalFactHandle newFactHandle(int id, Object object, long recency, ObjectTypeConf conf, InternalWorkingMemory workingMemory, org.drools.runtime.rule.WorkingMemoryEntryPoint wmEntryPoint)
void increaseFactHandleRecency(InternalFactHandle factHandle)
factHandle
- The fact handle to have its recency increased.void destroyFactHandle(InternalFactHandle factHandle)
FactHandleFactory newInstance()
FactHandleFactory newInstance(int id, long counter)
Class<?> getFactHandleType()
int getId()
long getRecency()
AtomicInteger getAtomicId()
AtomicLong getAtomicRecency()
void clear(int id, long counter)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |