public interface JobDirectoryManifestService
DirectoryManifest
for Genie jobs directories.
Implementations can have behaviors such as remotely fetching, or caching.Modifier and Type | Method and Description |
---|---|
DirectoryManifest |
getDirectoryManifest(java.nio.file.Path jobDirectoryPath)
Produces a
DirectoryManifest for the given job. |
void |
invalidateCachedDirectoryManifest(java.nio.file.Path jobDirectoryPath)
If the implementation caches manifests to avoid excessive I/O, then demand the given cache entry be dropped,
thus forcing a re-creation of manifest from scratch.
|
DirectoryManifest getDirectoryManifest(java.nio.file.Path jobDirectoryPath) throws java.io.IOException
DirectoryManifest
for the given job.jobDirectoryPath
- the job directoryDirectoryManifest
java.io.IOException
- if the manifest cannot be created.void invalidateCachedDirectoryManifest(java.nio.file.Path jobDirectoryPath)
jobDirectoryPath
- the job directory