public abstract class AbstractFactHandleFactory extends Object implements FactHandleFactory
| Constructor and Description |
|---|
AbstractFactHandleFactory() |
AbstractFactHandleFactory(long id,
long counter) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear(long id,
long counter) |
void |
destroyFactHandle(InternalFactHandle factHandle) |
void |
doRecycleIds(Collection<Long> usedIds) |
long |
getId() |
long |
getNextId() |
long |
getNextRecency() |
long |
getRecency() |
void |
increaseFactHandleRecency(InternalFactHandle factHandle)
Increases the recency of the FactHandle
|
abstract InternalFactHandle |
newFactHandle(long id,
Object object,
long recency,
ObjectTypeConf conf,
InternalWorkingMemory workingMemory,
WorkingMemoryEntryPoint wmEntryPoint) |
InternalFactHandle |
newFactHandle(long id,
Object object,
ObjectTypeConf conf,
InternalWorkingMemory workingMemory,
WorkingMemoryEntryPoint wmEntryPoint) |
InternalFactHandle |
newFactHandle(Object object,
ObjectTypeConf conf,
InternalWorkingMemory workingMemory,
WorkingMemoryEntryPoint wmEntryPoint)
Construct a handle with a new id.
|
abstract FactHandleFactory |
newInstance() |
void |
stopRecycleIds() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateDefaultFactHandle, getFactHandleType, newInstancepublic AbstractFactHandleFactory()
public AbstractFactHandleFactory(long id,
long counter)
public final InternalFactHandle newFactHandle(Object object, ObjectTypeConf conf, InternalWorkingMemory workingMemory, WorkingMemoryEntryPoint wmEntryPoint)
FactHandleFactorynewFactHandle in interface FactHandleFactorypublic final InternalFactHandle newFactHandle(long id, Object object, ObjectTypeConf conf, InternalWorkingMemory workingMemory, WorkingMemoryEntryPoint wmEntryPoint)
public abstract InternalFactHandle newFactHandle(long id, Object object, long recency, ObjectTypeConf conf, InternalWorkingMemory workingMemory, WorkingMemoryEntryPoint wmEntryPoint)
newFactHandle in interface FactHandleFactorypublic final void increaseFactHandleRecency(InternalFactHandle factHandle)
FactHandleFactoryincreaseFactHandleRecency in interface FactHandleFactoryfactHandle - The fact handle to have its recency increased.public void destroyFactHandle(InternalFactHandle factHandle)
destroyFactHandle in interface FactHandleFactorypublic abstract FactHandleFactory newInstance()
newInstance in interface FactHandleFactorypublic long getNextId()
getNextId in interface FactHandleFactorypublic long getNextRecency()
getNextRecency in interface FactHandleFactorypublic long getId()
getId in interface FactHandleFactorypublic long getRecency()
getRecency in interface FactHandleFactorypublic void clear(long id,
long counter)
clear in interface FactHandleFactorypublic void doRecycleIds(Collection<Long> usedIds)
doRecycleIds in interface FactHandleFactorypublic void stopRecycleIds()
stopRecycleIds in interface FactHandleFactoryCopyright © 2001–2020 JBoss by Red Hat. All rights reserved.