예제 #1
0
 public static void LimitMessageProcessingConcurrencyTo(this TimeoutManagerConfiguration timeoutManagerConfiguration, int maxConcurrency)
 {
     throw new NotImplementedException();
 }
예제 #2
0
 /// <summary>
 /// Configures the allowed number of concurrent messages for the timeout manager's satellite queues. The default value is specified in <see cref="PushRuntimeSettings.Default"/>.
 /// </summary>
 /// <param name="timeoutManagerConfiguration">The settings to extend.</param>
 /// <param name="maxConcurrency">The maximum number of processed messages per satellite queue.</param>
 public static void LimitMessageProcessingConcurrencyTo(this TimeoutManagerConfiguration timeoutManagerConfiguration, int maxConcurrency)
 {
     Guard.AgainstNull(nameof(timeoutManagerConfiguration), timeoutManagerConfiguration);
     timeoutManagerConfiguration.settings.Set(TimeoutManagerMaxConcurrencySettingsKey, new PushRuntimeSettings(maxConcurrency));
 }
예제 #3
0
 /// <summary>
 /// Configures the allowed number of concurrent messages for the timeout manager's satellite queues. The default value is specified in <see cref="PushRuntimeSettings.Default"/>.
 /// </summary>
 /// <param name="timeoutManagerConfiguration">The settings to extend.</param>
 /// <param name="maxConcurrency">The maximum number of processed messages per satellite queue.</param>
 public static void LimitMessageProcessingConcurrencyTo(this TimeoutManagerConfiguration timeoutManagerConfiguration, int maxConcurrency)
 {
     timeoutManagerConfiguration.settings.Set(TimeoutManagerMaxConcurrencySettingsKey, new PushRuntimeSettings(maxConcurrency));
 }