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 class
VcsContentCache.Key
static class
VcsContentCache.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 String
composeContentCacheKey(VcsRootInstance root, String pathInVcs)
VcsContentCache.Value
get(VcsContentCache.Key key)
void
invalidate(VcsContentCache.Key key)
void
put(VcsContentCache.Key key, byte[] content)
void
shutdown()
-
-
-
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()
-
-