Service/WindowsAzure/Diagnostics/Manager.php

Show: PublicProtectedPrivateinherited
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 [email protected] so we can send you a copy immediately.
Category
Zend  
Copyright
Copyright (c) 2005-2014 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-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Properties

>VPropertyprotected\Zend_Service_WindowsAzure_Storage_Blob $_blobStorageClient = null
Blob storage client
Default valuenullDetails
Type
\Zend_Service_WindowsAzure_Storage_Blob
>VPropertyprotectedstring $_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
NameTypeDescription
$blobStorageClient\Zend_Service_WindowsAzure_Storage_Blob

Blob storage client

$controlContainerstring

Control container name

methodprotected_ensureStorageInitialized() : void

Ensure storage has been initialized

methodprotected_getCurrentRoleInstanceId() : string

Get the current role instance ID. Only works on Development Fabric or Windows Azure Fabric.

Returns
TypeDescription
string
Throws
ExceptionDescription
\Zend_Service_WindowsAzure_Diagnostics_Exception
methodpublicconfigurationForCurrentRoleInstanceExists() : boolean

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

Returns
TypeDescription
boolean
Throws
ExceptionDescription
\Zend_Service_WindowsAzure_Diagnostics_Exception
methodpublicconfigurationForRoleInstanceExists(string $roleInstance = null) : boolean

Checks if a configuration for a specific role instance exists.

Parameters
NameTypeDescription
$roleInstancestring

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

Returns
TypeDescription
boolean
Throws
ExceptionDescription
\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
NameTypeDescription
$roleInstancestring

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

Returns
TypeDescription
\Zend_Service_WindowsAzure_Diagnostics_ConfigurationInstance
Throws
ExceptionDescription
\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
NameTypeDescription
$configuration\Zend_Service_WindowsAzure_Diagnostics_ConfigurationInstance

Configuration to apply

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

Set configuration for a specific role instance

Parameters
NameTypeDescription
$roleInstancestring

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

$configuration\Zend_Service_WindowsAzure_Diagnostics_ConfigurationInstance

Configuration to apply

Throws
ExceptionDescription
\Zend_Service_WindowsAzure_Diagnostics_Exception
Documentation was generated by phpDocumentor 2.2.0 .