Package org.drools.core.common
Interface ObjectStore
-
- All Known Implementing Classes:
ClassAwareObjectStore
,IdentityObjectStore
public interface ObjectStore
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description void
addHandle(InternalFactHandle handle, Object object)
void
clear()
boolean
clearClassStore(Class<?> clazz)
InternalFactHandle
getHandleForObject(Object object)
InternalFactHandle
getHandleForObjectIdentity(Object object)
Object
getObjectForHandle(InternalFactHandle handle)
FactHandleClassStore
getStoreForClass(Class<?> clazz)
boolean
isEmpty()
Iterator<InternalFactHandle>
iterateFactHandles()
This class is not thread safe, changes to the working memory during iteration may give unexpected resultsdefault Iterator<InternalFactHandle>
iterateFactHandles(Class<?> clazz)
Iterator<InternalFactHandle>
iterateFactHandles(org.kie.api.runtime.ObjectFilter filter)
This class is not thread safe, changes to the working memory during iteration may give unexpected resultsIterator<InternalFactHandle>
iterateNegFactHandles(org.kie.api.runtime.ObjectFilter filter)
Iterator<Object>
iterateNegObjects(org.kie.api.runtime.ObjectFilter filter)
Iterator<Object>
iterateObjects()
This class is not thread safe, changes to the working memory during iteration may give unexpected resultsIterator<Object>
iterateObjects(org.kie.api.runtime.ObjectFilter filter)
This class is not thread safe, changes to the working memory during iteration may give unexpected resultsInternalFactHandle
reconnect(InternalFactHandle factHandle)
void
removeHandle(InternalFactHandle handle)
int
size()
void
updateHandle(InternalFactHandle handle, Object object)
-
-
-
Method Detail
-
size
int size()
-
isEmpty
boolean isEmpty()
-
clear
void clear()
-
getObjectForHandle
Object getObjectForHandle(InternalFactHandle handle)
-
reconnect
InternalFactHandle reconnect(InternalFactHandle factHandle)
-
getHandleForObject
InternalFactHandle getHandleForObject(Object object)
-
getHandleForObjectIdentity
InternalFactHandle getHandleForObjectIdentity(Object object)
-
updateHandle
void updateHandle(InternalFactHandle handle, Object object)
-
addHandle
void addHandle(InternalFactHandle handle, Object object)
-
removeHandle
void removeHandle(InternalFactHandle handle)
-
iterateObjects
Iterator<Object> iterateObjects()
This class is not thread safe, changes to the working memory during iteration may give unexpected results
-
iterateObjects
Iterator<Object> iterateObjects(org.kie.api.runtime.ObjectFilter filter)
This class is not thread safe, changes to the working memory during iteration may give unexpected results
-
iterateFactHandles
Iterator<InternalFactHandle> iterateFactHandles()
This class is not thread safe, changes to the working memory during iteration may give unexpected results
-
iterateFactHandles
Iterator<InternalFactHandle> iterateFactHandles(org.kie.api.runtime.ObjectFilter filter)
This class is not thread safe, changes to the working memory during iteration may give unexpected results
-
iterateNegFactHandles
Iterator<InternalFactHandle> iterateNegFactHandles(org.kie.api.runtime.ObjectFilter filter)
-
getStoreForClass
FactHandleClassStore getStoreForClass(Class<?> clazz)
-
clearClassStore
boolean clearClassStore(Class<?> clazz)
-
iterateFactHandles
default Iterator<InternalFactHandle> iterateFactHandles(Class<?> clazz)
-
-