Class MemoryMappedModel.ModelSynchronizer

  • All Implemented Interfaces:
    org.apache.jena.rdf.model.ModelChangedListener
    Enclosing class:
    MemoryMappedModel

    public class MemoryMappedModel.ModelSynchronizer
    extends Object
    implements org.apache.jena.rdf.model.ModelChangedListener
    Simple change listener to keep a model (the 'synchronizee') in synch with the model with which it is registered.
    • Constructor Detail

      • ModelSynchronizer

        public ModelSynchronizer​(org.apache.jena.rdf.model.Model synchronizee,
                                 String name)
    • Method Detail

      • addedStatement

        public void addedStatement​(org.apache.jena.rdf.model.Statement s)
        Specified by:
        addedStatement in interface org.apache.jena.rdf.model.ModelChangedListener
      • addedStatements

        public void addedStatements​(org.apache.jena.rdf.model.Statement[] statements)
        Specified by:
        addedStatements in interface org.apache.jena.rdf.model.ModelChangedListener
      • addedStatements

        public void addedStatements​(List<org.apache.jena.rdf.model.Statement> statements)
        Specified by:
        addedStatements in interface org.apache.jena.rdf.model.ModelChangedListener
      • addedStatements

        public void addedStatements​(org.apache.jena.rdf.model.StmtIterator statements)
        Specified by:
        addedStatements in interface org.apache.jena.rdf.model.ModelChangedListener
      • addedStatements

        public void addedStatements​(org.apache.jena.rdf.model.Model model)
        Specified by:
        addedStatements in interface org.apache.jena.rdf.model.ModelChangedListener
      • notifyEvent

        public void notifyEvent​(org.apache.jena.rdf.model.Model model,
                                Object event)
        Specified by:
        notifyEvent in interface org.apache.jena.rdf.model.ModelChangedListener
      • removedStatement

        public void removedStatement​(org.apache.jena.rdf.model.Statement s)
        Specified by:
        removedStatement in interface org.apache.jena.rdf.model.ModelChangedListener
      • removedStatements

        public void removedStatements​(org.apache.jena.rdf.model.Statement[] statements)
        Specified by:
        removedStatements in interface org.apache.jena.rdf.model.ModelChangedListener
      • removedStatements

        public void removedStatements​(List<org.apache.jena.rdf.model.Statement> statements)
        Specified by:
        removedStatements in interface org.apache.jena.rdf.model.ModelChangedListener
      • removedStatements

        public void removedStatements​(org.apache.jena.rdf.model.StmtIterator statements)
        Specified by:
        removedStatements in interface org.apache.jena.rdf.model.ModelChangedListener
      • removedStatements

        public void removedStatements​(org.apache.jena.rdf.model.Model model)
        Specified by:
        removedStatements in interface org.apache.jena.rdf.model.ModelChangedListener