|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.rhq.core.domain.measurement.ui.MeasurementSummary
public class MeasurementSummary
This holds the number of metrics of this type configured (the template type) for the resource under discussion; the count of those currently collecting data, the ones that aren't and the total. When displaying availability status on an aggregate of resources, each resource will counted in one of these buckets
Constructor Summary | |
---|---|
MeasurementSummary()
Default Constructor |
|
MeasurementSummary(Integer up,
Integer down,
Integer unknown)
Constructor with init values |
Method Summary | |
---|---|
List<Integer> |
asList()
Returns a three element list with up, down and unknown |
Integer |
getAvailDown()
|
Integer |
getAvailUnknown()
|
Integer |
getAvailUp()
|
void |
setAvailDown(Integer unavailConfigured)
|
void |
setAvailUnknown(Integer totalConfigured)
Sets the availUnknown. |
void |
setAvailUp(Integer currentConfigured)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MeasurementSummary()
public MeasurementSummary(Integer up, Integer down, Integer unknown)
Method Detail |
---|
public Integer getAvailUp()
public void setAvailUp(Integer currentConfigured)
availUp
- The availUp to setpublic Integer getAvailDown()
public void setAvailDown(Integer unavailConfigured)
availDown
- The availDown to setpublic Integer getAvailUnknown()
public void setAvailUnknown(Integer totalConfigured)
availUnknown
- The availUnknown to setpublic List<Integer> asList()
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |