public class BackupTask extends Object implements Runnable
IN_PROGRESS_FILE while progressing and the
FAILURE_FILE file in case of failure.| Modifier and Type | Field and Description |
|---|---|
static String |
FAILURE_FILE
Name of the file which indicates that there was a failure during backup
|
static String |
IN_PROGRESS_FILE
Name of the file which indicates that there is a backup in progress
|
| Modifier and Type | Method and Description |
|---|---|
com.hazelcast.hotrestart.BackupTaskState |
getBackupState()
Returns the current state of the backup task
|
long |
getMaxChunkSeq() |
void |
run()
Runs the backup task.
|
public static final String IN_PROGRESS_FILE
public static final String FAILURE_FILE
public void run()
IN_PROGRESS_FILE and start copying the chunks. When finished successfully or with
a failure, the file will be removed. In case of failure, a new file with the name FAILURE_FILE will be created
with the exception stack trace.public com.hazelcast.hotrestart.BackupTaskState getBackupState()
public long getMaxChunkSeq()
Copyright © 2021 Hazelcast, Inc.. All Rights Reserved.