Php/docs/rrdcreator.addarchive

来自菜鸟教程
跳转至:导航、​搜索

RRDCreator::addArchive

(PECL rrd >= 0.9.0)

RRDCreator::addArchiveAdds RRA - archive of data values for each data source


说明

public RRDCreator::addArchive ( string $description ) : void

Adds RRA definition by description of archive. Archive consists of a number of data values or statistics for each of the defined data-sources (DS). Data sources are defined by method RRDCreator::addDataSource(). You need call this method for each requested archive.


参数

description
Definition of archive - RRA. This has same format as RRA definition in rrd create command. See man page of rrd create for more details.


返回值

没有返回值。