public interface NotifyingSail extends Sail
Sails that notify registered SailChangedListeners 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, shutDownNotifyingSailConnection getConnection() throws SailException
getConnection in interface SailSailException - If no transaction could be started, for example because the Sail is not writable.void addSailChangedListener(SailChangedListener listener)
void removeSailChangedListener(SailChangedListener listener)
Copyright © 2015-2021 Eclipse Foundation. All Rights Reserved.