com.continuent.tungsten.replicator.backup
Class RestoreTask

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

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

Processes a restore command including retrieving the backup file and loading into the database.

Version:
1.0
Author:
Robert Hodges

Constructor Summary
RestoreTask(java.net.URI uri, com.continuent.tungsten.fsm.event.EventDispatcher dispatcher, 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

RestoreTask

public RestoreTask(java.net.URI uri,
                   com.continuent.tungsten.fsm.event.EventDispatcher dispatcher,
                   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