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() |
protected void |
performClose() |
protected boolean |
threadSafetyCheck(boolean isUsed) |
assertCloseablesClosed, clearUsedByThread, close, createdHere, disableCloseableTracing, enableCloseableTracing, isClosed, performCloseInBackground, referenceId, resetUsedByThread, throwExceptionIfClosed, throwExceptionIfClosedInSetter, toString, unmonitor, warnAndCloseIfNotClosed
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
close, closeQuietly, closeQuietly, notifyClosing
protected 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.AbstractCloseable
protected void forceUnlock()
protected boolean threadSafetyCheck(boolean isUsed)
threadSafetyCheck
in class net.openhft.chronicle.core.io.AbstractCloseable
Copyright © 2020. All rights reserved.