public class DataSource extends Object
| Modifier and Type | Field | Description |
|---|---|---|
(package private) double |
maximum |
|
(package private) double |
minimum |
|
(package private) int |
minimumHeartbeat |
|
(package private) String |
name |
|
(package private) long |
offset |
|
(package private) PDPStatusBlock |
pdpStatusBlock |
|
(package private) long |
size |
|
(package private) DataSourceType |
type |
| Constructor | Description |
|---|---|
DataSource(RRDFile file) |
| Modifier and Type | Method | Description |
|---|---|---|
double |
getMaximum() |
Returns the maximum value input to this data source can have.
|
double |
getMinimum() |
Returns the minimum value input to this data source can have.
|
int |
getMinimumHeartbeat() |
Returns the minimum required heartbeat for this data source.
|
String |
getName() |
Returns the name of this data source.
|
PDPStatusBlock |
getPDPStatusBlock() |
Returns the primary data point status block for this data source.
|
DataSourceType |
getType() |
Returns the type this data source is.
|
(package private) void |
loadPDPStatusBlock(RRDFile file) |
|
(package private) void |
printInfo(PrintStream s,
NumberFormat numberFormat) |
|
String |
toString() |
Returns a summary the contents of this data source.
|
(package private) void |
toXml(PrintStream s) |
long offset
long size
String name
DataSourceType type
int minimumHeartbeat
double minimum
double maximum
PDPStatusBlock pdpStatusBlock
DataSource(RRDFile file) throws IOException, RrdException
IOExceptionRrdExceptionvoid loadPDPStatusBlock(RRDFile file) throws IOException, RrdException
IOExceptionRrdExceptionpublic PDPStatusBlock getPDPStatusBlock()
public int getMinimumHeartbeat()
public double getMinimum()
public DataSourceType getType()
DataSourceTypepublic double getMaximum()
public String getName()
void printInfo(PrintStream s, NumberFormat numberFormat)
void toXml(PrintStream s)