Interface DeltaInsertMemory

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 Type
    Method
    Description
    void
    Clears all elements from both delta and main storage.
    void
    Converts the accumulated delta changes into main (permanent) storage.
     
  • 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

      default CompletableFuture<Void> commit(ExecutorService executor)