com.caucho.health.meter
Class MeterGraph
java.lang.Object
com.caucho.health.meter.MeterGraph
- All Implemented Interfaces:
- MeterGraphInfo, java.io.Serializable
@Configurable
public class MeterGraph
- extends java.lang.Object
- implements MeterGraphInfo, java.io.Serializable
- See Also:
- Serialized Form
|
Method Summary |
void |
addMeter(java.lang.String name)
|
java.lang.String[] |
getMeterNames()
Returns the list of meter names in the graph. |
java.lang.String |
getName()
Returns the meter graphs's name. |
void |
init()
|
void |
setEmbedded(boolean isEmbedded)
|
void |
setName(java.lang.String name)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MeterGraph
public MeterGraph()
getName
public java.lang.String getName()
- Description copied from interface:
MeterGraphInfo
- Returns the meter graphs's name.
- Specified by:
getName in interface MeterGraphInfo
setName
@Configurable
public void setName(java.lang.String name)
addMeter
@Configurable
public void addMeter(java.lang.String name)
getMeterNames
public java.lang.String[] getMeterNames()
- Description copied from interface:
MeterGraphInfo
- Returns the list of meter names in the graph.
- Specified by:
getMeterNames in interface MeterGraphInfo
setEmbedded
public void setEmbedded(boolean isEmbedded)
init
@PostConstruct
public void init()
throws java.lang.Exception
- Throws:
java.lang.Exception
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object