Interface ChangeListener

  • All Known Implementing Classes:
    SimpleReasoner

    public interface ChangeListener
    An interface for listening to triples that are added to or removed from the triple store, and other miscellaneous events.
    • Method Detail

      • notifyModelChange

        void notifyModelChange​(ModelChange modelChange)
        Override this to listen to each model change
        Parameters:
        modelChange - - the object representing the model change
      • notifyEvent

        void notifyEvent​(String graphURI,
                         Object event)
        Override this to listen to events pertaining to the given graphURI.
        Parameters:
        graphURI - - the graph to which the event pertains
        event - - the event that occurred.