Class VcsCacheItem


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

      Constructors 
      Modifier Constructor Description
      protected VcsCacheItem​(long rootId, boolean connectionIsFailed)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean isConnectionFailed()
      Returns true if evaluation of the value failed.
      boolean isExpired()
      Returns true if the value should be re-evaluated.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • 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.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object