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, setBaseSail
getDataDir, getValueFactory, initialize, isWritable, setDataDir, shutDown, verifyBaseSailSet
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public TransactionalSailWrapper(TransactionalSail parent)
public void addTransactionListener(TransactionListener listener)
addTransactionListener
in interface TransactionalSail
listener
- the listener to add to the listpublic void removeTransactionListener(TransactionListener listener)
removeTransactionListener
in interface TransactionalSail
listener
- the listener to removepublic boolean isTransactionsEnabled()
isTransactionsEnabled
in interface TransactionalSail
public void setTransactionsEnabled(boolean transactionsEnabled)
setTransactionsEnabled
in interface TransactionalSail
transactionsEnabled
- Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.