Class Collector


  • public class Collector
    extends Object
    • Constructor Detail

      • Collector

        public Collector()
    • Method Detail

      • setSearchString

        public void setSearchString​(String searchString)
      • getSearchString

        public String getSearchString()
      • setDurationsMs

        public static void setDurationsMs​(boolean durationsMs)
      • getDurationsMs

        public static boolean getDurationsMs()
      • addLog

        public void addLog​(String logMessage)
      • getStartTime

        public Date getStartTime()
      • getFirstValidLogMessage

        public LogMessage getFirstValidLogMessage()
      • getLastValidLogMessage

        public LogMessage getLastValidLogMessage()
      • getEndTime

        public Date getEndTime()
      • getDuration

        public long getDuration()
      • getFormattedDuration

        public String getFormattedDuration()
      • getServiceCount

        public int getServiceCount()
      • compareLongs

        public int compareLongs​(long l1,
                                long l2)
      • getServices

        public Set<String> getServices()
      • getThreadCount

        public int getThreadCount()
      • getCollectionsPerService

        public int getCollectionsPerService​(String serviceID)
      • getAverageCollectionTimePerService

        public long getAverageCollectionTimePerService​(String serviceID)
      • getTotalCollectionTimePerService

        public long getTotalCollectionTimePerService​(String serviceID)
      • printGlobalStats

        public void printGlobalStats​(PrintWriter out)
      • formatDuration

        public static String formatDuration​(long millis)
      • printServiceHeader

        public void printServiceHeader​(PrintWriter out)
      • printReport

        public void printReport​(PrintWriter out)
      • printServiceStats

        public void printServiceStats​(String serviceID,
                                      PrintWriter out)