|
Drools :: Core 6.0.0.Beta5 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.drools.core.common.SingleThreadedObjectStore
public class SingleThreadedObjectStore
| Constructor Summary | |
|---|---|
SingleThreadedObjectStore()
|
|
SingleThreadedObjectStore(RuleBaseConfiguration conf,
Lock lock)
|
|
| Method Summary | |
|---|---|
void |
addHandle(InternalFactHandle handle,
Object object)
|
void |
clear()
|
InternalFactHandle |
getHandleForObject(Object object)
|
InternalFactHandle |
getHandleForObjectIdentity(Object object)
|
Object |
getObjectForHandle(org.kie.api.runtime.rule.FactHandle handle)
|
boolean |
isEmpty()
|
Iterator |
iterateFactHandles()
This class is not thread safe, changes to the working memory during iteration may give unexpected results |
Iterator |
iterateFactHandles(org.kie.api.runtime.ObjectFilter filter)
This class is not thread safe, changes to the working memory during iteration may give unexpected results |
Iterator |
iterateObjects()
This class is not thread safe, changes to the working memory during iteration may give unexpected results |
Iterator |
iterateObjects(org.kie.api.runtime.ObjectFilter filter)
This class is not thread safe, changes to the working memory during iteration may give unexpected results |
void |
readExternal(ObjectInput in)
|
InternalFactHandle |
reconnect(org.kie.api.runtime.rule.FactHandle factHandle)
|
void |
removeHandle(org.kie.api.runtime.rule.FactHandle handle)
|
int |
size()
|
void |
updateHandle(InternalFactHandle handle,
Object object)
|
void |
writeExternal(ObjectOutput out)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SingleThreadedObjectStore()
public SingleThreadedObjectStore(RuleBaseConfiguration conf,
Lock lock)
| Method Detail |
|---|
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
readExternal in interface ExternalizableIOException
ClassNotFoundException
public void writeExternal(ObjectOutput out)
throws IOException
writeExternal in interface ExternalizableIOExceptionpublic int size()
size in interface ObjectStorepublic boolean isEmpty()
isEmpty in interface ObjectStorepublic void clear()
clear in interface ObjectStorepublic Object getObjectForHandle(org.kie.api.runtime.rule.FactHandle handle)
getObjectForHandle in interface ObjectStorepublic InternalFactHandle getHandleForObject(Object object)
getHandleForObject in interface ObjectStorepublic InternalFactHandle reconnect(org.kie.api.runtime.rule.FactHandle factHandle)
reconnect in interface ObjectStorepublic InternalFactHandle getHandleForObjectIdentity(Object object)
getHandleForObjectIdentity in interface ObjectStore
public void updateHandle(InternalFactHandle handle,
Object object)
updateHandle in interface ObjectStore
public void addHandle(InternalFactHandle handle,
Object object)
addHandle in interface ObjectStorepublic void removeHandle(org.kie.api.runtime.rule.FactHandle handle)
removeHandle in interface ObjectStorepublic Iterator iterateObjects()
ObjectStore
iterateObjects in interface ObjectStorepublic Iterator iterateObjects(org.kie.api.runtime.ObjectFilter filter)
ObjectStore
iterateObjects in interface ObjectStorepublic Iterator iterateFactHandles()
ObjectStore
iterateFactHandles in interface ObjectStorepublic Iterator iterateFactHandles(org.kie.api.runtime.ObjectFilter filter)
ObjectStore
iterateFactHandles in interface ObjectStore
|
Drools :: Core 6.0.0.Beta5 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||