Class JGitFileSystemsCache
- java.lang.Object
-
- org.uberfire.java.nio.fs.jgit.manager.JGitFileSystemsCache
-
public class JGitFileSystemsCache extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classJGitFileSystemsCache.JGitFileSystemsCacheInfo
-
Constructor Summary
Constructors Constructor Description JGitFileSystemsCache(JGitFileSystemProviderConfiguration config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddSupplier(String fsKey, Supplier<JGitFileSystem> createFSSupplier)voidclear()booleancontainsKey(String fsName)JGitFileSystemget(String fsName)JGitFileSystemsCache.JGitFileSystemsCacheInfogetCacheInfo()Collection<String>getFileSystems()voidremove(String fsName)voidreplaceSupplier(String fsKey, Supplier<JGitFileSystem> fsSupplier)
-
-
-
Constructor Detail
-
JGitFileSystemsCache
public JGitFileSystemsCache(JGitFileSystemProviderConfiguration config)
-
-
Method Detail
-
addSupplier
public void addSupplier(String fsKey, Supplier<JGitFileSystem> createFSSupplier)
-
replaceSupplier
public void replaceSupplier(String fsKey, Supplier<JGitFileSystem> fsSupplier)
-
remove
public void remove(String fsName)
-
get
public JGitFileSystem get(String fsName)
-
clear
public void clear()
-
containsKey
public boolean containsKey(String fsName)
-
getFileSystems
public Collection<String> getFileSystems()
-
getCacheInfo
public JGitFileSystemsCache.JGitFileSystemsCacheInfo getCacheInfo()
-
-