public interface DatabaseLoader
| Modifier and Type | Method and Description |
|---|---|
String |
getConfigName()
The filename used to save the database after all the loaders have loaded it, is based on a
concatenation of the config names returned by the loaders.
|
boolean |
needsUpdate(RandomAccessFile consistencyDateFile) |
void |
writeConsistencyDate(FileWriter consistencyDateFile) |
boolean needsUpdate(RandomAccessFile consistencyDateFile) throws IOException, ConfigurationException
consistencyDateFile - check in this file when the last databse has been loadedIOException - if the consistencyDateFile can not be read for some reasonConfigurationExceptionString getConfigName() throws ConfigurationException
ConfigurationException - in case some of the configuration properties do not existvoid writeConsistencyDate(FileWriter consistencyDateFile) throws IOException
consistencyDateFile - the file in which the consistency date should be writtenIOException - if the consistency date file can't be written for some reasonCopyright © 2017 Space Applications Services. All rights reserved.