Interface JobDirectoryManifestCreatorService
- All Known Implementing Classes:
JobDirectoryManifestCreatorServiceImpl
public interface JobDirectoryManifestCreatorService
Factory-like service that produces
DirectoryManifest
for Genie jobs directories.
Implementations can have behaviors such as remotely fetching, or caching.- Since:
- 4.0.0
-
Method Summary
Modifier and TypeMethodDescriptiongetDirectoryManifest
(Path jobDirectoryPath) Produces aDirectoryManifest
for the given job.void
invalidateCachedDirectoryManifest
(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.
-
Method Details
-
getDirectoryManifest
Produces aDirectoryManifest
for the given job.- Parameters:
jobDirectoryPath
- the job directory- Returns:
- a
DirectoryManifest
- Throws:
IOException
- if the manifest cannot be created.
-
invalidateCachedDirectoryManifest
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.- Parameters:
jobDirectoryPath
- the job directory
-