Class BackupManagerImpl

    • Field Detail

      • core

        private final Core core
      • first_schedule_check

        private boolean first_schedule_check
      • last_auto_backup

        private long last_auto_backup
      • closing

        volatile boolean closing
    • Constructor Detail

      • BackupManagerImpl

        private BackupManagerImpl​(Core _core)
    • Method Detail

      • checkSchedule

        void checkSchedule()
      • checkClosing

        private void checkClosing()
                           throws java.lang.Exception
        Throws:
        java.lang.Exception
      • copyFiles

        private long[] copyFiles​(java.io.File from_file,
                                 java.io.File to_file)
                          throws java.lang.Exception
        Throws:
        java.lang.Exception
      • copyFilesSupport

        private long[] copyFilesSupport​(java.io.File from_file,
                                        java.io.File to_file,
                                        int depth)
                                 throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getBackupDirTime

        long getBackupDirTime​(java.io.File file)
      • addActions

        private void addActions​(UpdateInstaller installer,
                                java.io.File source,
                                java.io.File target)
                         throws java.lang.Exception
        Throws:
        java.lang.Exception
      • patch

        private int patch​(java.util.Map<java.lang.String,​java.lang.Object> map,
                          java.lang.String from,
                          java.lang.String to)
      • patch

        private int patch​(java.util.List list,
                          java.lang.String from,
                          java.lang.String to)