Uses of Interface
org.evrete.api.StatefulSession
Packages that use StatefulSession
-
Uses of StatefulSession in org.evrete
Methods in org.evrete that return StatefulSessionModifier and TypeMethodDescriptionKnowledgeService.newStatefulSession()This method is a shorthand fornewKnowledge().newStatefulSession()which returns an empty session instance. -
Uses of StatefulSession in org.evrete.api
Methods in org.evrete.api that return StatefulSessionModifier and TypeMethodDescriptionStatefulSession.delete(FactHandle handle) Deletes a fact from working memory.StatefulSession.fire()Fire all rules.default <T> StatefulSessionStatefulSession.forEachFact(Class<T> type, Consumer<T> consumer) A memory inspection method that accepts fact type as an argument.default <T> StatefulSessionStatefulSession.forEachFact(Class<T> type, Predicate<T> filter, Consumer<T> consumer) A filtering version of theforEachFact(Class, Consumer)method.<T> StatefulSessionStatefulSession.forEachFact(String type, Consumer<T> consumer) A memory inspection method that accepts fact type as an argument.default <T> StatefulSessionStatefulSession.forEachFact(String type, Predicate<T> filter, Consumer<T> consumer) A filtering version of theforEachFact(String, Consumer)method.StatefulSession.forEachFact(BiConsumer<FactHandle, Object> consumer) A full-scan memory inspection method.default StatefulSessionStatefulSession.forEachFact(BiPredicate<FactHandle, Object> filter, BiConsumer<FactHandle, Object> consumer) default StatefulSessionStatefulSession.forEachFact(Consumer<Object> consumer) default StatefulSessionStatefulSession.insertAndFire(Iterable<?> objects) default StatefulSessionStatefulSession.insertAndFire(Object... objects) Knowledge.newStatefulSession()default StatefulSessionKnowledge.newStatefulSession(ActivationMode mode) StatefulSession.update(FactHandle handle, Object newValue) Updates a fact that already exists in the working memoryMethods in org.evrete.api that return types with arguments of type StatefulSessionModifier and TypeMethodDescriptiondefault Future<StatefulSession>StatefulSession.fireAsync()Same asfireAsync(Object), with the Future's get method will returning the session itself.