public class NoopQueueLock extends Object implements QueueLock
| Constructor and Description |
|---|
NoopQueueLock() |
| Modifier and Type | Method and Description |
|---|---|
void |
acquireLock()
Guaranteed to lock or throw
|
void |
close() |
boolean |
isClosed() |
boolean |
isLocked()
Is this lock locked?
|
void |
quietUnlock()
only unlocks if locked
|
void |
unlock()
Tries to unlock, and if it can't, logs a warning
|
void |
waitForLock() |
public void waitForLock()
waitForLock in interface QueueLockpublic void acquireLock()
QueueLockacquireLock in interface QueueLockpublic void unlock()
QueueLockpublic void quietUnlock()
QueueLockquietUnlock in interface QueueLockpublic boolean isLocked()
QueueLockpublic void close()
close in interface Closeableclose in interface AutoCloseablepublic boolean isClosed()
isClosed in interface net.openhft.chronicle.core.io.QueryCloseableCopyright © 2021. All rights reserved.