|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--rrdService.util.Data
The class Data representing the data used for updating the RRD was acquired at a certain time. This time can either be defined in seconds since 1970-01-01. Or by using the letter 'N' the update time is set to be the current time. Negative time values are subtracted from the current time. Getting the timing right to the second is especially important when you are working with data-sources of type COUNTER, DERIVE or ABSOLUTE. The remaining elements of the argument are DS updates. The order of this list is the same as the order the data sources were defined in the rra. If there is no data for a certain data-source, the letter U can be defined.
- RoundRobin
RoundRobinDataBase
, Serialized FormField Summary | |
private java.lang.String |
timestamp
timestamp of this data |
private java.lang.String |
value
value of this data |
Constructor Summary | |
Data()
Default constructor of class Data with timestam rigth now and value unknown |
|
Data(double value)
Constructor of class Data with timestamp rigth now and a specific value |
|
Data(Time timestamp)
Constructor of class Data with a specific timestamp and a unknown value |
|
Data(Time timestamp,
double value)
Constructor of class Data with specific timestam and value |
Method Summary | |
java.lang.String |
getTimestamp()
getTimestamp return the timstamp of this Data |
java.lang.String |
getValue()
getValue return the value of this Data |
void |
setTimestamp(java.lang.String timestamp)
setTimestamp replace timstamp of this Data |
void |
setValue(java.lang.String value)
setValue replace value of this Data |
java.lang.String |
toString()
toString return a string representation of this data |
Methods inherited from class java.lang.Object |
|
Field Detail |
private java.lang.String timestamp
private java.lang.String value
Constructor Detail |
public Data() throws java.lang.Exception
public Data(double value) throws java.lang.Exception
value
- the value of this Datapublic Data(Time timestamp) throws java.lang.Exception
timestamp
- the timstamp of this Datapublic Data(Time timestamp, double value) throws java.lang.Exception
timestamp
- the timstamp of this Datavalue
- the value of this DataMethod Detail |
public java.lang.String getTimestamp()
public java.lang.String getValue()
public void setTimestamp(java.lang.String timestamp)
timestamp
- the timstamp to setpublic void setValue(java.lang.String value)
value
- the value to setpublic java.lang.String toString()
toString
in class java.lang.Object
|
Copyright 1885-2001 FIRMENICH SA, Geneva | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |