public DynamicRoleInstanceHealthPolicyManager(WindowsAzureInfrastructureCoordinator coordinator) { coordinator.ThrowIfNull("coordinator"); healthPolicies.Add(new RoleInstanceStatusMapHealthPolicy(coordinator.ConfigStore, coordinator.ConfigSectionName)); healthPolicies.Add(new RoleInstanceStatusMaxAllowedHealthPolicy(coordinator.ConfigStore, coordinator.ConfigSectionName)); }
public RoleInstanceHealthWatchdog(WindowsAzureInfrastructureCoordinator coordinator) { coordinator.ThrowIfNull("coordinator"); this.coordinator = coordinator; healthPolicyManager = new DynamicRoleInstanceHealthPolicyManager(coordinator); }
public RoleInstanceHealthWatchdogFactory(WindowsAzureInfrastructureCoordinator coordinator) { coordinator.ThrowIfNull("coordinator"); this.coordinator = coordinator; }