Class ProcessedYamlsCacheFacade
java.lang.Object
com.atlassian.bamboo.configuration.external.rss.ProcessedYamlsCacheFacade
This class provides an abstraction over a directory that holds processed internal YAML files.
Its role is to encapsulate invalidation and population the data in the directory. If the cache was invalidated then
next time it's created it will remove all data. The data are not removed in the moment of invalidation because there
is no guarantee whether someone is not reading it.
The assumption is that thread that uses this class takes care of not passing the same directory to many threads
except of the static invalidateAll(Set, long)
}
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
invalidateAll
(Set<Path> workingDirectories, long repositoryId) Invalidated caches in passed working directories.
-
Method Details
-
invalidateAll
Invalidated caches in passed working directories. A working directory is a directory returned byRssExecutionDirectoryManager.getRssExecutionDirectory(long, String)
- Parameters:
workingDirectories
- working directories for which the caches should be invalidatedrepositoryId
- the repository for witch the cache was created
-