Class MemoryManager
- java.lang.Object
-
- laas.openrobots.ontology.modules.memory.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)
-
-
-
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)
-
-