Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## Uses of Class
backupAndRecovery.BackupMetaContainer

Packages that use BackupMetaContainer
backupAndRecovery |
main |
network |

Uses of BackupMetaContainer in backupAndRecovery

Methods in backupAndRecovery with parameters of type BackupMetaContainer
`static void` | `Delete.delete(BackupMetaContainer meta)` Performs one time deletion of backup.
`static void` | `Delete.delete(BackupMetaContainer meta, boolean repeat)` Enables user to repeatedly delete backup.
`void` | `Recovery.recover(BackupMetaContainer meta, java.io.File dest)` Main method of class, performs procedures to succesfully recover backup.
`void` | `IRotationScheme.rotate(BackupMetaContainer meta)` This method rotates all existing backup media to prevent excesive media usage by unrequired backups.
`void` | `RoundRobin.rotate(BackupMetaContainer meta)` This method implements Round Robin aproach to backup media rotation.

Uses of BackupMetaContainer in main

Methods in main that return BackupMetaContainer
`BackupMetaContainer` | `BackupListModel.getMeta(int index)` This method allows loading of data from model.
`static BackupMetaContainer[]` | `RepositoryAdministrator.listBackups(java.lang.String filename)` This method searches local repository for backups of given file.
`static BackupMetaContainer[]` | `AppManager.searchBackups(java.lang.String filename)` Performs search for filename that was previously backed up.

Methods in main with parameters of type BackupMetaContainer
`static void` | `RepositoryAdministrator.addBackup(BackupMetaContainer meta)` Registers backup metadata.
`static void` | `AppManager.delete(BackupMetaContainer meta)` Given meta information of backup this method deletes backup represented by it from distributed repository.
`static void` | `AppManager.delete(BackupMetaContainer meta, boolean repeat)` Given meta information of backup this method deletes backup represented by it from distributed repository.
`static void` | `RepositoryAdministrator.deleteBackup(BackupMetaContainer meta)` Deletes backup from local repository.
`static java.util.ArrayList<java.io.InputStream>` | `RepositoryAdministrator.getInputStreamsForBackup(BackupMetaContainer meta)` Returns list of inputstreams used to read existing parts of backup identified by backup metadata.
`static java.util.ArrayList<java.io.OutputStream>` | `RepositoryAdministrator.getOutputStreamsForBackup(BackupMetaContainer meta)` Returns list of outputstreams used to write missing parts of backup identified by backup metadata.
`static java.util.ArrayList<java.io.OutputStream>` | `RepositoryAdministrator.getOutputStreamsForBackup(BackupMetaContainer meta, boolean overChecksums)` Same as getOutputStreamsForBackup(BackupMetaContainer meta) exept it allows for iteration over data checksums when overChecksums parameter is set to true.
`static java.lang.String[]` | `RepositoryAdministrator.listFragments(BackupMetaContainer meta)` Given backup metadata file, list of fragments stored in local repository are returned.
`static void` | `AppManager.recover(BackupMetaContainer meta, java.io.File dest)` Begins recovery of file identified by metafile and saves it into specified filename.

Constructors in main with parameters of type BackupMetaContainer
`BackupListModel(BackupMetaContainer[] metas)` Constructor loads array containing meta infromation of backups to be presented to user.

Uses of BackupMetaContainer in network

Methods in network that return BackupMetaContainer
`static BackupMetaContainer` | `ProtocolDelete.getMeta(org.dom4j.Document msg)` Parses request to get metadata of file requested to be deleted.
`static BackupMetaContainer` | `ProtocolRecovery.getMeta(org.dom4j.Document msg)` Attempts to convert request into backup metadata container.
`static BackupMetaContainer` | `ProtocolBackup.parseRequest(org.dom4j.Document msg)` Parses request received over network.
`BackupMetaContainer[]` | `RepositoryPoller.pollForFilename(java.lang.String filename)` This method polls networked host for existing backup.

Methods in network that return types with arguments of type BackupMetaContainer
`static java.util.HashMap<BackupMetaContainer,java.lang.String[]>` | `ProtocolRecovery.parseResponse(java.lang.String response)` Parses response.

Methods in network with parameters of type BackupMetaContainer
`static byte[]` | `ProtocolDelete.buildRequest(BackupMetaContainer meta)` Build request to delete file identified by backup metadata.
`static byte[]` | `ProtocolRecovery.buildRequest(BackupMetaContainer meta)` Builds full request for exact backup identified by full backup metadata.
`static byte[]` | `ProtocolRecovery.buildResponse(BackupMetaContainer meta, java.lang.String[] files)` This method build reponse to any request, either full or partial.
`static byte[]` | `ProtocolBackup.createRequest(BackupMetaContainer meta)` Given metadata of file to be backed up, this method creates request which can be send to other networked peers.
`void` | `RepositoryPoller.delete(BackupMetaContainer meta)` Requests network peers to delete backup.
`java.util.HashMap<java.lang.String,java.util.Vector<java.net.InetAddress>>` | `RepositoryPoller.pollForFragments(BackupMetaContainer meta)` This method polls networked host for existing backup.
`RepoHost[]` | `RepositoryPoller.pollForNewBackup(BackupMetaContainer meta)` Multicast request message containing size of one backup fragment in MB.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES