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 collect for a given mbean

Author:
durieuxp

Constructor Summary
Metric(Long t, ObjectName mbean, AttributeList attl, String target)
          Constructor
 
Method Summary
 AttributeList getAttributeList()
           
 ObjectName getMBean()
           
 Map<String,String> getProperties()
           
 String getTarget()
           
 long getTimestamp()
           
 boolean isMultiValue()
           
 void setMultiValue(boolean multiValue)
           
 void setProperty(String key, String value)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Metric

public Metric(Long t,
              ObjectName mbean,
              AttributeList attl,
              String target)
Constructor

Parameters:
t -
mbean -
attl -
target -
Method Detail

isMultiValue

public boolean isMultiValue()

setMultiValue

public void setMultiValue(boolean multiValue)

getTimestamp

public long getTimestamp()

getMBean

public ObjectName getMBean()

getAttributeList

public AttributeList getAttributeList()

getTarget

public String getTarget()

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.