CqlSharp.CqlConnection.ShutdownAll C# (CSharp) Метод

ShutdownAll() публичный статический Метод

Shutdowns all interactions with all known clusters
This will close all open connection, and thereby fail all ongoing cql operations.
public static ShutdownAll ( ) : void
Результат void
        public static void ShutdownAll()
        {
            foreach(var cluster in Clusters.Values)
            {
                var logger = cluster.LoggerManager.GetLogger("CqlSharp.CqlConnection.ShutdownAll");
                using(logger.ThreadBinding())
                {
                    cluster.Dispose();
                }
            }
        }