IPsQueueItemDescriptor.cs 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. using Quadarax.Foundation.Core.Data;
  2. namespace qdr.fnd.core.pqueue
  3. {
  4. public interface IPsQueueItemDescriptor
  5. {
  6. /// <summary>
  7. /// Holds information about the owner (type of owner) of the queue item.
  8. /// </summary>
  9. public string Owner { get; }
  10. /// <summary>
  11. /// Holds information about the owner identifier (reference number).
  12. /// </summary>
  13. public string OwnerRef { get; }
  14. /// <summary>
  15. /// Priority of the queue item. Lower number means higher priority.
  16. /// </summary>
  17. int Priority { get; }
  18. /// <summary>
  19. /// Date and time when the queue item will be possibly processed.
  20. /// </summary>
  21. DateTime ValidFrom { get; }
  22. /// <summary>
  23. /// Date and time when the queue item will be expired. If null, the queue item will never expire.
  24. /// </summary>
  25. DateTime? ValidTo { get; }
  26. /// <summary>
  27. /// Defines initial number of attempts left to process the queue item. When item will be reset uses this value.
  28. /// </summary>
  29. int AtteptsInitial { get; }
  30. /// <summary>
  31. /// Class name of the process executing provider.
  32. /// </summary>
  33. string ProcessProviderClass { get; }
  34. /// <summary>
  35. /// Collection of input and output attributes of current process.
  36. /// </summary>
  37. IEnumerable<ITypedArgument> Arguments { get; }
  38. }
  39. }