org.jrobin.core
Class FetchPoint

java.lang.Object
  extended by org.jrobin.core.FetchPoint

Deprecated. This class is deprecated since 1.2.0 and might be removed from future releases of JRobin. You don't need this class if you fetch RRD data with the fetchData() method from the FetchRequest class

public class FetchPoint
extends Object

Class to represent data source values for the specific timestamp. Objects of this class are created during the fetching process. See fetch() method of the FetchRequest class.


Method Summary
 String dump()
          Deprecated. Returns string representing timestamp and all data source values.
 int getSize()
          Deprecated. Returns number of data source values (same as number od data sources defined in RRD).
 long getTime()
          Deprecated. Returns timestamp associated with this fetch point.
 double getValue(int i)
          Deprecated. Returns the i-th data source value.
 double[] getValues()
          Deprecated. Returns array of data source values for the associated timestamp.
 String toString()
          Deprecated. Returns string representing timestamp and all data source values.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getTime

public long getTime()
Deprecated. 
Returns timestamp associated with this fetch point.

Returns:
Timestamp in seconds.

getValues

public double[] getValues()
Deprecated. 
Returns array of data source values for the associated timestamp. Data source values are returned in the order of their definition.

Returns:
Array of data source values.

getSize

public int getSize()
Deprecated. 
Returns number of data source values (same as number od data sources defined in RRD).

Returns:
Number of data source values.

getValue

public double getValue(int i)
Deprecated. 
Returns the i-th data source value. Data source values follow the order of data sources definition.

Parameters:
i - Data source index.
Returns:
Value of the i-th data source.

dump

public String dump()
Deprecated. 
Returns string representing timestamp and all data source values.

Returns:
Fetch point dump.

toString

public String toString()
Deprecated. 
Returns string representing timestamp and all data source values.

Overrides:
toString in class Object
Returns:
Fetch point dump.