Interface SailConnectionListener

All Known Implementing Classes:
AbstractForwardChainingInferencerConnection, SchemaCachingRDFSInferencerConnection, ShaclSailConnection

public interface SailConnectionListener
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
    default void
    statementAdded(Statement st, boolean inferred)
    Notifies the listener that a statement has been added in a transaction that it has registered itself with.
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
    default void
    statementRemoved(Statement st, boolean inferred)
    Notifies the listener that a statement has been removed in a transaction that it has registered itself with.
  • Method Details

    • statementAdded

      default void statementAdded(Statement st, boolean inferred)
      Notifies the listener that a statement has been added in a transaction that it has registered itself with.
      Parameters:
      st - The statement that was added.
      inferred - The flag that indicates whether the statement is inferred or explicit.
    • statementRemoved

      default void statementRemoved(Statement st, boolean inferred)
      Notifies the listener that a statement has been removed in a transaction that it has registered itself with.
      Parameters:
      st - The statement that was removed.
      inferred - The flag that indicates whether the statement was inferred or explicit.
    • statementAdded

      @Deprecated(since="5.2.0", forRemoval=true) void statementAdded(Statement st)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Notifies the listener that a statement has been added in a transaction that it has registered itself with.
      Parameters:
      st - The statement that was added.
    • statementRemoved

      @Deprecated(since="5.2.0", forRemoval=true) void statementRemoved(Statement st)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Notifies the listener that a statement has been removed in a transaction that it has registered itself with.
      Parameters:
      st - The statement that was removed.