| biz.hammurapi.rules.KnowledgeMaximizingHandleManager
KnowledgeMaximizingHandleManager | public class KnowledgeMaximizingHandleManager extends ComponentBase implements HandleManager,Component(Code) | | Handle manager implementation which keeps handles in memory.
Objects are compared by eqals().
This handle manager doesn't hold facts which superced each other, but retains only superceeding fact
(e.g. if Mother supercedes Parent then Parent will not be retained in the manager when Mother is added).
author: Pavel Vlasov version: ${Revision} |
addObject | public synchronized Handle addObject(Object object)(Code) | | Adds new object to the manager if this object is not already there and there is no superceding object.
If object being added supercedes any objects in the manager these objects will be removed.
|
clear | public synchronized void clear()(Code) | | |
contains | public boolean contains(Handle handle)(Code) | | |
getObject | public synchronized Object getObject(Handle handle)(Code) | | |
isNegatedBy | public synchronized boolean isNegatedBy(Negator negator)(Code) | | |
rebind | public synchronized void rebind(Handle handle, Object object)(Code) | | |
remove | public synchronized void remove(Handle handle)(Code) | | |
setStorageReference | public void setStorageReference(String storageReference)(Code) | | Path to object storage.
Parameters: storageReference - |
start | public void start() throws ConfigurationException(Code) | | |
stop | public void stop() throws ConfigurationException(Code) | | |
|
|