Class MetricsAdmin.GetMetricsViewResult

java.lang.Object
com.zeroc.IceMX.MetricsAdmin.GetMetricsViewResult
Enclosing interface:
MetricsAdmin

public static class MetricsAdmin.GetMetricsViewResult extends Object
Holds the result of operation getMetricsView.
  • Field Details

    • returnValue

      public Map<String,Metrics[]> returnValue
      The metrics view data, a dictionary of metric maps for each metrics class configured with the view. The timestamp allows the client to compute averages which are not dependent of the invocation latency for this operation.
    • timestamp

      public long timestamp
      The local time of the process when the metrics objects were retrieved.
  • Constructor Details

    • GetMetricsViewResult

      public GetMetricsViewResult()
      Default constructor.
    • GetMetricsViewResult

      public GetMetricsViewResult(Map<String,Metrics[]> returnValue, long timestamp)
      This constructor makes shallow copies of the results for operation getMetricsView.
      Parameters:
      returnValue - The metrics view data, a dictionary of metric maps for each metrics class configured with the view. The timestamp allows the client to compute averages which are not dependent of the invocation latency for this operation.
      timestamp - The local time of the process when the metrics objects were retrieved.
  • Method Details

    • write

      public void write(OutputStream ostr)
      Marshals the result for the getMetricsView operation.
      Parameters:
      ostr - the output stream to write this result to
    • read

      public void read(InputStream istr)
      Unmarshals the result of the getMetricsView operation.
      Parameters:
      istr - the input stream to read this result from