Class MemoryManager


  • public class MemoryManager
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      MemoryManager​(com.hp.hpl.jena.ontology.OntModel model)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Set<com.hp.hpl.jena.rdf.model.ReifiedStatement> gc()
      Checks if facts that are stored in non-permanent memory must be garbage collected.
      void watch​(java.lang.String rsStmt)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MemoryManager

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

      • gc

        public java.util.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​(java.lang.String rsStmt)