Package org.drools.core.common
Interface ObjectStore
- All Superinterfaces:
Comparable<KieService>,KieService
- All Known Implementing Classes:
ClassAwareObjectStore,IdentityObjectStore,MapObjectStore
-
Field Summary
Fields inherited from interface org.kie.api.internal.utils.KieService
UNDEFINED -
Method Summary
Modifier and TypeMethodDescriptionvoidaddHandle(InternalFactHandle handle, Object object) voidclear()booleanclearClassStore(Class<?> clazz) getHandleForObject(Object object) getObjectForHandle(InternalFactHandle handle) getStoreForClass(Class<?> clazz) booleanisEmpty()This class is not thread safe, changes to the working memory during iteration may give unexpected resultsdefault Iterator<InternalFactHandle>iterateFactHandles(Class<?> clazz) iterateFactHandles(ObjectFilter filter) This class is not thread safe, changes to the working memory during iteration may give unexpected resultsiterateNegFactHandles(ObjectFilter filter) iterateNegObjects(ObjectFilter filter) This class is not thread safe, changes to the working memory during iteration may give unexpected resultsiterateObjects(ObjectFilter filter) This class is not thread safe, changes to the working memory during iteration may give unexpected resultsreconnect(InternalFactHandle factHandle) voidremoveHandle(InternalFactHandle handle) intsize()voidupdateHandle(InternalFactHandle handle, Object object) Methods inherited from interface org.kie.api.internal.utils.KieService
compareTo, servicePriority, serviceTag
-
Method Details
-
size
int size() -
isEmpty
boolean isEmpty() -
clear
void clear() -
getObjectForHandle
-
reconnect
-
getHandleForObject
-
updateHandle
-
addHandle
-
removeHandle
-
iterateObjects
This class is not thread safe, changes to the working memory during iteration may give unexpected results -
iterateObjects
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
This class is not thread safe, changes to the working memory during iteration may give unexpected results -
iterateNegObjects
-
iterateNegFactHandles
-
getStoreForClass
-
clearClassStore
-
iterateFactHandles
-