| 12345678910111213141516171819202122232425262728293031 |
- using Quadarax.Application.QLiberace.Common.Attributes;
- using Quadarax.Application.QLiberace.Common.Settings;
- using Quadarax.Application.QLiberace.Processor.Workers;
- namespace Quadarax.Application.QLiberace.Processor.Settings
- {
- [Module(Base.Constants.Modules.Processor.Code)]
- public class ProcessorSetting : ModuleSetting
- {
- /// <summary>
- /// Defines number of <see cref="ComplexWorker"/> working parallel
- /// </summary>
- public int Workers { get; set; }
- /// <summary>
- /// Defines number of <see cref="ExecutingWorker"/> working under one instance of <see cref="ComplexWorker"/>
- /// </summary>
- public int ExecutingThreadsPerWorker { get; set; }
- /// <summary>
- /// Defines number of <see cref="ProcessingWorker"/> working under one instance of <see cref="ComplexWorker"/>
- /// </summary>
- public int ProcessingThreadsPerWorker { get; set; }
- /// <summary>
- /// Defines number of <see cref="GarbageWorker"/> working under one instance of <see cref="ComplexWorker"/>
- /// </summary>
- public int GarbageThreadsPerWorker { get; set; }
- /// <summary>
- /// Defines number of <see cref="RetentionWorker"/> working under one instance of <see cref="ComplexWorker"/>
- /// </summary>
- public int RetentionThreadsPerWorker { get; set; }
- }
- }
|