public interface FactHandleFactory
FactHandle
sModifier and Type | Method and Description |
---|---|
void |
clear(int id,
long counter) |
void |
destroyFactHandle(InternalFactHandle factHandle) |
void |
doRecycleIds(Collection<Integer> usedIds) |
Class<?> |
getFactHandleType() |
int |
getId() |
int |
getNextId() |
long |
getNextRecency() |
long |
getRecency() |
void |
increaseFactHandleRecency(InternalFactHandle factHandle)
Increases the recency of the FactHandle
|
InternalFactHandle |
newFactHandle(int id,
Object object,
long recency,
ObjectTypeConf conf,
InternalWorkingMemory workingMemory,
WorkingMemoryEntryPoint wmEntryPoint) |
InternalFactHandle |
newFactHandle(Object object,
ObjectTypeConf conf,
InternalWorkingMemory workingMemory,
WorkingMemoryEntryPoint wmEntryPoint)
Construct a handle with a new id.
|
FactHandleFactory |
newInstance() |
FactHandleFactory |
newInstance(int id,
long counter) |
void |
stopRecycleIds() |
InternalFactHandle newFactHandle(Object object, ObjectTypeConf conf, InternalWorkingMemory workingMemory, WorkingMemoryEntryPoint wmEntryPoint)
InternalFactHandle newFactHandle(int id, Object object, long recency, ObjectTypeConf conf, InternalWorkingMemory workingMemory, 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()
int getNextId()
long getNextRecency()
void clear(int id, long counter)
void doRecycleIds(Collection<Integer> usedIds)
void stopRecycleIds()
Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.