public class Stats extends Object
Modifier | Constructor and Description |
---|---|
protected |
Stats()
Default private constructor of Stats for serialization with Jackson
|
|
Stats(String id,
StatsType type,
double timestamp,
long timestampMillis)
Create a Stats
|
Modifier and Type | Method and Description |
---|---|
String |
getId()
get A unique id that is associated with the object that was inspected to produce this Stats object.
|
double |
getTimestamp()
get [DEPRECATED: Use timestampMillis] The timestamp associated with this object: Seconds elapsed since the UNIX Epoch (Jan 1, 1970, UTC).
|
long |
getTimestampMillis()
get The timestamp associated with this event: Milliseconds elapsed since the UNIX Epoch (Jan 1, 1970, UTC).
|
StatsType |
getType()
get The type of this object.
|
void |
setId(String id)
set A unique id that is associated with the object that was inspected to produce this Stats object.
|
void |
setTimestamp(double timestamp)
set [DEPRECATED: Use timestampMillis] The timestamp associated with this object: Seconds elapsed since the UNIX Epoch (Jan 1, 1970, UTC).
|
void |
setTimestampMillis(long timestampMillis)
set The timestamp associated with this event: Milliseconds elapsed since the UNIX Epoch (Jan 1, 1970, UTC).
|
void |
setType(StatsType type)
set The type of this object.
|
protected Stats()
public String getId()
public void setId(String id)
public StatsType getType()
public void setType(StatsType type)
public double getTimestamp()
public void setTimestamp(double timestamp)
public long getTimestampMillis()
public void setTimestampMillis(long timestampMillis)
Copyright © 2019 Kurento. All rights reserved.