public void ExecuteAsync(AsyncMysqlCommand command)
        {
            if (mShuttingDown)
                throw new Exception("MysqlQueryManager is shutting down. No more queries accepted");

            mCommandQueue.Enqueue(command);
        }
 public void ExecuteSync(AsyncMysqlCommand command)
 {
     this.ExecuteAsync(command);
     command.WaitForCompletion();
 }