Class VcsCacheItem


  • public class VcsCacheItem
    extends Object
    Cached element of VcsCache. Extends the class with your value class.
    • Constructor Detail

      • VcsCacheItem

        protected VcsCacheItem​(long rootId,
                               boolean connectionIsFailed)
        Parameters:
        rootId - vcs root id.
        connectionIsFailed - if getting the value process failed.
    • Method Detail

      • isConnectionFailed

        public boolean isConnectionFailed()
        Returns true if evaluation of the value failed.
        Returns:
        if this value evaluation failed.
      • isExpired

        public boolean isExpired()
        Returns true if the value should be re-evaluated.
        Returns:
        if the value should be re-evaluated.