Class VersioningLock
- java.lang.Object
 - 
- org.apache.jackrabbit.core.version.VersioningLock
 
 
- 
public class VersioningLock extends Object
A reentrant read-write lock used by the internal version manager for synchronization. Unlike a normal reentrant lock, this one allows the lock to be re-entered not just by a thread that's already holding the lock but by any thread within the same transaction. 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVersioningLock.ReadLockstatic classVersioningLock.WriteLock 
- 
Constructor Summary
Constructors Constructor Description VersioningLock() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VersioningLock.ReadLockacquireReadLock()VersioningLock.WriteLockacquireWriteLock() 
 - 
 
- 
- 
Method Detail
- 
acquireReadLock
public VersioningLock.ReadLock acquireReadLock() throws InterruptedException
- Throws:
 InterruptedException
 
- 
acquireWriteLock
public VersioningLock.WriteLock acquireWriteLock() throws InterruptedException
- Throws:
 InterruptedException
 
 - 
 
 -