namespace qdr.fnd.core.pqueue.Enums
{
public enum PsStatusEnum : int
{
///
/// Initial status of the queue item.
/// This state can be moved to states:
///
New = 0,
///
/// Enqueued item waiting for processing.
/// This state can be moved to states: ,
///
Pending = 1,
///
/// Item started to processing.
/// This state can be moved to states: , ,
/// , ,
///
Started = 2,
///
/// Item is paused in processing and can be resumed with postponed time.
/// This state can be moved to states: , ,
///
Paused = 3,
///
/// Item is stopped in processing and cannot be resumed.
/// This state can be moved to states: ,
///
Stopped = 4,
///
/// Item is successfully processed. Final logical state.
/// This state can be moved to states:
///
DoneOk = 5,
///
/// Item is failed in processing. Final logical state.
/// This state can be moved to states:
///
DoneFailed = 6,
///
/// Item is expired and ready to delete.
/// This state can be moved to states:
///
Expired = 7,
///
/// Item is ready to physical delete.
/// This state technical final state.
///
Deleted = 8
}
}