示例#1
0
        public DynamicRoleInstanceHealthPolicyManager(WindowsAzureInfrastructureCoordinator coordinator)
        {
            coordinator.ThrowIfNull("coordinator");

            healthPolicies.Add(new RoleInstanceStatusMapHealthPolicy(coordinator.ConfigStore, coordinator.ConfigSectionName));
            healthPolicies.Add(new RoleInstanceStatusMaxAllowedHealthPolicy(coordinator.ConfigStore, coordinator.ConfigSectionName));
        }
示例#2
0
        public RoleInstanceHealthWatchdog(WindowsAzureInfrastructureCoordinator coordinator)
        {
            coordinator.ThrowIfNull("coordinator");

            this.coordinator = coordinator;

            healthPolicyManager = new DynamicRoleInstanceHealthPolicyManager(coordinator);
        }
示例#3
0
        public RoleInstanceHealthWatchdogFactory(WindowsAzureInfrastructureCoordinator coordinator)
        {
            coordinator.ThrowIfNull("coordinator");

            this.coordinator = coordinator;
        }