Uses of Interface
org.eclipse.jgit.lib.RepositoryCache.Key
Packages that use RepositoryCache.Key
-
Uses of RepositoryCache.Key in org.eclipse.jgit.lib
Classes in org.eclipse.jgit.lib that implement RepositoryCache.KeyModifier and TypeClassDescriptionstatic class
Location of a Repository, using the standard java.io.File API.Fields in org.eclipse.jgit.lib with type parameters of type RepositoryCache.KeyModifier and TypeFieldDescriptionprivate final Map<RepositoryCache.Key,
Repository> RepositoryCache.cacheMap
Methods in org.eclipse.jgit.lib that return types with arguments of type RepositoryCache.KeyModifier and TypeMethodDescriptionprivate Collection<RepositoryCache.Key>
RepositoryCache.getKeys()
static Collection<RepositoryCache.Key>
RepositoryCache.getRegisteredKeys()
Get the locations of all repositories registered in the cache.Methods in org.eclipse.jgit.lib with parameters of type RepositoryCache.KeyModifier and TypeMethodDescriptionprivate RepositoryCache.Lock
RepositoryCache.lockFor
(RepositoryCache.Key location) static Repository
RepositoryCache.open
(RepositoryCache.Key location) Open an existing repository, reusing a cached instance if possible.static Repository
RepositoryCache.open
(RepositoryCache.Key location, boolean mustExist) Open a repository, reusing a cached instance if possible.private Repository
RepositoryCache.openRepository
(RepositoryCache.Key location, boolean mustExist) private void
RepositoryCache.registerRepository
(RepositoryCache.Key location, Repository db) static void
RepositoryCache.unregister
(RepositoryCache.Key location) Remove a repository from the cache.private void
RepositoryCache.unregisterAndCloseRepository
(RepositoryCache.Key location) private Repository
RepositoryCache.unregisterRepository
(RepositoryCache.Key location)