Class FileBasedCheckpointer<T>

  • All Implemented Interfaces:
    Checkpointer<T>

    public class FileBasedCheckpointer<T>
    extends java.lang.Object
    implements Checkpointer<T>
    • Constructor Summary

      Constructors 
      Constructor Description
      FileBasedCheckpointer​(java.io.File checkpointFile, com.indeed.util.serialization.Stringifier<T> stringifier, T defaultValue)  
      FileBasedCheckpointer​(java.nio.file.Path checkpointFilePath, com.indeed.util.serialization.Stringifier<T> stringifier, T defaultValue)  
    • Constructor Detail

      • FileBasedCheckpointer

        public FileBasedCheckpointer​(@Nonnull
                                     java.io.File checkpointFile,
                                     @Nonnull
                                     com.indeed.util.serialization.Stringifier<T> stringifier,
                                     @Nonnull
                                     T defaultValue)
                              throws java.io.IOException
        Throws:
        java.io.IOException
      • FileBasedCheckpointer

        public FileBasedCheckpointer​(@Nonnull
                                     java.nio.file.Path checkpointFilePath,
                                     @Nonnull
                                     com.indeed.util.serialization.Stringifier<T> stringifier,
                                     @Nonnull
                                     T defaultValue)
                              throws java.io.IOException
        Throws:
        java.io.IOException