public final class DefaultCheckpointers extends Object
Checkpointer
implementations.public static Checkpointer file(Path path) throws IOException
The checkpointer will attempt to obtain an exclusive lock on the file so there can only be a single checkpointer instance for a given file at any point in time.
path
- A file path.IOException
- if an error occurs creating the checkpointer.Copyright © 2023. All rights reserved.