Exemple #1
0
 private void Handle(ClusterRemovingServerEvent @event)
 {
     Debug(TraceSourceEventHelper.ClusterIdBase + 6, "{0}: removing server {1}. Reason: {2}", TraceSourceEventHelper.Label(@event.ServerId.ClusterId), TraceSourceEventHelper.Format(@event.ServerId), @event.Reason);
 }
Exemple #2
0
 private void Handle(ClusterRemovedServerEvent @event)
 {
     Info(TraceSourceEventHelper.ClusterIdBase + 7, "{0}: removed server {1} in {2}ms. Reason: {3}", TraceSourceEventHelper.Label(@event.ServerId.ClusterId), TraceSourceEventHelper.Format(@event.ServerId), @event.Duration.TotalMilliseconds, @event.Reason);
 }
Exemple #3
0
 private void Handle(ClusterAddedServerEvent @event)
 {
     Debug(TraceSourceEventHelper.ClusterIdBase + 5, "{0}: added server {1} in {2}ms.", TraceSourceEventHelper.Label(@event.ServerId.ClusterId), TraceSourceEventHelper.Format(@event.ServerId), @event.Duration.TotalMilliseconds);
 }
Exemple #4
0
 private void Handle(ClusterAddingServerEvent @event)
 {
     Info(TraceSourceEventHelper.ClusterIdBase + 4, "{0}: adding server at endpoint {1}.", TraceSourceEventHelper.Label(@event.ClusterId), TraceSourceEventHelper.Format(@event.EndPoint));
 }
Exemple #5
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);
 }
Exemple #6
0
 private void Handle(ConnectionPoolCheckingInConnectionEvent @event)
 {
     Debug(TraceSourceEventHelper.ConnectionPoolIdBase + 11, "{0}-pool: checking in connection {1}.", TraceSourceEventHelper.Label(@event.ConnectionId.ServerId), TraceSourceEventHelper.Format(@event.ConnectionId));
 }
Exemple #7
0
 private void Handle(ConnectionPoolRemovingConnectionEvent @event)
 {
     Debug(TraceSourceEventHelper.ConnectionPoolIdBase + 6, "{0}-pool: removing connection {1}.", TraceSourceEventHelper.Label(@event.ConnectionId.ServerId), TraceSourceEventHelper.Format(@event.ConnectionId));
 }