public interface SessionLock
ReentrantReadWriteLock
used to manage the lock for a session.
Once a lock is acquired, a callback is registered with the PerthreadManager
to release the lock at the end of the request.Modifier and Type | Method and Description |
---|---|
void |
acquireReadLock()
Acquires the read lock, if the shared read lock, or exclusive write lock, is not already held by this thread.
|
void |
acquireWriteLock()
Acquires the exclusive write lock; may release the (shared) read lock before acquiring the write lock;
this may block for a while.
|
void acquireReadLock()
void acquireWriteLock()
5.6.3 - Copyright © 2003-2021 The Apache Software Foundation.