org.openrdf.sail.optimistic
Class OptimisticSail

java.lang.Object
  extended by org.openrdf.sail.helpers.SailWrapper
      extended by 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

Constructor Summary
OptimisticSail()
           
OptimisticSail(Sail baseSail)
           
 
Method Summary
 void addSailChangedListener(SailChangedListener listener)
           
 OptimisticConnection getConnection()
           
 void removeSailChangedListener(SailChangedListener listener)
           
 
Methods inherited from class org.openrdf.sail.helpers.SailWrapper
getBaseSail, getDataDir, getValueFactory, initialize, isWritable, setBaseSail, setDataDir, shutDown, verifyBaseSailSet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.openrdf.sail.Sail
getDataDir, getValueFactory, initialize, isWritable, setDataDir, shutDown
 

Constructor Detail

OptimisticSail

public OptimisticSail()

OptimisticSail

public OptimisticSail(Sail baseSail)
Method Detail

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.