LwcHeartbeat

com.netflix.atlas.eval.model.LwcHeartbeat
case class LwcHeartbeat(timestamp: Long, step: Long) extends JsonSupport

Heartbeat message to indicate the time according to the server side. The eval client always adjusts to the timestamps of the data that is flowing through it. These messages can be used by the server side to ensure that there will always be at least one message for a given step size that is flowing through to the client so it will close out and evaluate a given time interval.

Value parameters

step

Step size for this heartbeat message. The server will typically send one heartbeat foreach step size used in a subscription.

timestamp

Current time aligned to the last completed step boundary.

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait JsonSupport
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def encode(gen: JsonGenerator): Unit

Encode this object as JSON. By default it will just use Json.encode. This method can be overridden to customize the format or to provide a more performance implementation. When using a custom format, the subclass should also override hasCustomEncoding to return true. This will cause Json.encode to use the custom implementation rather than the default serializer for the type.

Encode this object as JSON. By default it will just use Json.encode. This method can be overridden to customize the format or to provide a more performance implementation. When using a custom format, the subclass should also override hasCustomEncoding to return true. This will cause Json.encode to use the custom implementation rather than the default serializer for the type.

Attributes

Inherited from:
JsonSupport
def hasCustomEncoding: Boolean

Returns true if a custom encoding is used that does not rely on Json.encode.

Returns true if a custom encoding is used that does not rely on Json.encode.

Attributes

Inherited from:
JsonSupport
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
final def toJson: String

Returns a JSON string representing this object.

Returns a JSON string representing this object.

Attributes

Inherited from:
JsonSupport

Concrete fields

val `type`: String