C# Class Microsoft.WindowsAzure.Commands.Utilities.CloudService.CacheConfigurationFactory

Afficher le fichier Open project: AzureRT/azure-sdk-tools

Private Properties

Свойство Type Description
AddCacheConfiguration void
AddClientDiagnosticLevelToConfig void
CacheClientCommonConfiguration void
CacheClientRole180 void
CacheRole180 void
CacheWorkerRole180 void
UpdateWebConfig void

Méthodes publiques

Méthode Description
GetCacheRoleConfigurationAction ( string version ) : RoleInfo>.Action

Gets the configuration action to enable dedicated caching on a role for the given SDK version.

GetClientRoleConfigurationAction ( string version ) : Action

Gets the configuration action to enable using dedicated caching on a role for the given SDK version.

Private Methods

Méthode Description
AddCacheConfiguration ( RoleSettings cacheRoleSettings, string connectionString = "" ) : void
AddClientDiagnosticLevelToConfig ( RoleSettings roleSettings ) : void
CacheClientCommonConfiguration ( CloudServiceProject cloudServiceProject, string roleName, bool isWebRole, string cacheWorkerRole, Startup startup, Endpoints endpoints, LocalResources localResources, Common.XmlSchema.ServiceDefinitionSchema.ConfigurationSetting &configurationSettings ) : void
CacheClientRole180 ( CloudServiceProject cloudServiceProject, string roleName, string cacheWorkerRoleName ) : void

Configuration action to enable using dedicated caching on the client role.

CacheRole180 ( string rootPath, RoleInfo cacheRoleInfo ) : void

Configuration required to enable dedicated caching on a given role.

CacheWorkerRole180 ( string rootPath, RoleInfo cacheRoleInfo ) : void
UpdateWebConfig ( string roleName, string cacheWorkerRoleName, string webConfigPath ) : void

Updates the web.cloud.config with to auto-discover the cache role.

Method Details

GetCacheRoleConfigurationAction() public static méthode

Gets the configuration action to enable dedicated caching on a role for the given SDK version.
public static GetCacheRoleConfigurationAction ( string version ) : RoleInfo>.Action
version string The SDK version
Résultat RoleInfo>.Action

GetClientRoleConfigurationAction() public static méthode

Gets the configuration action to enable using dedicated caching on a role for the given SDK version.
public static GetClientRoleConfigurationAction ( string version ) : Action
version string The SDK version
Résultat Action