void (LoaderStatus loaderStatus, String commitId, long startTime) { if (loaderStatus == LoaderStatus.FAILED) { onFail(); return; } // Statistic should be available if cache downloaded successfully myNettyClient.sendDownloadStatisticMessage(commitId, JpsCacheLoadingSystemStats.getDecompressionSpeedBytesPesSec(), JpsCacheLoadingSystemStats.getDeletionSpeedBytesPerSec()); isCacheDownloaded = true; LOG.info("Loading finished"); }