public class TransactionalSailWrapper extends org.openrdf.sail.helpers.NotifyingSailWrapper implements TransactionalSail
| Constructor and Description |
|---|
TransactionalSailWrapper(TransactionalSail parent)
Creates a new SailWrapper that wraps the supplied Sail.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addTransactionListener(TransactionListener listener)
Add a transaction listener to the KiWiTransactionalStore.
|
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, getConnection, removeSailChangedListener, setBaseSailgetDataDir, getValueFactory, initialize, isWritable, setDataDir, shutDown, verifyBaseSailSetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic TransactionalSailWrapper(TransactionalSail parent)
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 - Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.