| 1234567891011121314151617181920212223242526272829303132333435363738 |
- namespace Quadarax.Application.QLiberace.Processor.Enums
- {
- public enum QueueStatusEnum
- {
- /// <summary>
- /// Task is active pending to process, not yet assigned to worker. Initial state
- /// </summary>
- Pending = 0,
- /// <summary>
- /// Task is assigned to worker
- /// </summary>
- Assigned = 1,
- /// <summary>
- /// Task is processing by worker
- /// </summary>
- Working = 2,
- /// <summary>
- /// Task is done with success
- /// </summary>
- Success = 3,
- /// <summary>
- /// Task is done with error
- /// </summary>
- Failed = 4,
- /// <summary>
- /// Task is expired by error or attempts
- /// </summary>
- Expired = 5,
- /// <summary>
- /// Task is mark for deletion
- /// </summary>
- Deleted = 6,
- /// <summary>
- /// Task is inactive, not included for processing or deleting
- /// </summary>
- Disabled = 7
- }
- }
|