public void Dispose() { Console.WriteLine("Stopping Cloud Controller services..."); if (dashboardHost != null) { dashboardHost.Close(TimeSpan.FromSeconds(60)); } Console.WriteLine("Cloud Controller stopped."); }
public void Dispose() { Console.WriteLine("Stopping Load Balancer Controller services..."); if (gridServiceHost != null) { gridServiceHost.Close(); } if (dashboardServiceHost != null) { dashboardServiceHost.Close(); } if (loadBalancerWebServiceHost != null) { loadBalancerWebServiceHost.Close(); } Console.WriteLine("Node Controller stopped."); }
public void Dispose() { Console.WriteLine("Un-Subscribing from Application Grid..."); UnSubscribeFromApplicationGrid(); Console.WriteLine("Stopping Node Controller services..."); if (gridHost != null) { gridHost.Close(); } if (ncApFileReceiveSocket != null) { ncApFileReceiveSocket.Close(); } Console.WriteLine("Stopping web servers..."); StopWebServerProcesses(); Console.WriteLine("Node Controller stopped."); }
public void Dispose() { Console.WriteLine("Stopping Application Grid services..."); if (cloudControllerHost != null) { cloudControllerHost.Close(TimeSpan.FromSeconds(60)); } if (nodeControllerHost != null) { nodeControllerHost.Close(TimeSpan.FromSeconds(60)); } if (ccFileReceiveSocket != null) { ccFileReceiveSocket.Close(); } if (scalingManagerThread != null) { scalingManagerThread.Abort(); } Console.WriteLine("Application Grid stopped."); }