org.openrdf.jena
Class LockSesame
java.lang.Object
org.openrdf.jena.LockSesame
- All Implemented Interfaces:
- Lock
public class LockSesame
- extends Object
- implements Lock
I pretend to be a jena-lock,
but I am actually just a poor sesame transaction.
I HOPE that the internal locking in sesame will avoid any problems.
- Author:
- grimnes
| Fields inherited from interface com.hp.hpl.jena.shared.Lock |
READ, WRITE |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
repository
Repository repository
transaction
Transaction transaction
LockSesame
public LockSesame(Repository rep)
enterCriticalSection
public void enterCriticalSection(boolean write)
- Specified by:
enterCriticalSection in interface Lock
- Parameters:
write - - true implies a read lock,false implies write lock.
leaveCriticalSection
public void leaveCriticalSection()
- Specified by:
leaveCriticalSection in interface Lock