Interface SnapshotProcessor

    • Method Detail

      • processTakeSnapshot

        boolean processTakeSnapshot​(java.io.File snapshotDir)
                             throws org.apache.thrift.TException,
                                    java.io.IOException
        Take snapshot
        Parameters:
        snapshotDir - Where snapshot files are stored.
        Returns:
        Whether the snapshot is successfully executed
        Throws:
        org.apache.thrift.TException - Exception occurred during the thrift serialize struct
        java.io.IOException - Exception related to file read and write
      • processLoadSnapshot

        void processLoadSnapshot​(java.io.File snapshotDir)
                          throws org.apache.thrift.TException,
                                 java.io.IOException
        Load snapshot
        Parameters:
        snapshotDir - Load snapshot from here
        Throws:
        org.apache.thrift.TException - Exception occurred during the thrift deserialize struct
        java.io.IOException - Exception related to file read and write