Interface ManifestFile
-
- All Known Implementing Classes:
AwsManifestFile,AzureManifestFile,AzureManifestFileV8,LocalManifestFile
public interface ManifestFileManifest is a properties files, providing the information about the segment store (eg. the schema version number).The implementation doesn't need to be thread-safe.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanexists()Check if the manifest already exists.Propertiesload()Load the properties from the manifest file.voidsave(Properties properties)Store the properties to the manifest file.
-
-
-
Method Detail
-
exists
boolean exists()
Check if the manifest already exists.- Returns:
trueif the manifest exists
-
load
Properties load() throws IOException
Load the properties from the manifest file.- Returns:
- properties describing the segmentstore
- Throws:
IOException
-
save
void save(Properties properties) throws IOException
Store the properties to the manifest file.- Parameters:
properties- describing the segmentstore- Throws:
IOException
-
-