com.crystaldecisions.sdk.plugin.desktop.server
Interface IServerMetrics


public interface IServerMetrics

An interface to the metrics on a Server obtained by calling IServer.getMetrics(). Note, the server must include SI_METRICS in the query.


Method Summary
 IMetrics getMetrics(java.lang.String serviceInterface)
           Returns an interface to the metrics for the requested service.
 java.util.Set getServiceInterfaceNames()
           Returns a collection of Strings containing the names of the Services for which metrics are available.
 IProperties resolveMetricString(java.lang.String packedMetric)
          Resolves an encoded metric value into an IProperties object.
 

Method Detail

getServiceInterfaceNames

java.util.Set getServiceInterfaceNames()

Returns a collection of Strings containing the names of the Services for which metrics are available.

Returns:
Set containing the names of the services for which metrics are available.

getMetrics

IMetrics getMetrics(java.lang.String serviceInterface)

Returns an interface to the metrics for the requested service.

Parameters:
serviceInterface - Retrive the metrics for this service.
Returns:
IMetrics containing the metric names and values.

resolveMetricString

IProperties resolveMetricString(java.lang.String packedMetric)
Resolves an encoded metric value into an IProperties object.

Parameters:
packedMetric - The encoded metric value.
Returns:
IProperties containing the resolved metric value.