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) |
AtomicInteger |
getAtomicId() |
AtomicLong |
getAtomicRecency() |
int |
getId() |
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,
org.kie.api.runtime.rule.EntryPoint wmEntryPoint) |
InternalFactHandle |
newFactHandle(int id,
Object object,
ObjectTypeConf conf,
InternalWorkingMemory workingMemory,
org.kie.api.runtime.rule.EntryPoint wmEntryPoint) |
InternalFactHandle |
newFactHandle(Object object,
ObjectTypeConf conf,
InternalWorkingMemory workingMemory,
org.kie.api.runtime.rule.EntryPoint 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, org.kie.api.runtime.rule.EntryPoint wmEntryPoint)
FactHandleFactorynewFactHandle in interface FactHandleFactorypublic final InternalFactHandle newFactHandle(int id, Object object, ObjectTypeConf conf, InternalWorkingMemory workingMemory, org.kie.api.runtime.rule.EntryPoint wmEntryPoint)
public abstract InternalFactHandle newFactHandle(int id, Object object, long recency, ObjectTypeConf conf, InternalWorkingMemory workingMemory, org.kie.api.runtime.rule.EntryPoint 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 AtomicInteger getAtomicId()
getAtomicId in interface FactHandleFactorypublic AtomicLong getAtomicRecency()
getAtomicRecency 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–2015 JBoss by Red Hat. All rights reserved.