@Internal
public interface CachedRepositoryDefinitionManager
Modifier and Type | Method and Description |
---|---|
void |
disableCache()
Disables cache.
|
VcsRepositoryData |
findLinkedRepositoryByName(String name) |
Stream<VcsRepositoryData> |
findRepositoriesByPluginKey(String pluginKey)
Returns all repositories with the give plugin key
|
VcsRepositoryData |
getVcsRepositoryData(long repositoryId) |
void |
initialiseCache()
Loads all repositories into cache and enables cache.
|
void |
invalidate(long repositoryId)
Invalidates the repository and re-reads it into cache.
|
void |
remove(long repositoryId)
Removes given repository from cache
|
@Nullable VcsRepositoryData getVcsRepositoryData(long repositoryId)
Stream<VcsRepositoryData> findRepositoriesByPluginKey(String pluginKey)
@Nullable VcsRepositoryData findLinkedRepositoryByName(@NotNull String name)
void invalidate(long repositoryId)
void remove(long repositoryId)
void initialiseCache()
void disableCache()
Copyright © 2018 Atlassian Software Systems Pty Ltd. All rights reserved.