Beispiel #1
0
        public Service(IQueryServer server)
        {
            server_ = server;
            start_stop_service_event_ = new ManualResetEvent(false);
            logger_ = RestQLLogger.ForCurrentProcess;

            // Initialize metricss.
            requests_timer_ = AppMetrics.GetTimer(GetType(), "requests",
                                                  TimeUnit.Miliseconds);
        }