User Tools

Site Tools


plugins.db

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
plugins.db [2010/06/14 16:00]
woky
plugins.db [2010/06/18 11:50]
zdenek
Line 1: Line 1:
 ==== plugins.db ==== ==== plugins.db ====
  
-plugins.db is file with plugin defintions. ​Format ​of this file is:+plugins.db is the file which contains ​plugin defintions. ​The format ​of this file is as follows:
  
 <​code>​ <​code>​
Line 7: Line 7:
 </​code>​ </​code>​
  
-Where **name** is the name of plugin, **group** is used to split plugins into individual processes (plugins ​with same group will run in the same process), **period** specifies how often will be plugin'​s ''​measure()''​ method called and **class1,​class2,​...,​classN** is list of acceptable classes for this plugin. ​First class whose constructor returns object (= doesn'​t die or doesn'​t return undef) will be used.+Where **name** is the name of the plugin, **group** is used to split plugins into individual processes (plugins ​within the same group will run in the same process), **period** specifies how often the plugin'​s ''​measure()''​ method ​will be calledand **class1,​class2,​...,​classN** is list of acceptable classes for this plugin. ​The first class whose constructor returns ​the object (= doesn'​t die or doesn'​t return undef) will be used.
  
 Example: Example:
Line 17: Line 17:
 </​code>​ </​code>​
  
-Plugin definitions are loaded into hash with plugin name as a key and the rest as array reference ​value.+Plugin definitions are loaded into hash with plugin name as a key and the rest as array reference ​values.
  
-This file is searched in following locations:+This file is searched ​for in following locations:
  
 <​code>​ <​code>​
plugins.db.txt ยท Last modified: 2010/06/18 11:51 by zdenek