? rrdc_disconnect
RRDCreator::addArchive ?
PHP Manual
RRD
The RRDCreator class
The RRDCreator class
(PECL rrd >= 0.9.0)
¼ò½é
Class for creation of RRD database file.
ÀàÕªÒª
RRDCreator
{
/* ·½·¨ */
public
void
addArchive
(
string
$description
)
public
void
addDataSource
(
string
$description
)
public
__construct
(
string
$path
[,
string
$startTime
[,
int
$step
= 0
]] )
public
bool
save
(
void
)
}
Table of Contents
RRDCreator::addArchive
— Adds RRA - archive of data values for each data source.
RRDCreator::addDataSource
— Adds data source definition for RRD database.
RRDCreator::__construct
— Creates new RRDCreator instance
RRDCreator::save
— Saves the RRD database to a file