|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.drools.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.drools.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.drools.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.drools.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.drools.runtime.rule.FactHandle factHandle)
|
void |
removeHandle(org.drools.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 Externalizable
IOException
ClassNotFoundException
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public int size()
size
in interface ObjectStore
public boolean isEmpty()
isEmpty
in interface ObjectStore
public void clear()
clear
in interface ObjectStore
public Object getObjectForHandle(org.drools.runtime.rule.FactHandle handle)
getObjectForHandle
in interface ObjectStore
public InternalFactHandle getHandleForObject(Object object)
getHandleForObject
in interface ObjectStore
public InternalFactHandle reconnect(org.drools.runtime.rule.FactHandle factHandle)
reconnect
in interface ObjectStore
public 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 ObjectStore
public void removeHandle(org.drools.runtime.rule.FactHandle handle)
removeHandle
in interface ObjectStore
public Iterator iterateObjects()
ObjectStore
iterateObjects
in interface ObjectStore
public Iterator iterateObjects(org.drools.runtime.ObjectFilter filter)
ObjectStore
iterateObjects
in interface ObjectStore
public Iterator iterateFactHandles()
ObjectStore
iterateFactHandles
in interface ObjectStore
public Iterator iterateFactHandles(org.drools.runtime.ObjectFilter filter)
ObjectStore
iterateFactHandles
in interface ObjectStore
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |