org.rhq.helpers.pluginAnnotations.agent
Annotation Type Metric


@Target(value={FIELD,METHOD})
@Retention(value=CLASS)
public @interface Metric

Annotation to denote a metric that should be measured

Author:
Heiko W. Rupp, Galder ZamarreƱo

Optional Element Summary
 DataType dataType
           
 long defaultInterval
           
 String description
           
 String displayName
           
 DisplayType displayType
           
 MeasurementType measurementType
           
 String property
           
 Units units
           
 

property

public abstract String property
Default:
""

displayName

public abstract String displayName
Default:
""

description

public abstract String description
Default:
""

defaultInterval

public abstract long defaultInterval
Default:
120000000L

displayType

public abstract DisplayType displayType
Default:
org.rhq.helpers.pluginAnnotations.agent.DisplayType.DETAIL

dataType

public abstract DataType dataType
Default:
org.rhq.helpers.pluginAnnotations.agent.DataType.MEASUREMENT

units

public abstract Units units
Default:
org.rhq.helpers.pluginAnnotations.agent.Units.NONE

measurementType

public abstract MeasurementType measurementType
Default:
org.rhq.helpers.pluginAnnotations.agent.MeasurementType.DYNAMIC


Copyright © 2008-2011 Red Hat, Inc.. All Rights Reserved.