org.eclipse.rdf4j.sail

## Interface SailChangedEvent

- All Known Implementing Classes:
    DefaultSailChangedEvent

      public interface SailChangedEvent

  Event object that is send to `SailChangedListener`s to indicate that the contents of the Sail that sent the event have changed.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `Sail` | `getSail()` The Sail object that sent this event.
    `boolean` | `statementsAdded()` Indicates if statements were added to the Sail.
    `boolean` | `statementsRemoved()` Indicates if statements were removed from the Sail.

- - ### Method Detail

    - #### getSail

          Sail getSail()

      The Sail object that sent this event.

    - #### statementsAdded

          boolean statementsAdded()

      Indicates if statements were added to the Sail.
      Returns:
        `true` if statements were added during a transaction, `false` otherwise.

    - #### statementsRemoved

          boolean statementsRemoved()

      Indicates if statements were removed from the Sail.
      Returns:
        `true` if statements were removed during a transaction, `false` otherwise.

Copyright © 2015-2022 Eclipse Foundation. All Rights Reserved.