Class LockMRSWLite

java.lang.Object
org.apache.jena.tdb1.sys.LockMRSWLite
All Implemented Interfaces:
org.apache.jena.shared.Lock

public class LockMRSWLite extends Object implements org.apache.jena.shared.Lock
Light weight (?) MRSW lock implementation that assumes correct use of enterCriticalSection/leaveCriticalSection. That is, there is no real checking.
  • Constructor Details

    • LockMRSWLite

      public LockMRSWLite()
  • Method Details

    • enterCriticalSection

      public void enterCriticalSection(boolean readLockRequested)
      Specified by:
      enterCriticalSection in interface org.apache.jena.shared.Lock
    • leaveCriticalSection

      public void leaveCriticalSection()
      Specified by:
      leaveCriticalSection in interface org.apache.jena.shared.Lock