Class LockMutex

java.lang.Object
org.apache.jena.shared.LockMutex
All Implemented Interfaces:
Lock

public class LockMutex extends Object implements Lock
  • Constructor Details

    • LockMutex

      public LockMutex()
  • Method Details

    • enterCriticalSection

      public void enterCriticalSection(boolean readLockRequested)
      Description copied from interface: Lock
      Enter a critical section. The application must call leaveCriticialSection.
      Specified by:
      enterCriticalSection in interface Lock
      Parameters:
      readLockRequested - true implies a read lock, false implies write lock.
      See Also:
    • leaveCriticalSection

      public void leaveCriticalSection()
      Description copied from interface: Lock
      Leave a critical section. Releases the lock form the matching enterCriticalSection
      Specified by:
      leaveCriticalSection in interface Lock
      See Also: