Class AwsManifestFile
- java.lang.Object
-
- org.apache.jackrabbit.oak.segment.aws.AwsManifestFile
-
- All Implemented Interfaces:
ManifestFile
public class AwsManifestFile extends Object implements ManifestFile
-
-
Constructor Summary
Constructors Constructor Description AwsManifestFile(S3Directory directory, String manifestFile)
-
Method Summary
All Methods Instance Methods Concrete 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.
-
-
-
Constructor Detail
-
AwsManifestFile
public AwsManifestFile(S3Directory directory, String manifestFile) throws IOException
- Throws:
IOException
-
-
Method Detail
-
exists
public boolean exists()
Description copied from interface:ManifestFileCheck if the manifest already exists.- Specified by:
existsin interfaceManifestFile- Returns:
trueif the manifest exists
-
load
public Properties load() throws IOException
Description copied from interface:ManifestFileLoad the properties from the manifest file.- Specified by:
loadin interfaceManifestFile- Returns:
- properties describing the segmentstore
- Throws:
IOException
-
save
public void save(Properties properties) throws IOException
Description copied from interface:ManifestFileStore the properties to the manifest file.- Specified by:
savein interfaceManifestFile- Parameters:
properties- describing the segmentstore- Throws:
IOException
-
-