Class AbstractNotifyingSailConnection

java.lang.Object
org.eclipse.rdf4j.sail.helpers.AbstractSailConnection
org.eclipse.rdf4j.sail.helpers.AbstractNotifyingSailConnection
All Implemented Interfaces:
AutoCloseable, NotifyingSailConnection, SailConnection
Direct Known Subclasses:
SailSourceConnection

public abstract class AbstractNotifyingSailConnection extends AbstractSailConnection implements NotifyingSailConnection
Abstract Class offering base functionality for SailConnection implementations.
Author:
Arjohn Kampman, Jeen Broekstra
  • Constructor Details Link icon

    • AbstractNotifyingSailConnection Link icon

      public AbstractNotifyingSailConnection(AbstractSail sailBase)
  • Method Details Link icon

    • addConnectionListener Link icon

      public void addConnectionListener(SailConnectionListener listener)
      Description copied from interface: NotifyingSailConnection
      Registers a SailConnection listener with this SailConnection. The listener should be notified of any statements that are added or removed as part of this SailConnection.
      Specified by:
      addConnectionListener in interface NotifyingSailConnection
      Parameters:
      listener - A SailConnectionListener.
    • removeConnectionListener Link icon

      public void removeConnectionListener(SailConnectionListener listener)
      Description copied from interface: NotifyingSailConnection
      Deregisters a SailConnection listener with this SailConnection.
      Specified by:
      removeConnectionListener in interface NotifyingSailConnection
      Parameters:
      listener - A SailConnectionListener.
    • hasConnectionListeners Link icon

      protected boolean hasConnectionListeners()
    • notifyStatementAdded Link icon

      protected void notifyStatementAdded(Statement st)
    • notifyStatementRemoved Link icon

      protected void notifyStatementRemoved(Statement st)