private void Handle(ConnectionPoolCheckedInConnectionEvent @event)
        {
            ConnectionPoolPerformanceRecorder recorder;

            if (_connectionPoolRecorders.TryGetValue(@event.ServerId, out recorder))
            {
                recorder.ConnectionCheckedIn();
            }
        }
Esempio n. 2
0
 private void Handle(ConnectionPoolCheckedInConnectionEvent @event)
 {
     Debug(TraceSourceEventHelper.ConnectionPoolIdBase + 12, "{0}-pool: checked in connection {1} in {2}ms.", TraceSourceEventHelper.Label(@event.ConnectionId.ServerId), TraceSourceEventHelper.Format(@event.ConnectionId), @event.Duration.TotalMilliseconds);
 }