public interface NotifyingSail extends Sail
Sail
s that notify registered SailChangedListener
s of changes in the data in the
Sail.Modifier and Type | Method and Description |
---|---|
void |
addSailChangedListener(SailChangedListener listener)
Adds the specified SailChangedListener to receive events when the data in this Sail object changes.
|
NotifyingSailConnection |
getConnection()
Opens a connection on the Sail which can be used to query and update data.
|
void |
removeSailChangedListener(SailChangedListener listener)
Removes the specified SailChangedListener so that it no longer receives events from this Sail object.
|
getDataDir, getDefaultIsolationLevel, getSupportedIsolationLevels, getValueFactory, init, initialize, isWritable, setDataDir, shutDown
NotifyingSailConnection getConnection() throws SailException
getConnection
in interface Sail
SailException
- If no transaction could be started, for example because the Sail is not writable.void addSailChangedListener(SailChangedListener listener)
void removeSailChangedListener(SailChangedListener listener)
Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.