public abstract class AbstractFactHandleFactory extends Object implements FactHandleFactory
| Constructor and Description |
|---|
AbstractFactHandleFactory() |
AbstractFactHandleFactory(int id,
long counter) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear(int id,
long counter) |
void |
destroyFactHandle(InternalFactHandle factHandle) |
int |
getId() |
int |
getNextId() |
long |
getNextRecency() |
long |
getRecency() |
void |
increaseFactHandleRecency(InternalFactHandle factHandle)
Increases the recency of the FactHandle
|
abstract InternalFactHandle |
newFactHandle(int id,
Object object,
long recency,
ObjectTypeConf conf,
InternalWorkingMemory workingMemory,
WorkingMemoryEntryPoint wmEntryPoint) |
InternalFactHandle |
newFactHandle(int 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 |
reset() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFactHandleType, newInstancepublic AbstractFactHandleFactory()
public AbstractFactHandleFactory(int id,
long counter)
public final InternalFactHandle newFactHandle(Object object, ObjectTypeConf conf, InternalWorkingMemory workingMemory, WorkingMemoryEntryPoint wmEntryPoint)
FactHandleFactorynewFactHandle in interface FactHandleFactorypublic final InternalFactHandle newFactHandle(int id, Object object, ObjectTypeConf conf, InternalWorkingMemory workingMemory, WorkingMemoryEntryPoint wmEntryPoint)
public abstract InternalFactHandle newFactHandle(int 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 int getNextId()
getNextId in interface FactHandleFactorypublic long getNextRecency()
getNextRecency in interface FactHandleFactorypublic int getId()
getId in interface FactHandleFactorypublic long getRecency()
getRecency in interface FactHandleFactorypublic void clear(int id,
long counter)
clear in interface FactHandleFactorypublic void reset()
Copyright © 2001–2018 JBoss by Red Hat. All rights reserved.