Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve the AbstracAuditor to allow implementation better handle the InterruptedException #67

Merged
merged 1 commit into from
Sep 26, 2017

Conversation

becketqin
Copy link
Contributor

No description provided.

Copy link
Contributor

@radai-rosenblatt radai-rosenblatt left a comment

Choose a reason for hiding this comment

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

i think it'll be better if:

  1. tick() sets a semaphore off when its done
  2. close waits for any running tick()s to be done within timeout (which close() knows)
  3. after waiting close() may interrupt() ticks
  4. default tick implementations dont need to be aware of shutdown timeouts at all

@becketqin becketqin force-pushed the abstract_auditor_improvement branch from 9a7e299 to 70082d5 Compare September 26, 2017 18:30
Copy link
Contributor

@radai-rosenblatt radai-rosenblatt left a comment

Choose a reason for hiding this comment

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

lgtm

@becketqin becketqin merged commit 785c870 into linkedin:master Sep 26, 2017
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