|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecteu.reservoir.monitoring.core.ProducerMeasurement
public class ProducerMeasurement
A class for measurements in producers.
| Constructor Summary | |
|---|---|
ProducerMeasurement(Probe aProbe,
java.util.List<ProbeValue> attrs)
Construct a Measurement, given the Probe who sends the Measurement and a list of ProbeValues. |
|
ProducerMeasurement(Probe aProbe,
java.util.List<ProbeValue> attrs,
java.lang.String theType)
Construct a Measurement, given the Probe who sends the Measurement and a list of ProbeValues, and a type for the Measurement. |
|
ProducerMeasurement(Probe aProbe,
java.util.Map<java.lang.Integer,java.lang.Object> attrs)
Construct a Measurement, given the Probe who sends the Measurement and a map of field number to field value. |
|
ProducerMeasurement(Probe aProbe,
java.util.Map<java.lang.Integer,java.lang.Object> attrs,
java.lang.String theType)
Construct a Measurement, given the Probe who sends the Measurement and a map of field number to field value, and a type for the Measurement. |
|
| Method Summary | |
|---|---|
Measurement |
addValues(java.util.List<ProbeValue> values)
Add attribute / values to the measurement. |
Timestamp |
getDeltaTime()
Get the delta since the last measurement. |
ID |
getGroupID()
Get the group ID for this Measurement |
Probe |
getProbe()
Get the probe this Measurement is from |
ID |
getProbeID()
Get the ID of the probe this Measurement is from |
long |
getSequenceNo()
Get the sequence number of this measurement. |
ID |
getServiceID()
Get the service ID of the probe this Measurement is from |
Timestamp |
getTimestamp()
Get the timestamp |
java.lang.String |
getType()
Get the measurement type |
java.util.List<ProbeValue> |
getValues()
Get the attribute / values |
void |
setGroupID(ID gid)
Set the groupID. |
void |
setSequenceNo(long n)
Set the sequence number of this measurement. |
void |
setServiceID(ID sid)
Set the service ID. |
void |
setType(java.lang.String t)
Set the measurement type |
java.lang.String |
toString()
To String |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ProducerMeasurement(Probe aProbe,
java.util.List<ProbeValue> attrs)
public ProducerMeasurement(Probe aProbe,
java.util.List<ProbeValue> attrs,
java.lang.String theType)
public ProducerMeasurement(Probe aProbe,
java.util.Map<java.lang.Integer,java.lang.Object> attrs)
throws TypeException
TypeException
public ProducerMeasurement(Probe aProbe,
java.util.Map<java.lang.Integer,java.lang.Object> attrs,
java.lang.String theType)
throws TypeException
TypeException| Method Detail |
|---|
public Timestamp getTimestamp()
getTimestamp in interface Measurementpublic Timestamp getDeltaTime()
getDeltaTime in interface Measurementpublic Probe getProbe()
getProbe in interface ProbeMeasurementpublic ID getProbeID()
getProbeID in interface Measurementpublic ID getServiceID()
getServiceID in interface Measurementpublic void setServiceID(ID sid)
setServiceID in interface ProbeMeasurementpublic ID getGroupID()
getGroupID in interface Measurementpublic void setGroupID(ID gid)
setGroupID in interface ProbeMeasurementpublic java.lang.String getType()
getType in interface Measurementpublic void setType(java.lang.String t)
setType in interface ProbeMeasurementpublic long getSequenceNo()
getSequenceNo in interface Measurementpublic void setSequenceNo(long n)
setSequenceNo in interface ProbeMeasurementpublic java.util.List<ProbeValue> getValues()
getValues in interface Measurementpublic Measurement addValues(java.util.List<ProbeValue> values)
addValues in interface ProbeMeasurementpublic java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||