public class TableStoreWriteLock extends AbstractTSQueueLock implements WriteLock
dontRecoverLockTimeout, lock, path, pauser, tableStore, UNLOCKED
Constructor and Description |
---|
TableStoreWriteLock(TableStore<?> tableStore,
Supplier<net.openhft.chronicle.threads.TimingPauser> pauser,
Long timeoutMs) |
TableStoreWriteLock(TableStore<?> tableStore,
Supplier<net.openhft.chronicle.threads.TimingPauser> pauser,
Long timeoutMs,
String lockKey) |
Modifier and Type | Method and Description |
---|---|
protected @NotNull String |
getLockedBy(long value) |
void |
lock() |
boolean |
locked() |
void |
unlock() |
forceLockIfProcessIsDead, forceUnlock, forceUnlockIfProcessIsDead, forceUnlockIfProcessIsDeadOrCurrentProcess, isLockedByCurrentProcess, lockedBy, performClose, threadSafetyCheck
assertCloseablesClosed, clearUsedByThread, close, createdHere, disableCloseableTracing, enableCloseableTracing, isClosed, isClosing, isInUserThread, performCloseInBackground, referenceId, resetUsedByThread, shouldPerformCloseInBackground, shouldWaitForClosed, throwExceptionIfClosed, throwExceptionIfClosedInSetter, toString, unmonitor, waitForClosed, warnAndCloseIfNotClosed
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
close, closeQuietly, closeQuietly, notifyClosing
public TableStoreWriteLock(TableStore<?> tableStore, Supplier<net.openhft.chronicle.threads.TimingPauser> pauser, Long timeoutMs, String lockKey)
public TableStoreWriteLock(TableStore<?> tableStore, Supplier<net.openhft.chronicle.threads.TimingPauser> pauser, Long timeoutMs)
Copyright © 2020. All rights reserved.