public final class Pretoucher extends Object
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 shutdown()
method can be called to close the supplied queue and release any other resources.
Invocation of the execute()
method after shutdown()
has been called with cause an IllegalStateException
to be thrown.Constructor and Description |
---|
Pretoucher(SingleChronicleQueue queue) |
public Pretoucher(SingleChronicleQueue queue)
Copyright © 2018. All rights reserved.