Class DayCounterInfo

    • Constructor Summary

      Constructors 
      Constructor Description
      DayCounterInfo​(java.lang.String date, long[] counters)  
    • Constructor Detail

      • DayCounterInfo

        public DayCounterInfo​(java.lang.String date,
                              long[] counters)
    • Method Detail

      • toJSON

        public static java.lang.String toJSON​(DayCounterInfo[] infos)
      • getDate

        public java.lang.String getDate()
        Returns the date of the counter.
      • getCounters

        public long[] getCounters()
        Returns a 24-length array corresponding to the number of messages added to the queue for the given hour of the day.