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 QueueLock
public void acquireLock()
QueueLock
acquireLock
in interface QueueLock
public void unlock()
QueueLock
public void quietUnlock()
QueueLock
quietUnlock
in interface QueueLock
public boolean isLocked()
QueueLock
public void close()
close
in interface Closeable
close
in interface AutoCloseable
public boolean isClosed()
isClosed
in interface net.openhft.chronicle.core.io.QueryCloseable
Copyright © 2022. All rights reserved.