public interface NotifyingSail extends 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, 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 © 2001-2016 Aduna. All Rights Reserved.