org.ow2.jasmine.probe.collectors.jmx
Class Metric
java.lang.Object
org.ow2.jasmine.probe.collectors.jmx.Metric
public class Metric
- extends Object
This Value Object holds the result of a collected data (attribute values) for a given mbean
on a given target.
- Author:
- durieuxp
|
Constructor Summary |
Metric()
Empty constructor. |
Metric
public Metric()
- Empty constructor.
isMultiValue
public boolean isMultiValue()
setMultiValue
public void setMultiValue(boolean multiValue)
getTimestamp
public long getTimestamp()
setTimestamp
public void setTimestamp(long timestamp)
getMBean
public ObjectName getMBean()
setMBean
public void setMBean(ObjectName mbean)
getAttributeList
public AttributeList getAttributeList()
setAttributeList
public void setAttributeList(AttributeList attributes)
getTarget
public String getTarget()
setTarget
public void setTarget(String target)
toString
public String toString()
- Overrides:
toString in class Object
getProperties
public Map<String,String> getProperties()
setProperty
public void setProperty(String key,
String value)
Copyright © 2012 OW2 Consortium. All Rights Reserved.