public static class ReentrantReadWriteLockWithTracking.ReadLockWithTracking extends ReentrantReadWriteLock.ReadLock
| Modifier | Constructor and Description |
|---|---|
protected |
ReadLockWithTracking(ReentrantReadWriteLock lock,
@Nullable IgniteLogger log,
long readLockThreshold) |
| Modifier and Type | Method and Description |
|---|---|
void |
lock() |
void |
lockInterruptibly() |
boolean |
tryLock() |
boolean |
tryLock(long timeout,
TimeUnit unit) |
void |
unlock() |
newCondition, toStringprotected ReadLockWithTracking(ReentrantReadWriteLock lock, @Nullable @Nullable IgniteLogger log, long readLockThreshold)
public void lock()
lock in interface Locklock in class ReentrantReadWriteLock.ReadLockpublic void lockInterruptibly()
throws InterruptedException
lockInterruptibly in interface LocklockInterruptibly in class ReentrantReadWriteLock.ReadLockInterruptedExceptionpublic boolean tryLock()
tryLock in interface LocktryLock in class ReentrantReadWriteLock.ReadLockpublic boolean tryLock(long timeout,
TimeUnit unit)
throws InterruptedException
tryLock in interface LocktryLock in class ReentrantReadWriteLock.ReadLockInterruptedExceptionpublic void unlock()
unlock in interface Lockunlock in class ReentrantReadWriteLock.ReadLock
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.10.0 Release Date : March 10 2021