public class RrdGraphInfo extends Object
RrdGraph.getRrdGraphInfo().| Modifier and Type | Field and Description |
|---|---|
(package private) java.util.function.Supplier<Integer> | bytesCount |
(package private) java.util.function.Supplier<byte[]> | bytesSource |
(package private) String | filename |
(package private) int | height |
(package private) String | imgInfo |
(package private) int | width |
| Constructor and Description |
|---|
RrdGraphInfo()Prevent instantiation |
| Modifier and Type | Method and Description |
|---|---|
(package private) void | addPrintLine(String printLine)Add print line |
String | dump()Dumps complete graph information. |
int | getByteCount()Returns the number of bytes in the graph file |
byte[] | getBytes()Returns graph bytes |
String | getFilename()Returns filename of the graph |
int | getHeight()Returns total graph height |
String | getImgInfo()Returns image information requested by RrdGraphDef.setImageInfo(String) method |
String[] | getPrintLines()Returns PRINT lines requested by RrdGraphDef.print(String,
org.rrd4j.ConsolFun, String) method. |
int | getWidth()Returns total graph width |
java.util.function.Supplier<Integer> bytesCount
java.util.function.Supplier<byte[]> bytesSource
String filename
int height
String imgInfo
int width
void addPrintLine(String printLine)
public String dump()
public int getByteCount()
IllegalStateException - if the images bytes are unavailablepublic byte[] getBytes()
IllegalStateException - if the images bytes are unavailable or can't be readpublic String getFilename()
public int getHeight()
public String getImgInfo()
RrdGraphDef.setImageInfo(String) methodpublic String[] getPrintLines()
RrdGraphDef.print(String,
org.rrd4j.ConsolFun, String) method.public int getWidth()