IDriverMetricsGetNodeMetricTMetricType Method |
Gets a specific node metric of a specific host.
TMetricType can be any type in the
inheritance tree of the metric object returned by the
IDriverMetricsProvider.
Namespace:
Dse.Metrics
Assembly:
Dse (in Dse.dll) Version: 2.9.0
Syntax TMetricType GetNodeMetric<TMetricType>(
Host host,
NodeMetric nodeMetric
)
where TMetricType : class, IDriverMetric
Parameters
- host
- Type: DseHost
- nodeMetric
- Type: Dse.MetricsNodeMetric
Type Parameters
- TMetricType
Return Value
Type:
TMetricTypeExceptions Exception | Condition |
---|
ArgumentException | This exception is thrown if the metric object can not be cast to TMetricType. |
See Also