public class KiWiTransactionalSail extends org.openrdf.sail.helpers.NotifyingSailWrapper implements TransactionalSail
| Constructor and Description |
|---|
KiWiTransactionalSail(org.openrdf.sail.NotifyingSail base) |
| Modifier and Type | Method and Description |
|---|---|
void |
addTransactionListener(TransactionListener listener)
Add a transaction listener to the KiWiTransactionalStore.
|
org.openrdf.sail.NotifyingSailConnection |
getConnection()
Returns a store-specific SailConnection object.
|
boolean |
isTransactionsEnabled()
Check if extended transaction support is enabled
|
void |
removeTransactionListener(TransactionListener listener)
Remove a transaction listener from the list.
|
void |
setTransactionsEnabled(boolean transactionsEnabled)
Temporarily enable/disable extended transactions.
|
addSailChangedListener, getBaseSail, removeSailChangedListener, setBaseSailgetDataDir, getValueFactory, initialize, isWritable, setDataDir, shutDown, verifyBaseSailSetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic KiWiTransactionalSail(org.openrdf.sail.NotifyingSail base)
public void addTransactionListener(TransactionListener listener)
addTransactionListener in interface TransactionalSaillistener - the listener to add to the listpublic void removeTransactionListener(TransactionListener listener)
removeTransactionListener in interface TransactionalSaillistener - the listener to removepublic boolean isTransactionsEnabled()
isTransactionsEnabled in interface TransactionalSailpublic void setTransactionsEnabled(boolean transactionsEnabled)
setTransactionsEnabled in interface TransactionalSailtransactionsEnabled - public org.openrdf.sail.NotifyingSailConnection getConnection()
throws org.openrdf.sail.SailException
getConnection in interface org.openrdf.sail.NotifyingSailgetConnection in interface org.openrdf.sail.SailgetConnection in class org.openrdf.sail.helpers.NotifyingSailWrapperorg.openrdf.sail.SailExceptionCopyright © 2012–2018 The Apache Software Foundation. All rights reserved.