Package jetbrains.buildServer.vcs.utils
Class VcsCache<Value extends VcsCacheItem>
- java.lang.Object
-
- jetbrains.buildServer.vcs.utils.VcsCache<Value>
-
@Deprecated public abstract class VcsCache<Value extends VcsCacheItem> extends java.lang.Object
Deprecated.useCacheProvider
insteadAllows to cache data related to vcs root.- See Also:
VcsCacheItem
-
-
Constructor Summary
Constructors Constructor Description VcsCache(VcsCacheItemFactory<Value> factory)
Deprecated.Creates new vcs cache instance.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Value
getItem(VcsRoot root)
Deprecated.Returns data related to the specified root.protected abstract java.lang.String
getKey(VcsRoot root)
Deprecated.void
resetCache(VcsRoot root)
Deprecated.
-
-
-
Constructor Detail
-
VcsCache
public VcsCache(VcsCacheItemFactory<Value> factory)
Deprecated.Creates new vcs cache instance.- Parameters:
factory
- factory to create new cached values.
-
-
Method Detail
-
getItem
public Value getItem(VcsRoot root)
Deprecated.Returns data related to the specified root.- Parameters:
root
- specified root.- Returns:
- value related to the root.
-
getKey
protected abstract java.lang.String getKey(VcsRoot root)
Deprecated.
-
resetCache
public void resetCache(VcsRoot root)
Deprecated.
-
-