|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.rhq.core.domain.measurement.MeasurementReport
public class MeasurementReport
A report of measurement information. When a plugin collects measurement data that is emitted from a monitored resource, it will store that measurement data in an instance of this type.
This report has an optimized serialization strategy.
| Constructor Summary | |
|---|---|
MeasurementReport()
|
|
| Method Summary | |
|---|---|
void |
addData(CallTimeData data)
Adds the given call-time data to this report. |
void |
addData(MeasurementDataNumeric value)
Adds the given piece of numeric data to this report. |
void |
addData(MeasurementDataTrait value)
Adds the given piece of trait data to this report. |
Set<CallTimeData> |
getCallTimeData()
Returns the entire list of all call-time data items in this report. |
long |
getCollectionTime()
|
long |
getDataCount()
Returns the total number of data items (numeric metrics, traits, or call-time datums) in this report. |
Set<MeasurementDataNumeric> |
getNumericData()
Returns the set of all numeric data items in this report. |
Set<MeasurementDataTrait> |
getTraitData()
Returns the set of all trait data items in this report. |
void |
incrementCollectionTime(long collectionTime)
|
void |
setCollectionTime(long collectionTime)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MeasurementReport()
| Method Detail |
|---|
public void addData(MeasurementDataNumeric value)
getNumericData().
value - the measurement data to be addedpublic void addData(MeasurementDataTrait value)
getTraitData().
value - the measurement data to be addedpublic void addData(CallTimeData data)
getCallTimeData().
data - the call-time data to be addedpublic Set<MeasurementDataNumeric> getNumericData()
added.
public Set<MeasurementDataTrait> getTraitData()
added.
@NotNull public Set<CallTimeData> getCallTimeData()
added.
public long getDataCount()
public long getCollectionTime()
public void setCollectionTime(long collectionTime)
public void incrementCollectionTime(long collectionTime)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||