(C#) How to know when a cluster finished Start()
Posted: 07 Jan 2019, 16:23
Hi Karol,
when I`m starting a cluster in a C# programm by calling the Start() method, is there a ClusterState or indicator that the start process was finished? Currently I`m listening to the ClusterState changed event. So first status will be ErrorOffline. If Ventuz isn`t running because it`s still starting the next status is ErrorDisconnected and after some seconds it is reporting Ok.
I know that this ClusterState changed event will be fired whenever something is happen, but is there any idicator that the cluster has finished his startup process?
Thanks,
Anton
when I`m starting a cluster in a C# programm by calling the Start() method, is there a ClusterState or indicator that the start process was finished? Currently I`m listening to the ClusterState changed event. So first status will be ErrorOffline. If Ventuz isn`t running because it`s still starting the next status is ErrorDisconnected and after some seconds it is reporting Ok.
I know that this ClusterState changed event will be fired whenever something is happen, but is there any idicator that the cluster has finished his startup process?
Thanks,
Anton