Constructor and Description |
---|
NoLock() |
Modifier and Type | Method and Description |
---|---|
void |
lock() |
void |
lockInterruptibly() |
Condition |
newCondition() |
boolean |
tryLock() |
boolean |
tryLock(long time,
TimeUnit unit) |
void |
unlock() |
public static NoLock INSTANCE
public void lockInterruptibly()
lockInterruptibly
in interface Lock
public Condition newCondition()
newCondition
in interface Lock
Copyright © 2024. All rights reserved.