Interface NodeMemories

All Known Implementing Classes:
ConcurrentNodeMemories

public interface NodeMemories
An interface for node memories implementation
  • Method Details

    • getNodeMemory

      <T extends Memory> T getNodeMemory(MemoryFactory<T> node, ReteEvaluator reteEvaluator)
    • clearNodeMemory

      void clearNodeMemory(MemoryFactory node)
    • clear

      void clear()
    • peekNodeMemory

      Memory peekNodeMemory(int memoryId)
      Peeks at the content of the node memory for the given node ID. This method has no side effects, so if the given memory slot for the given node ID is null, it will return null.
      Parameters:
      memoryId -
      Returns:
    • peekNodeMemory

      default Memory peekNodeMemory(NetworkNode node)
    • length

      int length()
      Returns the number of positions in this memory
      Returns:
    • resetAllMemories

      void resetAllMemories(StatefulKnowledgeSession session)