public static class IgniteUtils.LockTracer extends Object implements Lock
| Constructor and Description |
|---|
LockTracer(Lock delegate) |
| Modifier and Type | Method and Description |
|---|---|
long |
getLockUnlockCounter() |
Map<String,AtomicLong> |
getLockUnlockCounters() |
void |
lock() |
void |
lockInterruptibly() |
@NotNull Condition |
newCondition() |
boolean |
tryLock() |
boolean |
tryLock(long time,
@NotNull TimeUnit unit) |
void |
unlock() |
public LockTracer(Lock delegate)
delegate - Delegate.public void lockInterruptibly()
throws InterruptedException
lockInterruptibly in interface LockInterruptedExceptionpublic boolean tryLock(long time,
@NotNull
@NotNull TimeUnit unit)
throws InterruptedException
tryLock in interface LockInterruptedException@NotNull public @NotNull Condition newCondition()
newCondition in interface Lockpublic Map<String,AtomicLong> getLockUnlockCounters()
public long getLockUnlockCounter()
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.8.1 Release Date : May 21 2020