public class IncrementalBackupProducer extends AbstractBackup implements IIncrementalBackup
Task.STATE
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
JOBNAME |
FILTER_COLUMN_FAMILY, FILTER_KEYSPACE, fs, pathFactory
INCREMENTAL_INTERVAL_IN_MILLISECS
Constructor and Description |
---|
IncrementalBackupProducer(IConfiguration config,
com.google.inject.Provider<AbstractBackupPath> pathFactory,
IFileSystemContext backupFileSystemCtx,
IncrementalMetaData metaData,
ITaskQueueMgr taskQueueMgr,
BackupNotificationMgr backupNotificationMgr) |
Modifier and Type | Method and Description |
---|---|
protected void |
addToRemotePath(java.lang.String remotePath)
Adds Remote path to the list of Remote Paths
|
protected void |
backupUploadFlow(java.io.File backupDir) |
void |
execute() |
java.lang.String |
getJobName() |
java.lang.String |
getName() |
long |
getNumPendingFiles() |
static TaskTimer |
getTimer() |
void |
postProcessing() |
addObserver, initiateBackup, isValidBackupDir, notifyEventFailure, notifyEventStart, notifyEventStop, notifyEventSuccess, removeObserver, setFileSystem, upload, upload
execute, getErrorCount, getExecutionCount, initialize, state
public static final java.lang.String JOBNAME
@Inject public IncrementalBackupProducer(IConfiguration config, com.google.inject.Provider<AbstractBackupPath> pathFactory, IFileSystemContext backupFileSystemCtx, IncrementalMetaData metaData, ITaskQueueMgr taskQueueMgr, BackupNotificationMgr backupNotificationMgr)
protected void backupUploadFlow(java.io.File backupDir) throws java.lang.Exception
backupUploadFlow
in class AbstractBackup
java.lang.Exception
protected void addToRemotePath(java.lang.String remotePath)
AbstractBackup
addToRemotePath
in class AbstractBackup
public void execute() throws java.lang.Exception
public void postProcessing()
public java.lang.String getName()
public long getNumPendingFiles()
getNumPendingFiles
in interface IIncrementalBackup
public static TaskTimer getTimer()
public java.lang.String getJobName()
getJobName
in interface IIncrementalBackup