java.lang.Object
com.zeroc.IceMX.MetricsAdmin.GetMetricsViewResult
- Enclosing interface:
- MetricsAdmin
Holds the result of operation getMetricsView.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe metrics view data, a dictionary of metric maps for each metrics class configured with the view.long
The local time of the process when the metrics objects were retrieved. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.GetMetricsViewResult
(Map<String, Metrics[]> returnValue, long timestamp) This constructor makes shallow copies of the results for operation getMetricsView. -
Method Summary
Modifier and TypeMethodDescriptionvoid
read
(InputStream istr) Unmarshals the result of the getMetricsView operation.void
write
(OutputStream ostr) Marshals the result for the getMetricsView operation.
-
Field Details
-
returnValue
The metrics view data, a dictionary of metric maps for each metrics class configured with the view. Thetimestamp
allows the client to compute averages which are not dependent of the invocation latency for this operation. -
timestamp
public long timestampThe local time of the process when the metrics objects were retrieved.
-
-
Constructor Details
-
GetMetricsViewResult
public GetMetricsViewResult()Default constructor. -
GetMetricsViewResult
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. Thetimestamp
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
Marshals the result for the getMetricsView operation.- Parameters:
ostr
- the output stream to write this result to
-
read
Unmarshals the result of the getMetricsView operation.- Parameters:
istr
- the input stream to read this result from
-