- All Known Subinterfaces:
GroupingReteMemory<V>,ReteMemory<M>
- All Known Implementing Classes:
GroupingReteMemoryWrapper
public interface DeltaInsertMemory
General interface for two-stage memory instances where insert operations
are buffered in an internal delta storage and then committed to the main storage
by invoking the
commit() method.-
Method Summary
Modifier and TypeMethodDescriptionvoidclear()Clears all elements from both delta and main storage.voidcommit()Converts the accumulated delta changes into main (permanent) storage.default CompletableFuture<Void>commit(ExecutorService executor)
-
Method Details
-
commit
void commit()Converts the accumulated delta changes into main (permanent) storage. -
clear
void clear()Clears all elements from both delta and main storage. -
commit
-