Class ExecStatsList

java.lang.Object
cl.netswitch.lib.dto.ExecStatsList
All Implemented Interfaces:
Serializable

public class ExecStatsList extends Object implements Serializable
Wraps a list of execution statistics.
See Also:
  • Constructor Details

    • ExecStatsList

      public ExecStatsList()
      Constructs a new ExecStatsList instance.
    • ExecStatsList

      public ExecStatsList(List<ExecStats> statsList)
      Constructs a new ExecStatsList instance with list.
      Parameters:
      statsList - the list of execution statistics (can be null).
  • Method Details

    • getExecStats

      public List<ExecStats> getExecStats()
      Returns the list of pool statistics or null if undefined.
      Returns:
      the list of pool statistics or null if undefined.
    • setExecStats

      public void setExecStats(List<ExecStats> statsList)
      Changes the list of pool statistics.
      Parameters:
      statsList - the list of pool statistics (can be null).
    • toString

      public String toString()
      Returns a string representation of the statistics.
      Overrides:
      toString in class Object
      Returns:
      a string representation of the statistics.
    • toCSV

      public String toCSV()
      Returns a CSV (comma-separated values) representation of the statistics.

      MetaServer;StatsType;StatsName;ServerName;ExecName;Count;TimeMS;AvgMS;MinMS;MaxMS

      Returns:
      a CSV string representation of the list of execution statistics.