Interface FactStorage<T>

    • Method Detail

      • insert

        FactHandle insert​(T fact)

        Creates and returns new FactHandle for each inserted fact. The contract is that the implementation must return null if object is already known and not deleted.

        Parameters:
        fact - the fact being inserted in the working memory
        Returns:
        null if object has been already inserted or a new FactHandle otherwise
      • update

        void update​(FactHandle handle,
                    T newInstance)
      • clear

        void clear()