Package 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
Modifier and TypeMethodDescriptiongetSail()
The Sail object that sent this event.boolean
Indicates if statements were added to the Sail.boolean
Indicates if statements were removed from the Sail.
-
Method Details
-
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.
-