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 String |
path |
protected net.openhft.chronicle.threads.TimingPauser |
pauser |
protected TableStore |
tableStore |
protected static long |
UNLOCKED |
Constructor and Description |
---|
AbstractTSQueueLock(String lockKey,
File queueDirectoryPath,
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 String path
protected final TableStore tableStore
public void close()
close
in interface Closeable
close
in interface AutoCloseable
protected void closeCheck()
protected void forceUnlock()
Copyright © 2018. All rights reserved.