Ejemplo n.º 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));
        }
Ejemplo n.º 2
0
        public RoleInstanceHealthWatchdog(WindowsAzureInfrastructureCoordinator coordinator)
        {
            coordinator.ThrowIfNull("coordinator");

            this.coordinator = coordinator;

            healthPolicyManager = new DynamicRoleInstanceHealthPolicyManager(coordinator);
        }
Ejemplo n.º 3
0
        public RoleInstanceHealthWatchdogFactory(WindowsAzureInfrastructureCoordinator coordinator)
        {
            coordinator.ThrowIfNull("coordinator");

            this.coordinator = coordinator;
        }