? rrdc_disconnect
RRDCreator::addArchive ?
锟斤拷锟斤拷学院 www.cainiaoplay.com
PHP Manual
RRD
The RRDCreator class
The RRDCreator class
(PECL rrd >= 0.9.0)
锟斤拷锟�
Class for creation of RRD database file.
锟斤拷摘要
RRDCreator
{
/* 锟斤拷锟斤拷 */
public
addArchive
(
string
$description
) :
void
public
addDataSource
(
string
$description
) :
void
public
__construct
(
string
$path
[,
string
$startTime
[,
int
$step
= 0
]] )
public
save
(
void
) :
bool
}
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