Sonic Management API

com.sonicsw.mf.common.metrics
Interface IAggregateMetric

All Superinterfaces:
java.io.Serializable

public interface IAggregateMetric
extends java.io.Serializable

An AggregatedMetric extends the basic metric by encapsulating the sources of the metrics from which the aggregate metric value was derived.

See Also:
IMetric

Field Summary
static short AVERAGE_AGGREGATION_TYPE
           
static short MAXIMUM_AGGREGATION_TYPE
           
static short MINIMUM_AGGREGATION_TYPE
           
static short TOTAL_AGGREGATION_TYPE
           
 
Method Summary
 long getCurrencyTimestamp()
          Gets the currency of the aggregated metric (an average of the currency time of all the contributing metrics).
 IMetricIdentity getMetricIdentity()
          Gets the metric identity of the metric.
 java.lang.String[] getSources()
          Gets the source components that provided the metrics from which the aggregate metric value was derived.
 long[] getValues()
          Gets the array aggregate metric values indexed by aggregation type.
 

Field Detail

AVERAGE_AGGREGATION_TYPE

static final short AVERAGE_AGGREGATION_TYPE
See Also:
Constant Field Values

MAXIMUM_AGGREGATION_TYPE

static final short MAXIMUM_AGGREGATION_TYPE
See Also:
Constant Field Values

MINIMUM_AGGREGATION_TYPE

static final short MINIMUM_AGGREGATION_TYPE
See Also:
Constant Field Values

TOTAL_AGGREGATION_TYPE

static final short TOTAL_AGGREGATION_TYPE
See Also:
Constant Field Values
Method Detail

getCurrencyTimestamp

long getCurrencyTimestamp()
Gets the currency of the aggregated metric (an average of the currency time of all the contributing metrics).


getMetricIdentity

IMetricIdentity getMetricIdentity()
Gets the metric identity of the metric.


getSources

java.lang.String[] getSources()
Gets the source components that provided the metrics from which the aggregate metric value was derived.


getValues

long[] getValues()
Gets the array aggregate metric values indexed by aggregation type.

See Also:
TOTAL_AGGREGATION_TYPE, AVERAGE_AGGREGATION_TYPE, MAXIMUM_AGGREGATION_TYPE, MINIMUM_AGGREGATION_TYPE

Sonic Management API

Copyright © 2001-2010 Progress Software Corporation. All Rights Reserved.
HTML formatted on 07-Mar-2010.