public class JGitFileSystemsManager extends Object
| Constructor and Description |
|---|
JGitFileSystemsManager(JGitFileSystemProvider jGitFileSystemProvider,
JGitFileSystemProviderConfiguration config) |
| Modifier and Type | Method and Description |
|---|---|
void |
addClosedFileSystems(JGitFileSystem fileSystem) |
boolean |
allTheFSAreClosed() |
void |
clear() |
boolean |
containsKey(String fsName) |
boolean |
containsRoot(String fsName) |
JGitFileSystem |
get(org.eclipse.jgit.lib.Repository db) |
JGitFileSystem |
get(String fsName) |
JGitFileSystemsCache |
getFsCache() |
Set<JGitFileSystem> |
getOpenFileSystems() |
void |
newFileSystem(Supplier<Map<String,String>> fullHostNames,
Supplier<Git> git,
Supplier<String> fsName,
Supplier<org.eclipse.jgit.transport.CredentialsProvider> credential,
Supplier<JGitFileSystemsEventsManager> fsManager,
Supplier<Map<FileSystemHooks,?>> fsHooks) |
void |
remove(String realFSKey) |
void |
updateFSCacheEntry(String fsKey,
JGitFileSystem jGitFileSystem) |
public JGitFileSystemsManager(JGitFileSystemProvider jGitFileSystemProvider, JGitFileSystemProviderConfiguration config)
public void newFileSystem(Supplier<Map<String,String>> fullHostNames, Supplier<Git> git, Supplier<String> fsName, Supplier<org.eclipse.jgit.transport.CredentialsProvider> credential, Supplier<JGitFileSystemsEventsManager> fsManager, Supplier<Map<FileSystemHooks,?>> fsHooks)
public void updateFSCacheEntry(String fsKey, JGitFileSystem jGitFileSystem)
public void remove(String realFSKey)
public JGitFileSystem get(String fsName)
public void clear()
public boolean containsKey(String fsName)
public boolean containsRoot(String fsName)
public void addClosedFileSystems(JGitFileSystem fileSystem)
public boolean allTheFSAreClosed()
public JGitFileSystem get(org.eclipse.jgit.lib.Repository db)
public Set<JGitFileSystem> getOpenFileSystems()
public JGitFileSystemsCache getFsCache()
Copyright © 2012–2020 JBoss by Red Hat. All rights reserved.