Class ValueSet

java.lang.Object
com.xceptance.xlt.api.report.external.ValueSet

public class ValueSet extends Object
A ValueSet(long) describes a collection of data, accompanied by an optional timestamp.
  • Constructor Details

    • ValueSet

      public ValueSet(long timestamp)
      Creates a new {link #ValueSet} instance.
      Parameters:
      timestamp - the timestamp, or -1 if not applicable
  • Method Details

    • addValue

      public void addValue(String name, Object value)
      Adds a named value.
      Parameters:
      name - the name of the value, must not be null
      value - the value
    • getTime

      public long getTime()
      Returns the timestamp of this value set.
      Returns:
      the timestamp of this value set
    • getValues

      public Map<String,Object> getValues()
      Returns the key/value pairs.
      Returns:
      the key/value pairs