Package jetbrains.buildServer.vcs.impl
Class VcsContentCache
- java.lang.Object
-
- jetbrains.buildServer.vcs.impl.VcsContentCache
-
public class VcsContentCache extends Object
- Author:
- Sergey.Anchipolevsky Date: 03.07.2009
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVcsContentCache.Keystatic classVcsContentCache.Value
-
Constructor Summary
Constructors Constructor Description VcsContentCache(ServerPaths serverPaths, EventDispatcher<BuildServerListener> dispatcher, EventDispatcher<RepositoryStateListener> repositoryStateEvents)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StringcomposeContentCacheKey(VcsRootInstance root, String pathInVcs)VcsContentCache.Valueget(VcsContentCache.Key key)voidinvalidate(VcsContentCache.Key key)voidput(VcsContentCache.Key key, byte[] content)voidshutdown()
-
-
-
Constructor Detail
-
VcsContentCache
@Autowired public VcsContentCache(@NotNull ServerPaths serverPaths, @NotNull EventDispatcher<BuildServerListener> dispatcher, @NotNull EventDispatcher<RepositoryStateListener> repositoryStateEvents)
-
-
Method Detail
-
get
@Nullable public VcsContentCache.Value get(@NotNull VcsContentCache.Key key)
-
composeContentCacheKey
@NotNull public static String composeContentCacheKey(@NotNull VcsRootInstance root, @NotNull String pathInVcs)
-
invalidate
public void invalidate(@NotNull VcsContentCache.Key key)
-
put
public void put(@NotNull VcsContentCache.Key key, @Nullable byte[] content)
-
shutdown
public void shutdown()
-
-