public class NoOpLock extends Object implements Lock
Modifier and Type | Method and Description |
---|---|
boolean |
isHeld()
Indicates whether the lock is still owned
true , or whether it has been released false . |
void |
release()
Releases this lock.
|
Copyright © 2010–2023. All rights reserved.