Class Stats

  • Direct Known Subclasses:
    ElementStats, RTCStats

    public class Stats
    extends Object
    A dictionary that represents the stats gathered.
    • Constructor Detail

      • Stats

        protected Stats()
        Default private constructor of Stats for serialization with Jackson
      • Stats

        public Stats​(String id,
                     StatsType type,
                     long timestampMillis)
        Create a Stats
    • Method Detail

      • getId

        public String getId()
        get A unique id that is associated with the object that was inspected to produce this Stats object.
      • setId

        public void setId​(String id)
        set A unique id that is associated with the object that was inspected to produce this Stats object.
      • getType

        public StatsType getType()
        get The type of this object.
      • setType

        public void setType​(StatsType type)
        set The type of this object.
      • getTimestampMillis

        public long getTimestampMillis()
        get The timestamp associated with this event: Milliseconds elapsed since the UNIX Epoch (Jan 1, 1970, UTC).
      • setTimestampMillis

        public void setTimestampMillis​(long timestampMillis)
        set The timestamp associated with this event: Milliseconds elapsed since the UNIX Epoch (Jan 1, 1970, UTC).