Added code to record task completion when process is terminated gracefully

Updated per code review

Updates for merge
This commit is contained in:
Michael Minella
2016-07-25 13:37:02 -05:00
committed by Glenn Renfro
parent d6c36ee559
commit 172f4b957a
2 changed files with 17 additions and 4 deletions

View File

@@ -101,6 +101,9 @@ map uncaught exceptions to exit codes. This allows you to be able to indicate a
level what went wrong. Also, by mapping exit codes in this manner, Spring Cloud Task will
record the exit code returned.
If the task is terminated with a SIG-INT or a SIG-TERM, the exit code will be zero unless
otherwise specified within the code.
NOTE: While the task is running the exit code will be stored as a null in the repository.
Once complete the appropriate exit code will be stored based on the guidelines enumerated
above.