public interface Pretoucher extends Closeable
PretouchUtil.createPretoucher(SingleChronicleQueue)
Upon invocation of the execute() method, this object will pre-touch pages in the supplied queue's underlying store file, attempting to keep
ahead of any appenders to the queue.
Resources held by this object will be released when the underlying queue is closed.
Alternatively, the close() method can be called to close the supplied queue and release any other resources. Invocation of the execute() method after close() has been called will cause an InvalidEventHandlerException to be thrown.
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
execute() |
void execute()
throws net.openhft.chronicle.core.threads.InvalidEventHandlerException
net.openhft.chronicle.core.threads.InvalidEventHandlerExceptionvoid close()
close in interface AutoCloseableclose in interface CloseableCopyright © 2022. All rights reserved.