Class StatsHeader


  • public class StatsHeader
    extends java.lang.Object
    A model object that contains metadata information about some reported stats. For example, the kind of stats that is being reported, timestamp and etc.
    • Constructor Detail

      • StatsHeader

        public StatsHeader​(StatsHeader.StatsDescription description,
                           long timestamp,
                           int storesContactedCount,
                           int storesRespondedCount,
                           java.util.List<java.lang.String> unreachableStores)
      • StatsHeader

        public StatsHeader()
      • StatsHeader

        public StatsHeader​(StatsHeader original)
        A copy constructor.
        Parameters:
        original - The original copy.
    • Method Detail

      • getTimestamp

        public long getTimestamp()
        Returns:
        the reference timestamp at which the stats are collected
      • getUnreachableStores

        public java.util.List<java.lang.String> getUnreachableStores()
        Returns:
        the list of unreachable stores generated in the stats report
      • getStoresContactedCount

        public int getStoresContactedCount()
        Returns:
        the storesContactedCount.
      • getStoresRespondedCount

        public int getStoresRespondedCount()
        Returns:
        the storesRespondedCount.