public abstract class AbstractTSQueueLock extends Object 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 |
---|---|
void |
close() |
protected void |
closeCheck() |
protected void |
forceUnlock() |
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)
public void close()
close
in interface Closeable
close
in interface AutoCloseable
protected void closeCheck()
protected void forceUnlock()
Copyright © 2019. All rights reserved.