Class VcsCache<Value extends VcsCacheItem>


  • @Deprecated
    public abstract class VcsCache<Value extends VcsCacheItem>
    extends java.lang.Object
    Deprecated.
    use CacheProvider instead
    Allows to cache data related to vcs root.
    See Also:
    VcsCacheItem
    • 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.