Contents
Class BackupTask
java.lang.Object
com.hypixel.hytale.server.core.util.backup.BackupTask
-
Method Summary
Modifier and TypeMethodDescriptionstatic CompletableFuture<Void> Starts a newBackupTaskon a non-daemon thread.
-
Method Details
-
start
Starts a newBackupTaskon a non-daemon thread. The returned CompletableFuture will complete once the backup is finished, unless it completes exceptionally.- Parameters:
universeDir- The universe directory to back up.backupDir- The directory to place the backup in.- Returns:
- A CompletableFuture representing the backup progress.
-