org.openrdf.sail.optimistic
Class OptimisticSail
java.lang.Object
org.openrdf.sail.helpers.SailWrapper
org.openrdf.sail.optimistic.OptimisticSail
- All Implemented Interfaces:
- NotifyingSail, Sail, StackableSail
public class OptimisticSail
- extends SailWrapper
- implements NotifyingSail
When used with the OptimisticRepository, all transactions have
serializable isolation.
- Author:
- James Leigh
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OptimisticSail
public OptimisticSail()
OptimisticSail
public OptimisticSail(Sail baseSail)
addSailChangedListener
public void addSailChangedListener(SailChangedListener listener)
- Specified by:
addSailChangedListener in interface NotifyingSail
removeSailChangedListener
public void removeSailChangedListener(SailChangedListener listener)
- Specified by:
removeSailChangedListener in interface NotifyingSail
getConnection
public OptimisticConnection getConnection()
throws SailException
- Specified by:
getConnection in interface NotifyingSail- Specified by:
getConnection in interface Sail- Overrides:
getConnection in class SailWrapper
- Throws:
SailException
Copyright © 2004-2009 James Leigh Services Inc.. All Rights Reserved.