|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object eu.reservoir.monitoring.core.ConsumerMeasurement
public class ConsumerMeasurement
A class for measurements in consumers.
Constructor Summary | |
---|---|
ConsumerMeasurement(long seqNo,
ID pid,
java.lang.String theType,
long ts,
long delta,
ID serviceID,
ID groupID,
java.util.List<ProbeValue> attrs)
Construct a ConsumerMeasurement. |
|
ConsumerMeasurement(long seqNo,
ID pid,
java.lang.String theType,
long ts,
long delta,
ID serviceID,
ID groupID,
java.util.Map<java.lang.Integer,java.lang.Object> attrs)
Construct a Measurement Throws a TypeException if any of the objects passed in are not valid types for a Measurement. |
Method Summary | |
---|---|
Timestamp |
getDeltaTime()
Get the delta since the last measurement. |
ID |
getGroupID()
Get the group ID for this Measurement |
ID |
getProbeID()
Get the ID of the probe that created this measurement. |
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 |
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 ConsumerMeasurement(long seqNo, ID pid, java.lang.String theType, long ts, long delta, ID serviceID, ID groupID, java.util.List<ProbeValue> attrs)
public ConsumerMeasurement(long seqNo, ID pid, java.lang.String theType, long ts, long delta, ID serviceID, ID groupID, java.util.Map<java.lang.Integer,java.lang.Object> attrs) throws TypeException
TypeException
Method Detail |
---|
public ID getProbeID()
getProbeID
in interface Measurement
public ID getServiceID()
getServiceID
in interface Measurement
public ID getGroupID()
getGroupID
in interface Measurement
public Timestamp getTimestamp()
getTimestamp
in interface Measurement
public Timestamp getDeltaTime()
getDeltaTime
in interface Measurement
public java.lang.String getType()
getType
in interface Measurement
public long getSequenceNo()
getSequenceNo
in interface Measurement
public java.util.List<ProbeValue> getValues()
getValues
in interface Measurement
public 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 |