Class LightweightMeasurementSet

    • Constructor Detail

      • LightweightMeasurementSet

        public LightweightMeasurementSet()
      • LightweightMeasurementSet

        public LightweightMeasurementSet​(int nodeId,
                                         String service,
                                         String theInterface,
                                         Date timestamp)
    • Method Detail

      • addMeasurement

        public void addMeasurement​(String metricId,
                                   String metricType,
                                   String value,
                                   String onmsLogicMetricId)
      • setNodeId

        public void setNodeId​(int nodeId)
      • setNetInterface

        public void setNetInterface​(String theInterface)
      • setService

        public void setService​(String service)
      • setTimestamp

        public void setTimestamp​(Date timestamp)
      • getNodeId

        public int getNodeId()
      • getNetInterface

        public String getNetInterface()
      • getService

        public String getService()
      • getTimestamp

        public Date getTimestamp()
      • toString

        public String toString()
        This toString method is for displaying reasons in the webapp NrtGrapher only. It's for prototyping only.
        Overrides:
        toString in class Object
        Returns:
        a String that contains the metrics and there values in a easy parsable way.