public interface BackupArchiveLocation
| Modifier and Type | Method and Description |
|---|---|
URL |
getArchiveLocation(String relativeArchivePath)
Returns a URL that represents the location where a backup file should be
stored.
|
void |
initialize(String nodeName,
File configFile)
The initialize method should be invoked exactly once after the creation
of the object via its no arguments constructor.
|
void initialize(String nodeName, File configFile) throws InterruptedException, IOException
nodeName - the node name of the environment associated with the
backupconfigFile - a pathname used to initialize this object. It could,
for example, be the directory under which all files should be archived,
or it could be the name of a properties file that contains values that
will affect the behavior of the implementation. The format and meaning
of the config file is private to the implementation.InterruptedException - if the initialize operation is interruptedIllegalArgumentException - if the configuration was invalidIOException - if some irrecoverable I/O issue was encountered
during initializationURL getArchiveLocation(String relativeArchivePath)
relativeArchivePath - the path of the backup fileCopyright © 2024. All rights reserved.