Package org.apache.jena.shared
Class LockNone
- java.lang.Object
-
- org.apache.jena.shared.LockNone
-
-
Constructor Summary
Constructors Constructor Description LockNone()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
enterCriticalSection(boolean readLockRequested)
Enter a critical section.void
leaveCriticalSection()
Leave a critical section.
-
-
-
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 interfaceLock
- 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 interfaceLock
- See Also:
Lock.enterCriticalSection(boolean)
-
-