All Downloads are FREE. Search and download functionalities are using the official Maven repository.

water.bindings.pojos.HeartBeatEvent Maven / Gradle / Ivy

There is a newer version: 3.8.2.11
Show newest version
package water.bindings.pojos;

import com.google.gson.Gson;

public class HeartBeatEvent extends EventV3 {
    /** number of sent heartbeats */
    public int sends;

    /** number of received heartbeats */
    public int recvs;

    /* INHERITED: Time when the event was recorded. Format is hh:mm:ss:ms 
    public String date = "";
     */

    /* INHERITED: Time in nanos 
    public long nanos = -1L;
     */

    /* INHERITED: type of recorded event 
    public ApiTimelineV3EventV3EventType type = ApiTimelineV3EventV3EventType.unknown;
     */

    public HeartBeatEvent() {
        sends = -1;
        recvs = -1;
        date = "";
        nanos = -1L;
        type = ApiTimelineV3EventV3EventType.unknown;
    }

    /** Return the contents of this object as a JSON String. */
    @Override
    public String toString() {
        return new Gson().toJson(this);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy