Class CoverityConnectDataCache<T>

    • Field Detail

      • logger

        protected final com.synopsys.integration.log.IntLogger logger
    • Constructor Detail

      • CoverityConnectDataCache

        public CoverityConnectDataCache​(com.synopsys.integration.log.IntLogger logger)
    • Method Detail

      • getData

        public T getData​(CoverityConnectInstance coverityConnectInstance,
                         java.lang.String credentialsId)
                  throws java.lang.InterruptedException
        Throws:
        java.lang.InterruptedException
      • refreshIfStale

        public void refreshIfStale​(CoverityConnectInstance coverityConnectInstance,
                                   java.lang.String credentialsId)
                            throws java.lang.InterruptedException
        Throws:
        java.lang.InterruptedException
      • refresh

        public void refresh​(CoverityConnectInstance coverityConnectInstance,
                            java.lang.String credentialsId)
                     throws java.lang.InterruptedException
        Throws:
        java.lang.InterruptedException
      • getFreshData

        protected abstract T getFreshData​(com.synopsys.integration.coverity.ws.WebServiceFactory webServiceFactory)
      • getEmptyData

        protected abstract T getEmptyData()