web/lib/Zend/Service/WindowsAzure/Diagnostics/ConfigurationPerformanceCounters.php
equal
deleted
inserted
replaced
13 * to license@zend.com so we can send you a copy immediately. |
13 * to license@zend.com so we can send you a copy immediately. |
14 * |
14 * |
15 * @category Zend |
15 * @category Zend |
16 * @package Zend_Service_WindowsAzure |
16 * @package Zend_Service_WindowsAzure |
17 * @subpackage Diagnostics |
17 * @subpackage Diagnostics |
18 * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com) |
18 * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) |
19 * @license http://framework.zend.com/license/new-bsd New BSD License |
19 * @license http://framework.zend.com/license/new-bsd New BSD License |
20 * @version $Id$ |
20 * @version $Id$ |
21 */ |
21 */ |
22 |
|
23 /** |
|
24 * @see Zend_Service_WindowsAzure_Diagnostics_Exception |
|
25 */ |
|
26 require_once 'Zend/Service/WindowsAzure/Diagnostics/Exception.php'; |
|
27 |
22 |
28 /** |
23 /** |
29 * @see Zend_Service_WindowsAzure_Diagnostics_ConfigurationObjectBaseAbstract |
24 * @see Zend_Service_WindowsAzure_Diagnostics_ConfigurationObjectBaseAbstract |
30 */ |
25 */ |
31 require_once 'Zend/Service/WindowsAzure/Diagnostics/ConfigurationObjectBaseAbstract.php'; |
26 require_once 'Zend/Service/WindowsAzure/Diagnostics/ConfigurationObjectBaseAbstract.php'; |
37 |
32 |
38 /** |
33 /** |
39 * @category Zend |
34 * @category Zend |
40 * @package Zend_Service_WindowsAzure |
35 * @package Zend_Service_WindowsAzure |
41 * @subpackage Diagnostics |
36 * @subpackage Diagnostics |
42 * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com) |
37 * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) |
43 * @license http://framework.zend.com/license/new-bsd New BSD License |
38 * @license http://framework.zend.com/license/new-bsd New BSD License |
44 * |
39 * |
45 * @property int BufferQuotaInMB Buffer quota in MB |
40 * @property int BufferQuotaInMB Buffer quota in MB |
46 * @property int ScheduledTransferPeriodInMinutes Scheduled transfer period in minutes |
41 * @property int ScheduledTransferPeriodInMinutes Scheduled transfer period in minutes |
47 * @property array Subscriptions Subscriptions |
42 * @property array Subscriptions Subscriptions |
70 * @param string $counterSpecifier Counter specifier |
65 * @param string $counterSpecifier Counter specifier |
71 * @param int $sampleRateInSeconds Sample rate in seconds |
66 * @param int $sampleRateInSeconds Sample rate in seconds |
72 */ |
67 */ |
73 public function addSubscription($counterSpecifier, $sampleRateInSeconds = 1) |
68 public function addSubscription($counterSpecifier, $sampleRateInSeconds = 1) |
74 { |
69 { |
|
70 |
75 $this->_data['subscriptions'][$counterSpecifier] = new Zend_Service_WindowsAzure_Diagnostics_PerformanceCounterSubscription($counterSpecifier, $sampleRateInSeconds); |
71 $this->_data['subscriptions'][$counterSpecifier] = new Zend_Service_WindowsAzure_Diagnostics_PerformanceCounterSubscription($counterSpecifier, $sampleRateInSeconds); |
76 } |
72 } |
77 |
73 |
78 /** |
74 /** |
79 * Remove subscription |
75 * Remove subscription |