Open Kilda Java Documentation
org.openkilda.messaging.info.Datapoint Class Reference
Inheritance diagram for org.openkilda.messaging.info.Datapoint:
org.openkilda.messaging.info.InfoData org.openkilda.messaging.MessageData org.openkilda.messaging.BaseMessage

Public Member Functions

 Datapoint ()
 
 Datapoint (@JsonProperty("metric") String metric, @JsonProperty("time") Long time, @JsonProperty("tags") Map< String, String > tags, @JsonProperty("value") Number value)
 
String getMetric ()
 
void setMetric (String metric)
 
Long getTime ()
 
void setTime (Long time)
 
Map< String, String > getTags ()
 
void setTags (Map< String, String > tags)
 
Number getValue ()
 
void setValue (Number value)
 
boolean equals (Object o)
 
int hashCode ()
 
int simpleHashCode ()
 
String toString ()
 
- Public Member Functions inherited from org.openkilda.messaging.info.InfoData
String toString ()
 
- Public Member Functions inherited from org.openkilda.messaging.MessageData
 MessageData (@JsonProperty(TIMESTAMP) final long timestamp)
 
 MessageData ()
 
- Public Member Functions inherited from org.openkilda.messaging.BaseMessage
 BaseMessage (@JsonProperty(TIMESTAMP) final long timestamp)
 
 BaseMessage ()
 
long getTimestamp ()
 
void setTimestamp (long timestamp)
 

Additional Inherited Members

- Static Public Member Functions inherited from org.openkilda.messaging.BaseMessage
static final< T extends BaseMessage > T getMessage (String json, Class< T > type) throws java.io.IOException
 
static final< T extends BaseMessage > T tryGetMessage (String json, Class< T > type)
 
- Protected Attributes inherited from org.openkilda.messaging.BaseMessage
long timestamp = 0L
 

Detailed Description

Definition at line 30 of file Datapoint.java.

Constructor & Destructor Documentation

◆ Datapoint() [1/2]

org.openkilda.messaging.info.Datapoint.Datapoint ( )

Definition at line 56 of file Datapoint.java.

◆ Datapoint() [2/2]

org.openkilda.messaging.info.Datapoint.Datapoint ( @JsonProperty("metric") String  metric,
@JsonProperty("time") Long  time,
@JsonProperty("tags") Map< String, String >  tags,
@JsonProperty("value") Number  value 
)

Definition at line 60 of file Datapoint.java.

Member Function Documentation

◆ equals()

boolean org.openkilda.messaging.info.Datapoint.equals ( Object  o)

Definition at line 103 of file Datapoint.java.

◆ getMetric()

String org.openkilda.messaging.info.Datapoint.getMetric ( )

Definition at line 70 of file Datapoint.java.

◆ getTags()

Map<String, String> org.openkilda.messaging.info.Datapoint.getTags ( )

Definition at line 86 of file Datapoint.java.

◆ getTime()

Long org.openkilda.messaging.info.Datapoint.getTime ( )

Definition at line 78 of file Datapoint.java.

◆ getValue()

Number org.openkilda.messaging.info.Datapoint.getValue ( )

Definition at line 94 of file Datapoint.java.

◆ hashCode()

int org.openkilda.messaging.info.Datapoint.hashCode ( )

Definition at line 118 of file Datapoint.java.

◆ setMetric()

void org.openkilda.messaging.info.Datapoint.setMetric ( String  metric)

Definition at line 74 of file Datapoint.java.

◆ setTags()

void org.openkilda.messaging.info.Datapoint.setTags ( Map< String, String >  tags)

Definition at line 90 of file Datapoint.java.

◆ setTime()

void org.openkilda.messaging.info.Datapoint.setTime ( Long  time)

Definition at line 82 of file Datapoint.java.

◆ setValue()

void org.openkilda.messaging.info.Datapoint.setValue ( Number  value)

Definition at line 98 of file Datapoint.java.

◆ simpleHashCode()

int org.openkilda.messaging.info.Datapoint.simpleHashCode ( )

Definition at line 125 of file Datapoint.java.

◆ toString()

String org.openkilda.messaging.info.Datapoint.toString ( )

Definition at line 132 of file Datapoint.java.


The documentation for this class was generated from the following file: