java.lang.Object
org.apache.jena.shared.LockNone
- All Implemented Interfaces:
Lock
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
enterCriticalSection
(boolean readLockRequested) Enter a critical section.void
Leave a critical section.
-
Constructor Details
-
LockNone
public LockNone()
-
-
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 interfaceLock
- 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 interfaceLock
- See Also:
-