Heartbeat
A heartbeat sent at a fixed interval from a device.
Collected by HeartbeatProbe for the DeviceSamplingPackage.HEARTBEAT measure. Useful for calculating sampling coverage over time.
- Inheritance
-
- Object
- Serializable
- Data
- Heartbeat
- Annotations
-
- @JsonSerializable(includeIfNull: false, explicitToJson: true)
Constructors
Heartbeat.fromJson
Heartbeat
Properties
deviceRoleName
getter/setter pair
The role name of the device in the protocol.
deviceType
getter/setter pair
The type of device sending the heartbeat, e.g. the CARP type name of the Smartphone device.
fromJsonFunction
The function which can convert a JSON string to an object of this type.
Methods
toJson
Return a JSON encoding of this object.