API Documentation

Zend/Service/WindowsAzure/Diagnostics/Manager.php

Show: inherited
Table of Contents

Zend Framework

LICENSE

This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.

Category
Zend  
Copyright
Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_Service_WindowsAzure  
Subpackage
Diagnostics  
Version
$Id$  

\Zend_Service_WindowsAzure_Diagnostics_Manager

Package: Zend\Service\WindowsAzure\Diagnostics

Category
Zend  
Copyright
Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Properties

Propertyprotected\Zend_Service_WindowsAzure_Storage_Blob  $_blobStorageClient= 'null'

Blob storage client

Default valuenullDetails
Type
\Zend_Service_WindowsAzure_Storage_Blob
Propertyprotectedstring  $_controlContainer= ''''

Control container name

Default value''Details
Type
string

Methods

methodpublic__construct( \Zend_Service_WindowsAzure_Storage_Blob $blobStorageClient = null, string $controlContainer = 'wad-control-container' ) : void

Create a new instance of Zend_Service_WindowsAzure_Diagnostics_Manager

Parameters
Name Type Description
$blobStorageClient \Zend_Service_WindowsAzure_Storage_Blob

Blob storage client

$controlContainer string

Control container name

methodprotected_ensureStorageInitialized( ) : void

Ensure storage has been initialized

methodpublicconfigurationForCurrentRoleInstanceExists( ) : boolean

Checks if a configuration for current role instance exists. Only works on Development Fabric or Windows Azure Fabric.

Returns
Type Description
boolean
Throws
Exception Description
\Zend_Service_WindowsAzure_Diagnostics_Exception
methodpublicconfigurationForRoleInstanceExists( string $roleInstance = null ) : boolean

Checks if a configuration for a specific role instance exists.

Parameters
Name Type Description
$roleInstance string

Role instance name, can be found in $_SERVER['RdRoleId'] when hosted on Windows Azure.

Returns
Type Description
boolean
Throws
Exception Description
\Zend_Service_WindowsAzure_Diagnostics_Exception
methodpublicgetConfigurationForCurrentRoleInstance( ) : \Zend_Service_WindowsAzure_Diagnostics_ConfigurationInstance

Get configuration for current role instance. Only works on Development Fabric or Windows Azure Fabric.

methodpublicgetConfigurationForRoleInstance( string $roleInstance = null ) : \Zend_Service_WindowsAzure_Diagnostics_ConfigurationInstance

Get configuration for a specific role instance

Parameters
Name Type Description
$roleInstance string

Role instance name, can be found in $_SERVER['RdRoleId'] when hosted on Windows Azure.

Returns
Type Description
\Zend_Service_WindowsAzure_Diagnostics_ConfigurationInstance
Throws
Exception Description
\Zend_Service_WindowsAzure_Diagnostics_Exception
methodpublicgetDefaultConfiguration( ) : \Zend_Service_WindowsAzure_Diagnostics_ConfigurationInstance

Get default configuration values

methodpublicsetConfigurationForCurrentRoleInstance( \Zend_Service_WindowsAzure_Diagnostics_ConfigurationInstance $configuration ) : void

Set configuration for current role instance. Only works on Development Fabric or Windows Azure Fabric.

Parameters
Name Type Description
$configuration \Zend_Service_WindowsAzure_Diagnostics_ConfigurationInstance

Configuration to apply

Throws
Exception Description
\Zend_Service_WindowsAzure_Diagnostics_Exception
methodpublicsetConfigurationForRoleInstance( string $roleInstance = null, \Zend_Service_WindowsAzure_Diagnostics_ConfigurationInstance $configuration ) : void

Set configuration for a specific role instance

Parameters
Name Type Description
$roleInstance string

Role instance name, can be found in $_SERVER['RdRoleId'] when hosted on Windows Azure.

$configuration \Zend_Service_WindowsAzure_Diagnostics_ConfigurationInstance

Configuration to apply

Throws
Exception Description
\Zend_Service_WindowsAzure_Diagnostics_Exception
Documentation was generated by DocBlox 0.15.1.