Class DownloadStageStatistics


  • public class DownloadStageStatistics
    extends Object
    Aggregates statistics when downloading from Mongo with two threads
    • Field Detail

      • LOG

        public static final Logger LOG
    • Constructor Detail

      • DownloadStageStatistics

        public DownloadStageStatistics()
    • Method Detail

      • getTotalEnqueueWaitTimeMillis

        public long getTotalEnqueueWaitTimeMillis()
      • getDocumentsDownloadedTotal

        public long getDocumentsDownloadedTotal()
      • getDocumentsDownloadedTotalBytes

        public long getDocumentsDownloadedTotalBytes()
      • incrementTotalEnqueueWaitTimeMillis

        public void incrementTotalEnqueueWaitTimeMillis​(long millis)
      • incrementDocumentsDownloadedTotal

        public void incrementDocumentsDownloadedTotal()
      • incrementDocumentsDownloadedTotalBytes

        public void incrementDocumentsDownloadedTotalBytes​(long bytes)
      • formatStats

        public String formatStats​(long durationMillis)