com.continuent.tungsten.replicator.backup
Interface BackupPlugin

All Known Subinterfaces:
BackupAgent, StorageAgent
All Known Implementing Classes:
AbstractBackupAgent, DummyBackupAgent, FileSystemStorageAgent, MySqlDumpAgent, MySqlLvmDumpAgent, PostgreSqlDumpAgent, ScriptDumpAgent

public interface BackupPlugin

This class defines a BackupPlugin. BackupPlugin instances are lightweight objects created for a single backup operation. Here is the lifecycle:

  • Instantiate plug-in from class name
  • Call setters on plug-in instance and load property names
  • Call configure() to signal configuration is complete
  • Call backup operation
  • Call release() to free resources
  • Version:
    1.0
    Author:
    Robert Hodges

    Method Summary
     void configure()
              Complete plug-in configuration.
     void release()
              Release all resources used by plug-in.
     

    Method Detail

    configure

    void configure()
                   throws BackupException
    Complete plug-in configuration. This is called after setters are invoked.

    Throws:
    ReplicatorException - Thrown if configuration is incomplete or fails
    BackupException

    release

    void release()
                 throws BackupException
    Release all resources used by plug-in. This is called before the plug-in is deallocated.

    Throws:
    ReplicatorException - Thrown if resource deallocation fails
    BackupException