public abstract class AbstractJniRrdStrategy<D,F> extends Object implements RrdStrategy<D,F>
Constructor and Description |
---|
AbstractJniRrdStrategy() |
Modifier and Type | Method and Description |
---|---|
InputStream |
createGraph(String command,
File workDir)
Creates an InputStream representing the bytes of a graph created from
round robin data.
|
RrdGraphDetails |
createGraphReturnDetails(String command,
File workDir)
Creates an RrdGraphDetails object representing the graph created from
round robin data.
|
String |
getDefaultFileExtension()
getDefaultFileExtension
|
int |
getGraphLeftOffset()
getGraphLeftOffset
|
int |
getGraphRightOffset()
getGraphRightOffset
|
int |
getGraphTopOffsetWithText()
getGraphTopOffsetWithText
|
String |
getStats()
No stats are kept for this implementation.
|
void |
promoteEnqueuedFiles(Collection<String> rrdFiles)
In the event that this is a queuing implementation of the RrdStrategy.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
closeFile, createDefinition, createFile, fetchLastValue, fetchLastValue, fetchLastValueInRange, openFile, setConfigurationProperties, updateFile
public InputStream createGraph(String command, File workDir) throws IOException, RrdException
createGraph
in interface RrdStrategy<D,F>
command
- the command needed to create the graphworkDir
- the directory that all referenced files are relative toIOException
- if an IOError occursRrdException
- if an RRD error occurspublic int getGraphLeftOffset()
getGraphLeftOffset
getGraphLeftOffset
in interface RrdStrategy<D,F>
public int getGraphRightOffset()
getGraphRightOffset
getGraphRightOffset
in interface RrdStrategy<D,F>
public int getGraphTopOffsetWithText()
getGraphTopOffsetWithText
getGraphTopOffsetWithText
in interface RrdStrategy<D,F>
public String getStats()
getStats
in interface RrdStrategy<D,F>
String
object.public String getDefaultFileExtension()
getDefaultFileExtension
getDefaultFileExtension
in interface RrdStrategy<D,F>
String
object.public RrdGraphDetails createGraphReturnDetails(String command, File workDir) throws IOException, RrdException
createGraphReturnDetails
in interface RrdStrategy<D,F>
command
- the command needed to create the graphworkDir
- the directory that all referenced files are relative toIOException
- if an IOError occursRrdException
- if an RRD error occurspublic void promoteEnqueuedFiles(Collection<String> rrdFiles)
promoteEnqueuedFiles
in interface RrdStrategy<D,F>
rrdFiles
- a Collection
object.Copyright © 2021. All rights reserved.