Skip to content

Conversation

gs-rchejerla
Copy link

Hi Jordan Zimmerman,

Adding "Graceful shutdown" feature, kindly review.
If it seems fine, please accept the pull request.

Thanks & Regards,
Rajesh.

try {
executorService.awaitTermination(timeOut, timeUnit);
} catch (InterruptedException e) {
log.error("Exception occurred while waiting for running tasks to complete", e);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add a call to Thread.currentThread().interrupt() (see: http://www.javapractices.com/topic/TopicAction.do?Id=251)

@gs-rchejerla
Copy link
Author

Added call to Thread.currentThread().interrupt()

Thanks for review.

@Randgalt
Copy link
Contributor

Do you mind writing a test to prove this?

@Randgalt
Copy link
Contributor

Randgalt commented Aug 2, 2016

ping @gs-rchejerla

@gs-rchejerla
Copy link
Author

Sorry, caught up with some work, will write test case ASAP.

@Randgalt
Copy link
Contributor

merged

@Randgalt Randgalt closed this Feb 12, 2018
@Randgalt Randgalt reopened this Feb 12, 2018
@Randgalt
Copy link
Contributor

@dtoledo67 or @JimBugwadia will you release or do I need to?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants