public interface FactHandleFactory
FactHandle
sModifier and Type | Method and Description |
---|---|
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,
InternalWorkingMemoryEntryPoint wmEntryPoint) |
InternalFactHandle |
newFactHandle(Object object,
ObjectTypeConf conf,
InternalWorkingMemory workingMemory,
InternalWorkingMemoryEntryPoint wmEntryPoint)
Construct a handle with a new id.
|
FactHandleFactory |
newInstance() |
FactHandleFactory |
newInstance(int id,
long counter) |
InternalFactHandle newFactHandle(Object object, ObjectTypeConf conf, InternalWorkingMemory workingMemory, InternalWorkingMemoryEntryPoint wmEntryPoint)
InternalFactHandle newFactHandle(int id, Object object, long recency, ObjectTypeConf conf, InternalWorkingMemory workingMemory, InternalWorkingMemoryEntryPoint 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)
Copyright © 2001–2016 JBoss by Red Hat. All rights reserved.