Class MemoryManager

java.lang.Object
laas.openrobots.ontology.modules.memory.MemoryManager

public class MemoryManager extends Object
  • Constructor Details

    • MemoryManager

      public MemoryManager(com.hp.hpl.jena.ontology.OntModel model)
  • Method Details

    • gc

      public Set<com.hp.hpl.jena.rdf.model.ReifiedStatement> gc()
      Checks if facts that are stored in non-permanent memory must be garbage collected.
      Returns:
      null, if no garbage collection took place (because of the last time this method was called is smaller than KNOWLEDGE_GARBAGE_COLLECTION_FREQ; else a set of (reified) statements to remove.
    • watch

      public void watch(String rsStmt)