|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecteu.reservoir.monitoring.distribution.MeasurementEncoder
eu.reservoir.monitoring.distribution.MeasurementEncoderWithNames
public class MeasurementEncoderWithNames
Constructor Summary | |
---|---|
MeasurementEncoderWithNames(Measurement m)
Construct a MeasurementEncoderWithNames for a Measurement. |
Method Summary | |
---|---|
void |
encode(java.io.DataOutput out)
Encode the Measurement to a DataOutput object. |
Methods inherited from class eu.reservoir.monitoring.distribution.MeasurementEncoder |
---|
encodeType, encodeValue, writeInt, writeList, writeTable, writeUTF |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MeasurementEncoderWithNames(Measurement m)
Method Detail |
---|
public void encode(java.io.DataOutput out) throws java.io.IOException, TypeException
+------------------------------------------------------------------------+ | seq no (long) | options (byte) [bit 0 : 0 = no names / 1 = with names] | +------------------------------------------------------------------------+ | probe id (long) | type (utf string) | timestamp (long) | +------------------------------------------------------------------------+ | time delta (long) | service id (long) | group id (long) | +------------------------------------------------------------------------+ | probe name (utf string) | attr count | +------------------------------------------------------------------------+ | attr0 field no (int) | attr0 name (utf string) | attr0 type (byte) | | attr0 value (depends) | +------------------------------------------------------------------------+ | .... | +------------------------------------------------------------------------+ | attrN field no (int) | attrN name (utf string) | attrN type (byte) | | attrN value (depends) | +------------------------------------------------------------------------+
encode
in class MeasurementEncoder
java.io.IOException
TypeException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |