« 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
addArchive
(
string
$description
) :
void
public
addDataSource
(
string
$description
) :
void
public
__construct
(
string
$path
,
string
$startTime
= ?
,
int
$step
= 0
)
public
save
( ) :
bool
}
目录
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