/
vshmidt
/
masstransit
Обзор
Документация
Войти
/
vshmidt
/
masstransit
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
develop
src/MassTransit/JobService/JobTypeInfo.cs
34 строки
932 B
Chris Patterson
Fixes after trying out the sample with the latest
04 окт 2024, 01:31
04 окт 2024, 01:31
c81f850
Код
Авторство
О чём код?
#nullable enable namespace MassTransit; using System; using System.Collections.Generic; public interface JobTypeInfo { /// <summary> /// The job type name, supplied by the job consumer /// </summary> string Name { get; } /// <summary> /// Set the concurrent job limit. The limit is applied to each instance if the job consumer is scaled out. /// </summary> int ConcurrentJobLimit { get; } /// <summary> /// Job properties configured by <see cref="JobOptions{TJob}" /> /// </summary> IReadOnlyDictionary<string, object> Properties { get; } /// <summary> /// Currently active jobs for this job type across all instances /// </summary> IReadOnlyList<ActiveJob> ActiveJobs { get; } /// <summary> /// Currently active instances for this job type, that aren't suspect/dead /// </summary> IReadOnlyDictionary<Uri, JobTypeInstance> Instances { get; } }