Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.hp.hpl.jena.shared
Class LockMutex

    java.lang.Object
      com.hp.hpl.jena.shared.LockMutex

All Implemented Interfaces:
  Lock

    public class LockMutex

extends java.lang.Object
implements Lock

Field Summary

Fields inherited from interface com.hp.hpl.jena.shared.Lock
`READ, WRITE`

Constructor Summary
`LockMutex()`

Method Summary
`void` | `enterCriticalSection(boolean readLockRequested)` Enter a critical section.
`void` | `leaveCriticalSection()` Leave a critical section.

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### LockMutex

    public LockMutex()

Method Detail

### 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:
    `Lock.leaveCriticalSection()`

### 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:
    `Lock.enterCriticalSection(boolean)`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 Hewlett-Packard Development Company, LP