Class Stats

java.lang.Object
org.kurento.client.Stats
Direct Known Subclasses:
ElementStats, RTCStats

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

    Constructors
    Modifier
    Constructor
    Description
    protected
    Default private constructor of Stats for serialization with Jackson
     
    Stats(String id, StatsType type, long timestampMillis)
    Create a Stats
  • Method Summary

    Modifier and Type
    Method
    Description
    get A unique id that is associated with the object that was inspected to produce this Stats object.
    long
    get The timestamp associated with this event: Milliseconds elapsed since the UNIX Epoch (Jan 1, 1970, UTC).
    get The type of this object.
    void
    set A unique id that is associated with the object that was inspected to produce this Stats object.
    void
    setTimestampMillis(long timestampMillis)
    set The timestamp associated with this event: Milliseconds elapsed since the UNIX Epoch (Jan 1, 1970, UTC).
    void
    set The type of this object.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • 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 Details

    • 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).