public abstract class AbstractTSQueueLock
extends net.openhft.chronicle.core.io.AbstractCloseable
implements net.openhft.chronicle.core.io.Closeable
| Modifier and Type | Field and Description |
|---|---|
protected net.openhft.chronicle.core.values.LongValue |
lock |
protected File |
path |
protected net.openhft.chronicle.threads.TimingPauser |
pauser |
protected TableStore |
tableStore |
protected static long |
UNLOCKED |
| Constructor and Description |
|---|
AbstractTSQueueLock(String lockKey,
TableStore<?> tableStore,
Supplier<net.openhft.chronicle.threads.TimingPauser> pauser) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
forceUnlock(long value) |
protected void |
performClose() |
protected boolean |
threadSafetyCheck(boolean isUsed) |
assertCloseablesClosed, clearUsedByThread, close, createdHere, disableCloseableTracing, enableCloseableTracing, isClosed, performCloseInBackground, referenceId, resetUsedByThread, throwExceptionIfClosed, throwExceptionIfClosedInSetter, toString, unmonitor, warnAndCloseIfNotClosedclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitclose, closeQuietly, closeQuietly, notifyClosingprotected static final long UNLOCKED
protected final net.openhft.chronicle.core.values.LongValue lock
protected final net.openhft.chronicle.threads.TimingPauser pauser
protected final File path
protected final TableStore tableStore
public AbstractTSQueueLock(String lockKey, TableStore<?> tableStore, Supplier<net.openhft.chronicle.threads.TimingPauser> pauser)
protected void performClose()
performClose in class net.openhft.chronicle.core.io.AbstractCloseableprotected void forceUnlock(long value)
protected boolean threadSafetyCheck(boolean isUsed)
threadSafetyCheck in class net.openhft.chronicle.core.io.AbstractCloseableCopyright © 2020. All rights reserved.