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, setBaseSail
getDataDir, getValueFactory, initialize, isWritable, setDataDir, shutDown, verifyBaseSailSet
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public KiWiTransactionalSail(org.openrdf.sail.NotifyingSail base)
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
- public org.openrdf.sail.NotifyingSailConnection getConnection() throws org.openrdf.sail.SailException
getConnection
in interface org.openrdf.sail.NotifyingSail
getConnection
in interface org.openrdf.sail.Sail
getConnection
in class org.openrdf.sail.helpers.NotifyingSailWrapper
org.openrdf.sail.SailException
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.