|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.continuent.tungsten.replicator.backup.DummyBackupAgent
public class DummyBackupAgent
Implements a dummy backup agent used for unit testing.
| Constructor Summary | |
|---|---|
DummyBackupAgent()
|
|
| Method Summary | |
|---|---|
BackupSpecification |
backup()
Back up the database. |
BackupCapabilities |
capabilities()
Returns default capabilities. |
void |
configure()
Complete plug-in configuration. |
void |
release()
Release all resources used by plug-in. |
void |
restore(BackupSpecification spec)
Restore the database from a backup. |
void |
setDirectory(java.io.File directory)
|
void |
setFail(boolean fail)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DummyBackupAgent()
| Method Detail |
|---|
public void setDirectory(java.io.File directory)
public void setFail(boolean fail)
public BackupSpecification backup()
throws BackupException
BackupAgent
backup in interface BackupAgentBackupException
public void restore(BackupSpecification spec)
throws BackupException
BackupAgent
restore in interface BackupAgentBackupException
public void configure()
throws BackupException
configure in interface BackupPluginBackupExceptionBackupPlugin.configure()
public void release()
throws BackupException
release in interface BackupPluginBackupExceptionBackupPlugin.release()public BackupCapabilities capabilities()
capabilities in interface BackupAgentBackupAgent.capabilities()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||