Logo Search packages:      
Sourcecode: pan version File versions

Possible health states of a Task.

Enumerator:
OK  OK -- No error yet
RETRY  Task failed for a transient reason like network failure. The queue should leave this task as it is so that it can retry itself when the network clears up.
FAIL  Task failed for a non-transient reason, such as the article has expired from the news server The queue should stop the task and let the user decide what to do.

Definition at line 30 of file health.h.

   {
      /** OK -- No error yet */
      OK =  0,

      /** Task failed for a transient reason like network failure.
          The queue should leave this task as it is so that it
          can retry itself when the network clears up. */
      RETRY = -1,

      /** Task failed for a non-transient reason, such as
          the article has expired from the news server
          The queue should stop the task and let the user
          decide what to do. */
      FAIL = -2
   };


Generated by  Doxygen 1.6.0   Back to index