org.ow2.jasmine.probe.collectors.jmx
Class Metric

java.lang.Object
  extended by 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.
 
Method Summary
 AttributeList getAttributeList()
           
 ObjectName getMBean()
           
 Map<String,String> getProperties()
           
 String getTarget()
           
 long getTimestamp()
           
 boolean isMultiValue()
           
 void setAttributeList(AttributeList attributes)
           
 void setMBean(ObjectName mbean)
           
 void setMultiValue(boolean multiValue)
           
 void setProperty(String key, String value)
           
 void setTarget(String target)
           
 void setTimestamp(long timestamp)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Metric

public Metric()
Empty constructor.

Method Detail

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.