com.continuent.tungsten.replicator.backup
Class BackupTask

java.lang.Object
  extended by com.continuent.tungsten.replicator.backup.BackupTask
All Implemented Interfaces:
java.util.concurrent.Callable<java.lang.String>

public class BackupTask
extends java.lang.Object
implements java.util.concurrent.Callable<java.lang.String>

Processes a backup command including dumping data from the database and storing the resulting file(s).

Version:
1.0
Author:
Robert Hodges

Constructor Summary
BackupTask(com.continuent.tungsten.fsm.event.EventDispatcher dispatcher, java.lang.String backupAgentName, BackupAgent backupAgent, StorageAgent storageAgent)
           
 
Method Summary
 java.lang.String call()
          Execute the backup task.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BackupTask

public BackupTask(com.continuent.tungsten.fsm.event.EventDispatcher dispatcher,
                  java.lang.String backupAgentName,
                  BackupAgent backupAgent,
                  StorageAgent storageAgent)
Method Detail

call

public java.lang.String call()
                      throws BackupException
Execute the backup task.

Specified by:
call in interface java.util.concurrent.Callable<java.lang.String>
Throws:
BackupException