1 write to servicePerformanceCounters
System.ServiceModel (1)
System\ServiceModel\Dispatcher\ServiceThrottle.cs (1)
217
this.
servicePerformanceCounters
= counters;
19 references to servicePerformanceCounters
System.ServiceModel (19)
System\ServiceModel\Dispatcher\ServiceThrottle.cs (19)
136
if (null != this.
servicePerformanceCounters
)
138
this.
servicePerformanceCounters
.SetThrottleBase((int)ServicePerformanceCounters.PerfCounters.CallsPercentMaxCallsBase, this.Calls.Capacity);
153
if (null != this.
servicePerformanceCounters
)
155
this.
servicePerformanceCounters
.SetThrottleBase((int)ServicePerformanceCounters.PerfCounters.SessionsPercentMaxSessionsBase, this.Sessions.Capacity);
170
if (null != this.
servicePerformanceCounters
)
172
this.
servicePerformanceCounters
.SetThrottleBase((int)ServicePerformanceCounters.PerfCounters.InstancesPercentMaxInstancesBase, this.InstanceContexts.Capacity);
191
if (this.
servicePerformanceCounters
!= null)
232
Fx.Assert(this.
servicePerformanceCounters
!= null, "expect servicePerformanceCounters to be set");
236
this.
servicePerformanceCounters
.SetThrottleBase((int)ServicePerformanceCounters.PerfCounters.InstancesPercentMaxInstancesBase, instanceContextsFt.Capacity);
242
Fx.Assert(this.
servicePerformanceCounters
!= null, "expect servicePerformanceCounters to be set");
246
this.
servicePerformanceCounters
.SetThrottleBase((int)ServicePerformanceCounters.PerfCounters.CallsPercentMaxCallsBase, this.calls.Capacity);
252
Fx.Assert(this.
servicePerformanceCounters
!= null, "expect servicePerformanceCounters to be set");
256
this.
servicePerformanceCounters
.SetThrottleBase((int)ServicePerformanceCounters.PerfCounters.SessionsPercentMaxSessionsBase, this.sessions.Capacity);
427
this.
servicePerformanceCounters
.IncrementThrottlePercent((int)ServicePerformanceCounters.PerfCounters.CallsPercentMaxCalls);
432
this.
servicePerformanceCounters
.DecrementThrottlePercent((int)ServicePerformanceCounters.PerfCounters.CallsPercentMaxCalls);
445
this.
servicePerformanceCounters
.IncrementThrottlePercent((int)ServicePerformanceCounters.PerfCounters.InstancesPercentMaxInstances);
450
this.
servicePerformanceCounters
.DecrementThrottlePercent((int)ServicePerformanceCounters.PerfCounters.InstancesPercentMaxInstances);
463
this.
servicePerformanceCounters
.IncrementThrottlePercent((int)ServicePerformanceCounters.PerfCounters.SessionsPercentMaxSessions);
468
this.
servicePerformanceCounters
.DecrementThrottlePercent((int)ServicePerformanceCounters.PerfCounters.SessionsPercentMaxSessions);